[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lilo and serial console



井上です。

blinuxでliloのプロンプトをシリアルに出させるという話が出ていたので、転送
します。これはHDDベースの話で、/etc/lilo.confに設定しておくとliloがシリ
アルにメッセージを出すよというだけの話っぽいです。



From: Alessandro Rubini <rubini@...>

>> I used
>> 	serial=0,9600n8
>> to make it work on ttyS0 (the one called com1 by dos).
 
> I read this thread like that I can boot Linux boot disks with serial
> console with
>    serial=0,9600n8
> input to lilo prompt.
> Is it true?

No. It must go into /etc/lilo.conf, before you install lilo (== before
you invoke the /sbin/lilo command).

This is the lilo.conf I am using:

	linear
	boot=/dev/hda
	delay=30
	serial=0,9600n8
	image=/zImage
	  root=/dev/hda1
	  label=linux
	  read-only

This should answer Janina's question too.

> I use FreeBSD at home, which gives serial console support built in
> the kernel loader, which can be activated with the input '-h' at the
> kernel boot prompt.

I don't think you can enable serial support at the lilo prompt, you
must do it in advance. With the serial= option it will prompt both at
the keyboard and at the serial port.

/alessandro




-- 
                    Koichi Inoue, ARGV
                    E-Mail: inoue@...