linux serial console

From thelinuxwiki
Jump to: navigation, search

Contents

/etc/inittab file config

make sure the two serial console lines are uncommented

# SERIAL CONSOLES
s0:12345:respawn:/sbin/agetty -L 115200 ttyS0 vt100
s1:12345:respawn:/sbin/agetty -L 115200 ttyS1 vt100


legacy grub (0.97 version) config

add console info (in bold below) to kernel line(s) of menu.lst

title=Gentoo Linux (3.10.17-gentoo)
root (hd0,0)
kernel /boot/vmlinuz root=/dev/sda3 console=ttyS0,115200 console=tty0
initrd /boot/initramfs


problem

I am missing the kernel boot messages between the two lines below. I can see what should be there on the monitor, but not on the serial. Not sure what I am doing wrong...

Freeing unused kernel memory: 816k freed
...
This is mylinuxbox.unknown_domain (Linux x86_64 3.10.17-gentoo) 07:15:10

mylinuxbox login:

links

kernel.org guide

gentoo-wiki.info - HOWTO_Linux_serial_console