By configuring the options in your /etc/grub.conf file you can redirect console output to one of your newly configured serial ports. This will allow you to see all of the bootup and shutdown messages on this new serial terminal port. In this example, the /dev/ttyS1 port has been configured to become the new console. The text to add to the file is highlighted in red:

default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.23.1-21.fc7)
       root (hd0,0)
       kernel /vmlinuz-2.6.23.1-21.fc7 ro root=LABEL=/ console=ttyS1,9600 rhgb quiet
       initrd /initrd-2.6.23.1-21.fc7.img
title Fedora (2.6.22.9-91.fc7)
       root (hd0,0)
       kernel /vmlinuz-2.6.22.9-91.fc7 ro root=LABEL=/ console=ttyS1,9600 rhgb quiet
       initrd /initrd-2.6.22.9-91.fc7.img

With this modification you will still be able to completely administer the system using this port, inclusive of the grub pre-boot commands, after the next reboot. Note: It is possible that the kudzu hardware detection program may not be compatible you’re your non default console configuration that doesn’t use your system’s video adapter. If your system hangs on reboot, you may have to reset your system; break into the grub bootloader; temporarily remove the console options from the boot command line; and disable kudzu when the system fully reboots.

[root@bigboy tmp]# chkconfig kudzu off

This is an unlikely event with newer Linux versions, but you should be aware that it can happen.

Post By Editor (2,827 Posts)

Website: →

Connect