Snowman
01-02-2005, 02:51 PM
This applies to our US based dedicated servers only
Redhat with Grub:
1. Edit grub.conf with your favorite editor so you can manipulate grub and the boot process via remote console:
serial --unit=0 --speed=9600
terminal --timeout=10 serial console
Example:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda3
# initrd /initrd-version.img
#boot=/dev/hda
serial --unit=0 --speed=9600
terminal --timeout=10 serial console
default=0
timeout=3
You will also need to add options to the kernel line if you want to see the kernel booting and if you need to do file system maintenance via the remote console (IE it is stuck at fsck errors):
console=tty0 console=ttyS0,9600
Example:
title Red Hat Enterprise Linux ES (2.4.21-27.EL)
root (hd0,0)
kernel (hd0,0)/vmlinuz-2.4.21-27.EL root=/dev/hda3 console=tty0 console=ttyS0,9600
initrd (hd0,0)/initrd-2.4.21-27.EL.img
NOTE Your kernel line may differ such as Kernel version and root= device. DO NOT CHANGE THESE, simply append the line with console options.
2. If you want shell console access after the boot process you will need to do the following:
Add the following to the bottom of /etc/inittab:
s0:12345:respawn:/sbin/mingetty ttyS0 9600 linux
Add the following to the bottom of /etc/securetty:
ttyS0
Redhat with Grub:
1. Edit grub.conf with your favorite editor so you can manipulate grub and the boot process via remote console:
serial --unit=0 --speed=9600
terminal --timeout=10 serial console
Example:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda3
# initrd /initrd-version.img
#boot=/dev/hda
serial --unit=0 --speed=9600
terminal --timeout=10 serial console
default=0
timeout=3
You will also need to add options to the kernel line if you want to see the kernel booting and if you need to do file system maintenance via the remote console (IE it is stuck at fsck errors):
console=tty0 console=ttyS0,9600
Example:
title Red Hat Enterprise Linux ES (2.4.21-27.EL)
root (hd0,0)
kernel (hd0,0)/vmlinuz-2.4.21-27.EL root=/dev/hda3 console=tty0 console=ttyS0,9600
initrd (hd0,0)/initrd-2.4.21-27.EL.img
NOTE Your kernel line may differ such as Kernel version and root= device. DO NOT CHANGE THESE, simply append the line with console options.
2. If you want shell console access after the boot process you will need to do the following:
Add the following to the bottom of /etc/inittab:
s0:12345:respawn:/sbin/mingetty ttyS0 9600 linux
Add the following to the bottom of /etc/securetty:
ttyS0