[olug] serial redirect

Derek & Lisa lug at robotz.com
Wed Sep 10 19:35:29 UTC 2003


I can get kernel boot messages to redirect when using lilo.  It is when I use 
grub that I can't see the kernel messages.

Here is how I do it with lilo,

lilo.conf:

prompt
timeout=50
message=/boot/message
serial=0,19200n8
append="console=ttyS0,19200n8"
(etc ...)

To use the serial console vi /etc/mgetty+sendfax/mgetty.config

port ttyS0
  direct y
  speed 19200
  toggle-dtr n



On Wednesday 10 September 2003 11:58 am, Kenton Brede wrote:
> I've configured a serial port on one of my linux boxes to listen for a
> terminal.  I can log in fine.  All works well, except, I can't seem to
> redirect the kernel boot messages to the serial port.  From what I've
> read this is accomplished by adding append="console=ttyS0,9600n8" to
> lilo.conf.  Yes I ran lilo.  At any rate this is all I get when I reboot
> from the terminal -
>
> #############################################################
> [slock:~]# reboot
>
> Broadcast message from root (ttyS0) (Wed Sep 10 11:04:05 2003):
>
> The system is going down for reboot NOW!
> [slock:~]#
> LILO 22.5.6.1 boot:
> Loading Linux....................
> BIOS data check successful
>
> Debian GNU/Linux testing/unstable slock ttyS0
>
> slock login:
> ##############################################################
>
> Here is my lilo.conf file -
>
> boot=/dev/hda
> root=/dev/hda1
> install=/boot/boot-menu.b
> map=/boot/map
> prompt
> default=Linux
> # sends lilo prompt to serial port
> serial=0,9600n8
> imeout=100
> restricted
> password=whatever
>
> image=/boot/vmlinuz
>         label=Linux
>         read-only
> append="console=ttyS0,9600n8"
>
> I've checked my bios setting and don't see anything in there that would
> help with this.  Any thoughts?
> Thanks,
> kent



More information about the OLUG mailing list