The Menu Configuration File - Red Hat LINUX 7.2 Reference Manual

Hide thumbs Also See for LINUX 7.2:
Table of Contents

Advertisement

Section 5.5:The Menu Configuration File
kernel when it loads should be on hda5, the fifth partition on the first IDE hard drive. Multiple
options may be placed after this option, if you need them.
root <device-and-partition> — Configures GRUB's root partition to be the particular
device and partition, such as (hd0,0), and mounts the partition so that files can be read.
rootnoverify <device-and-partition> — Does the same thing as the root com-
mand but does not mount the partition.
Commands other than these are available. Type info grub for a full list of all commands.

5.5 The Menu Configuration File

The configuration file, which is used to create the list in GRUB's menu interface of operating systems
to boot, essentially allows the user to select a pre-set group of commands to execute. The commands
given in Section 5.4, Commands can used, as well as some special commands that may only be used
in the configuration file.
5.5.1 Special Configuration File Commands
The following commands can only be used in the GRUB menu configuration file:
color <normal-color> <selected-color> — Allows you to set up specific colors
to be used in the menu, where two colors are configured as the foreground and background. You
can just use the color names, such as red/black. An example line might look like this:
color red/black green/blue
default <title-name> — The default entry title name that will be loaded if the menu
interface times out.
fallback <title-name> — If used, the entry title name to try if first attempt failed.
hiddenmenu — If used, it prevents the GRUB menu interface from being displayed, loading the
default entry when the timeout period expires. The user can see the standard GRUB menu
by pressing the
[Esc]
password <password> — If used, it prevents the user who does not know the password from
editing the entries for this menu option.
Optionally, you can specify an alternate menu configuration file after the <password> , so that, if
the password is know, GRUB will restart the second stage of the boot loader and use this alternate
configuration file to build the menu. If this alternate file is left out of the command, then a user
who knows the password is able to edit the current configuration file.
timeout — If used, sets the amount of time, in seconds, before GRUB loads the entry designated
by the default command.
key.
109

Advertisement

Table of Contents
loading

This manual is also suitable for:

Linux 7.2

Table of Contents