Professional Documents
Culture Documents
GRUB Menu Configuration File
GRUB Menu Configuration File
GRUB Menu Configuration File
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
This file configures GRUB to build a menu with Red Hat Enterprise Linux as the default
operating system and sets it to autoboot after 10 seconds. Two sections are given, one for each
operating system entry, with commands specific to the system disk partition table.
Note
Note that the default is specified as an integer. This refers to the first title line
in the GRUB configuration file. For the Windows section to be set as the default
in the previous example, change the default=0 to default=1.
Configuring a GRUB menu configuration file to boot multiple operating systems is beyond the
scope of this chapter. Consult Section 2.11 Additional Resources for a list of additional
resources.
first sector of the specified partition, use the blocklist notation, +1.
color <normal-color> <selected-color> — Allows specific colors to be used in the
menu, where two colors are configured as the foreground and background. Use simple
color names such as red/black. For example:
To add human-readable comments to the menu configuration file, begin the line with the hash
mark character (#).
https://web.mit.edu/rhel-doc/3/rhel-rg-en-3/s1-grub-configfile.html#:~:text=The GRUB menu interface configuration,system listed in the menu. 2/3
1/11/23, 2:58 PM GRUB Menu Configuration File