SDB:SerialConsole

Jump to: navigation, search

Configuring a Remote Serial Console for openSUSE


Appending following arguments at the end of the kernel entry on boot screen console=tty0 console=ttyS0,115200 should do the trick for most of users.

There is a slight difference in between Xen and non-Xen (most of cases) hosts.

Non-Xen

A sample /boot/grub/menu.lst file illustrating these changes:

#color white/blue black/light-gray
default 0
timeout 8
#gfxmenu (hd0,1)/boot/message
serial --unit=0 --speed=115200
terminal --timeout=15 serial console
title Linux ! SERIAL CONSOLE !
kernel (hd0,1)/boot/vmlinuz root=/dev/sda3 selinux=0 splash=0 resume=/dev/sda1 showopts elevator=cfq vga=791 
console=tty0 console=ttyS0,115200
initrd (hd0,1)/boot/initrd

Xen

A sample /boot/grub/menu.lst file illustrating these changes:
#color white/blue black/light-gray
default 0
timeout 8
#gfxmenu (hd1,0)/boot/message
serial --unit=0 --speed=115200
terminal --timeout=15 serial console
title Linux - Xen ! SERIAL CONSOLE !
kernel (hd0,1)/boot/xen.gz console=vga,com1 com1=115200
module (hd0,1)/boot/vmlinuz root=/dev/sda3 console=tty0 console=xvc0,115200
module (hd0,1)/boot/initrd

Further documentation and source of this article can be found here https://www.suse.com/support/kb/doc/?id=000017824