Users Guide

90 Serial Port Console Redirection
Edit the file /etc/grub.conf, as follows. See the sample file that follows, which shows the changes
described in this procedure.
1
Add the following two new lines in the
general settings
section of the file:
serial --unit=0 --speed=19200
terminal --timeout=10 serial
2
Append two options to the kernel line:
kernel ............. console=ttyS0,19200
3
If the
/etc/grub.conf
contains a
splashimage
directive, you must comment it out.
Table D-1. Sample File: /etc/grub.con
# grub.conf generated by anaconda
#
Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, e.g.
# root (hd0,0)
# kernel /boot/vmlinuz-version ro root=/dev/sdal
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=10
#splashimage=(hd0,2)/grub/splash.xpm.gz
serial --unit=0 --speed=19200
terminal --timeout=10 serial
title Red Hat Linux Advanced Server (2.4.9-e.3smp)
root (hd0,0)
kernel /boot/vmlinuz-2.4.9-e.3smp ro root=/dev/sda1 hda=ide-scsi
console=tty0 console=ttyS0,19200
initrd /boot/initrd-2.4.9-e.3smp.img
title Red Hat Linux Advanced Server-up (2.4.9-e.3
root (hd0,00)
kernel /boot/vmlinuz-2.4.9-e.3 ro root=/dev/sda1 s
initrd /boot/initrd-2.4.9-e.3.im