dannyman.toldme.com

About Me : Free Style : Good Reads : News and Reaction : Photographs : Technical : Travels : Unsorted

Search:
November 9, 2005
Linux, Technical

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:

  1. Comment out the splashimage directive
  2. Add the serial and terminal lines, seen in bold
  3. Add the console argument 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.

Read More

Next: WARNING: PermitRootLogin defaults to “yes”
Previous: Local Time: Tomorrow
Categories: Linux, Technical
Possibly-Related Posts
Serial Console Woes
WARNING: PermitRootLogin defaults to “yes”
/initrd/
HOWTO: Create a Tar Archive From a File List
Resize NTFS: Knoppix!
FreeBSD HOWTO: Software Mirror System Disk
Linux Uptime Reset

Comment / Tip

. . . or leave a Tip

Leave a comment . . .

  1. For private messages, e-mail me: dannyman@toldme.com
  2. I will not publish or share your e-mail address.
  3. I will not spam you.
  4. Therefor: no anonymous posts; send me your e-mail address!
(required)
(required)

. . . comments from new posters will be held for screening.

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