Installing Fedora & CentOS Via Grub

From DuncanWiki

Revision as of 06:36, 11 October 2008 by Duncan (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

All steps taken during this document are performed by the root superuser. In order for this to work your /boot directory needs to be a part of a separate filesystem than what you intend to install on.

Downloading Images

The two files you'll need to download are the installation kernel & the initial ram disk. As of this writing Fedora 9 is the latest, so I'll use that as an example.

At that URL you'll see a few directories, the one you're most interested in is isolinux/, inside of that you'll see vmlinuz & initrd.img. Download both of these to /boot, saving them as F9 & F9.img respectively.

wget -O /boot/F9 ftp://download.fedora.redhat.com/pub/fedora/linux/releases/9/Fedora/x86_64/os/isolinux/vmlinuz 
wget -O /boot/F9.img ftp://download.fedora.redhat.com/pub/fedora/linux/releases/9/Fedora/x86_64/os/isolinux/initrd.img 

Configure GRUB

Next you'll want to add a stanza to your /etc/grub.conf to load these files on boot, a stanza similar to this should take care of everything.

title F9 Installation 
       kernel /F9 graphical 
       initrd /F9.img 

Reboot & Install

  • Once you've completed configuring your GRUB configuration, you'll want to reboot your system. When the GRUB boot screen comes up press <ESC> & select F9 Installation.

Image:Grub Installation 01 Grub Screen.png

  • On the next few screens you'll select your language & keyboard setup.

Image:Grub Installation 02 Language Selection.png Image:Grub Installation 03 Keyboard Selection.png

  • Now you'll select what sort of installation you'll want to perform, here we'll select URL.
    • If you want to install from a hard drive you'll need the .iso images in whatever directory you specify.

Image:Grub Installation 06 Source Selection.png

  • The defaults for your network configuration should be fine.

Image:Grub Installation 07 Network Configuration.png

  • Enter in the URL you'll be installing from, make sure you preface it with ftp:// or http://
    • I've noticed that most FTP sites throttle their traffic while HTTP is rarely throttled

Image:Grub Installation 08 Source Input.png

  • Here we're downloading the second stage of the installation, go get something to drink... this will take a while.

Image:Grub Installation 09 Downloading Stage2.png

  • Voila! You're ready to install Fedora. Have fun.

Image:Grub Installation 10 GUI Installation.png