It seems as if /etc/inittab has undergone some changes. That doesn't seem to be related to my issues however. I am able to setup the grub.conf ( menu.lst if you like ) to use the serial console ttyS0 at 9600 baud and the usual bits.
However I can not actually see the GRUB menu at boot time. I see nothing until the server begins to boot and then I can see everything. However the grub menu is absent entirely.
My config looks like so :
# grep -v "^#" /boot/grub/grub.conf default=0 timeout=30 serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1 terminal -timeout=30 serial console title CentOS (2.6.32-71.el6.x86_64) root (hd0,0) kernel /vmlinuz-2.6.32-71.el6.x86_64 ro root=UUID=2396ae8a-7eaa-4690-8701-10fb1b604e21 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb console=tty0 console=ttyS0,9600n8 initrd /initramfs-2.6.32-71.el6.x86_64.img
Everything runs fine, however the GRUB menu is no where to be seen at boot time. Any ideas ?
Dennis
On Sun, Nov 20, 2011 at 02:13:13PM -0500, Dennis Clarke wrote:
....
However I can not actually see the GRUB menu at boot time. I see nothing until the server begins to boot and then I can see everything. However the grub menu is absent entirely.
My config looks like so :
..
serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1 terminal -timeout=30 serial console
put these two lines at the beginning and fix the --timeout typo :)
This config works for me: <cut> serial --unit=0 --speed=38400 terminal --timeout=10 serial console default=0 timeout=5
title CentOS Linux (2.6.32-71.29.1.el6.x86_64) root (hd0,0) kernel /vmlinuz-2.6.32-71.29.1.el6.x86_64 ro root=/dev/mapper/vg_c6-lv_root rd_LVM_LV=vg_c6/lv_root rd_LVM_LV=vg_c6/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us nomodeset crashkernel=auto rhgb quiet console=tty0 console=ttyS0,38400n initrd /initramfs-2.6.32-71.29.1.el6.x86_64.img </cut>
Cheers,
Tru
On Sun, 20 Nov 2011, Dennis Clarke wrote:
My config looks like so :
# grep -v "^#" /boot/grub/grub.conf default=0 timeout=30 serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1 terminal -timeout=30 serial console
The "timeout" option needs a double-dash: "--timeout".
title CentOS (2.6.32-71.el6.x86_64) root (hd0,0) kernel /vmlinuz-2.6.32-71.el6.x86_64 ro root=UUID=2396ae8a-7eaa-4690-8701-10fb1b604e21 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb console=tty0 console=ttyS0,9600n8
I've always edited out the "rhgb" option when I depend on a serial console, but I honestly haven't checked whether it makes any difference in CentOS 6.0.