ぺんぎん戦記
   Linux&Solaris活動日記。でもメイン使用はMacOSX。
  >> ホーム
  >> RSS1.0
カテゴリー

 

Windowsも勉強しよう

最近の記事

過去記事

全ての記事を表示する

検索


最近のコメント

最近のトラックバック

 


アクセスアップにオートリンクネット リンクが自動で増殖オートリンクの登録はこちら

シリアルコンソール時のgrub.confのサンプル
/etc/grub.confのサンプル

シリアルコンソールとモニターの併用をするには
terminal --timeout=10 serial console
としてkernelのパラメーターも
kernel /vmlinuz-2.6.9-34.ELsmp ro root=LABEL=/ console=tty0 console=ttyS0,9600n8r
とかしたらハッピーになれます。
grubの起動に10秒待って、その間にキーボード入力があれば
console(=モニター)へ、タイムアウトしたら serialへ出力、って感じです。



# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/cciss/c0d0p3
# initrd /initrd-version.img
#boot=/dev/cciss/c0d0
default=0
timeout=5
#splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1
terminal serial
#
title Red Hat Enterprise Linux ES (2.6.9-34.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.6.9-34.ELsmp ro root=LABEL=/ console=ttyS0,9600n8r
initrd /initrd-2.6.9-34.ELsmp.img
title Red Hat Enterprise Linux ES-up (2.6.9-34.EL)
root (hd0,0)
kernel /vmlinuz-2.6.9-34.EL ro root=LABEL=/ console=ttyS0,9600n8r
initrd /initrd-2.6.9-34.EL.img


テーマ:UNIX/Linux - ジャンル:コンピュータ

Linux | 固定リンク | トラックバック:0 | レス:0
(2006/06/05(月) 17:22)

<<シリアルコンソール時のinittabのサンプル | ホーム | MacBookだ!>>

コメント
コメントの投稿

管理者にだけ表示を許可する

トラックバック
トラックバックURLはこちら
http://spacesheriffsharivan.blog9.fc2.com/tb.php/31-9f172bd8
この記事にトラックバックする(FC2ブログユーザー)

copyright © 2005 ぺんぎん戦記 all rights reserved.
Powered by FC2ブログ. / PHPウェブログシステム3 / ネットマニア
無料ホームページ アフィリエイト レンタルサーバー FC2ブログ 一戸建て