Install Red Hat via Serial Console
This is an easy problem, but Googling the answer didn’t immediately return a great solution.
I want to install Red Hat Enterprise Linux via serial console. How to set that up? Red Hat says how. Hook up a keyboard / monitor, and at the boot prompt, enter:
linux text console=ttyS0
Now, I have to figure out what driver to load to get the system running on my Marvell SATA controller, but if you have a running (Fedora) system, you can configure serial console by editing /boot/grub/grub.conf:
- Comment out the
splashimagedirective - Add the
serialandterminallines, seen in bold - Add the
consoleargument to the kernel, mind the\on the line before
Your grub.conf will look something like this: (changes in bold)
# 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/sda2
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
#splashimage=(hd0,0)/grub/splash.xpm.gz
serial --unit=0 --speed=9600
terminal --timeout=5 serial console
hiddenmenu
title Fedora Core (2.6.9-1.667smp)
root (hd0,0)
kernel /vmlinuz-2.6.9-1.667smp ro root=LABEL=/ rhgb quiet \
console=ttyS0,9600n8
initrd /initrd-2.6.9-1.667smp.img
title Fedora Core-up (2.6.9-1.667)
root (hd0,0)
kernel /vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.9-1.667.img
The neat thing is that at least Fedora will notice this change when you boot, and offer to configure the /etc/ttys and whatnot for you.
Comment / Tip
. . . or leave a Tip
Danny Howard is 100% responsible for the content on this site, except some of it is stolen.
All rights are reserved, unless otherwise noted. Generally, I'm a BSD guy, so you can assume implicit permission to adapt, modify, and redistribute my intellectual property with appropriate attribution. Except some of this content is itself re-appropriated, so you'd best ask first, especially for commercial use. Thanks!
You can contact me via e-mail: dannyman@toldme.com
Most of http://dannyman.toldme.com/ is powered by WordPress.
If you're hip to RSS and whatnot, you can subscribe to this site.
These links are for dannyman: login AND backlinks