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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 9.<br />

The GRUB Boot Loader<br />

When a <strong>com</strong>puter with <strong>Red</strong> <strong>Hat</strong> <strong>Enterprise</strong> <strong>Linux</strong> is turned on, the operating system is loaded<br />

into memory by a special program called a boot loader. A boot loader usually exists on the<br />

system's primary hard drive (or other media device) and has the sole responsibility of loading<br />

the <strong>Linux</strong> kernel with its required files or (in some cases) other operating systems into memory.<br />

1. Boot Loaders and System Architecture<br />

Each architecture capable of running <strong>Red</strong> <strong>Hat</strong> <strong>Enterprise</strong> <strong>Linux</strong> uses a different boot loader. The<br />

following table lists the boot loaders available for each architecture:<br />

Architecture<br />

AMD® AMD64<br />

IBM®eServerSystem i<br />

IBM®eServerSystem p<br />

IBM®System z®<br />

IBM®System z®<br />

Intel®Itanium<br />

x86<br />

Boot Loaders<br />

GRUB<br />

OS/400®<br />

YABOOT<br />

z/IPL<br />

z/IPL<br />

ELILO<br />

GRUB<br />

Table 9.1. Boot Loaders by Architecture<br />

This chapter discusses <strong>com</strong>mands and configuration options for the GRUB boot loader included<br />

with <strong>Red</strong> <strong>Hat</strong> <strong>Enterprise</strong> <strong>Linux</strong> for the x86 architecture.<br />

2. GRUB<br />

The GNU GRand Unified Boot loader (GRUB) is a program which enables the selection of the<br />

installed operating system or kernel to be loaded at system boot time. It also allows the user to<br />

pass arguments to the kernel.<br />

2.1. GRUB and the x86 Boot Process<br />

This section discusses the specific role GRUB plays when booting an x86 system. For a look at<br />

the overall boot process, refer to Section 2, “A Detailed Look at the Boot Process”.<br />

GRUB loads itself into memory in the following stages:<br />

1. The Stage 1 or primary boot loader is read into memory by the BIOS from the MBR 1 . The<br />

primary boot loader exists on less than 512 bytes of disk space within the MBR and is<br />

1 For more on the system BIOS and the MBR, refer to Section 2.1, “The BIOS”.<br />

89

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

Saved successfully!

Ooh no, something went wrong!