Installation guide
• <install-disk> — Specifies the disk where the stage 1 boot loader should be installed,
such as (hd0).
• <stage-2> — Passes the stage 2 boot loader location to the stage 1 boot loader, such as
(hd0,0)/grub/stage2.
• p<config-file> — This option tells the install command to look for the menu configura-
tion file specified by <config-file>, such as (hd0,0)/grub/grub.conf.
Warning
The install command overwrites any information already located on the MBR.
• kernel </path/to/kernel><option-1><option-N> ... — Specifies the kernel file to load when
booting the operating system. Replace </path/to/kernel> with an absolute path from the
partition specified by the root command. Replace <option-1> with options for the Linux ker-
nel, such as root=/dev/VolGroup00/LogVol00 to specify the device on which the root partition
for the system is located. Multiple options can be passed to the kernel in a space separated
list.
The following is an example kernel command:
kernel /vmlinuz-2.6.8-1.523 ro root=/dev/VolGroup00/LogVol00
The option in the previous example specifies that the root file system for Linux is located on
the hda5 partition.
• root (<device-type><device-number>,<partition>) — Configures the root partition for
GRUB, such as (hd0,0), and mounts the partition.
The following is an example root command:
root (hd0,0)
• rootnoverify (<device-type><device-number>,<partition>) — Configures the root partition
for GRUB, just like the root command, but does not mount the partition.
Other commands are also available; type help --all for a full list of commands. For a descrip-
tion of all GRUB commands, refer to the documentation available online at ht-
tp://www.gnu.org/software/grub/manual/.
7. GRUB Menu Configuration File
The configuration file (/boot/grub/grub.conf), which is used to create the list of operating sys-
tems to boot in GRUB's menu interface, essentially allows the user to select a pre-set group of
commands to execute. The commands given in Section 6, “GRUB Commands” can be used, as
well as some special commands that are only available in the configuration file.
7. GRUB Menu Configuration File
86