11.01.2015 Views

Red Hat Enterprise Linux Installation Guide 5.2 - linux.meuhobby.com

Red Hat Enterprise Linux Installation Guide 5.2 - linux.meuhobby.com

Red Hat Enterprise Linux Installation Guide 5.2 - linux.meuhobby.com

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Installing GRUB<br />

• GRUB supports Logical Block Addressing (LBA) mode. LBA places the addressing<br />

conversion used to find files in the hard drive's firmware, and is used on many IDE and all<br />

SCSI hard devices. Before LBA, boot loaders could encounter the 1024-cylinder BIOS<br />

limitation, where the BIOS could not find a file after the 1024 cylinder head of the disk. LBA<br />

support allows GRUB to boot operating systems from partitions beyond the 1024-cylinder<br />

limit, so long as the system BIOS supports LBA mode. Most modern BIOS revisions support<br />

LBA mode.<br />

• GRUB can read ext2 partitions. This functionality allows GRUB to access its configuration file,<br />

/boot/grub/grub.conf, every time the system boots, eliminating the need for the user to<br />

write a new version of the first stage boot loader to the MBR when configuration changes are<br />

made. The only time a user needs to reinstall GRUB on the MBR is if the physical location of<br />

the /boot/ partition is moved on the disk. For details on installing GRUB to the MBR, refer to<br />

Section 3, “Installing GRUB”.<br />

3. Installing GRUB<br />

If GRUB was not installed during the installation process, it can be installed afterward. Once<br />

installed, it automatically be<strong>com</strong>es the default boot loader.<br />

Before installing GRUB, make sure to use the latest GRUB package available or use the GRUB<br />

package from the installation CD-ROMs. For instructions on installing packages, refer to the<br />

chapter titled Package Management with RPM in the <strong>Red</strong> <strong>Hat</strong> <strong>Enterprise</strong> <strong>Linux</strong> Deployment<br />

<strong>Guide</strong>.<br />

Once the GRUB package is installed, open a root shell prompt and run the <strong>com</strong>mand<br />

/sbin/grub-install , where is the location that the GRUB Stage 1<br />

boot loader should be installed. For example, the following <strong>com</strong>mand installs GRUB to the MBR<br />

of the master IDE device on the primary IDE bus:<br />

/sbin/grub-install /dev/hda<br />

The next time the system boots, the GRUB graphical boot loader menu appears before the<br />

kernel loads into memory.<br />

Important<br />

If GRUB is installed on a RAID 1 array, the system may be<strong>com</strong>e unbootable in<br />

the event of disk failure. An unsupported workaround is provided online at the<br />

following URL:<br />

http://www.dur.ac.uk/a.d.stribblehill/mirrored_grub.html<br />

91

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!