Chapter 9. The GRUB Boot Loader
102
uses the specified alternate configuration file to build the menu. If an alternate menu configuration
file is left out of the command, a user who knows the password is allowed to edit the current
configuration file.
For more information about securing GRUB, refer to the chapter titled
Workstation Security
in the
Red Hat Enterprise Linux Deployment Guide
.
•
root (
<device-type><device-number>
,
<partition>
)
— Configures the root partition for
GRUB, such as
(hd0,0)
, and mounts the partition.
•
rootnoverify (
<device-type><device-number>
,
<partition>
)
— Configures the root
partition for GRUB, just like the
root
command, but does not mount the partition.
•
timeout=
<integer>
— Specifies the interval, in seconds, that GRUB waits before loading the
entry designated in the
default
command.
•
splashimage=
<path-to-image>
— Specifies the location of the splash screen image to be
used when GRUB boots.
•
title
group-title
— Specifies a title to be used with a particular group of commands used to
load a kernel or operating system.
To add human-readable comments to the menu configuration file, begin the line with the hash mark
character (
#
).
9.8. Changing Runlevels at Boot Time
Under Red Hat Enterprise Linux, it is possible to change the default runlevel at boot time.
To change the runlevel of a single boot session, use the following instructions:
• When the GRUB menu bypass screen appears at boot time, press any key to enter the GRUB menu
(within the first three seconds).
• Press the
a
key to append to the
kernel
command.
• Add
<space>
<runlevel>
at the end of the boot options line to boot to the desired runlevel. For
example, the following entry would initiate a boot process into runlevel 3:
grub append> ro root=/dev/VolGroup00/LogVol00 rhgb quiet 3
9.9. Additional Resources
This chapter is only intended as an introduction to GRUB. Consult the following resources to discover
more about how GRUB works.
9.9.1. Installed Documentation
•
/usr/share/doc/grub-
<version-number>
/
— This directory contains good information about
using and configuring GRUB, where
<version-number>
corresponds to the version of the GRUB
package installed.
Summary of Contents for ENTERPRISE LINUX 5 - VIRTUAL SERVER ADMINISTRATION
Page 12: ...xii ...
Page 20: ......
Page 30: ...12 ...
Page 32: ...14 ...
Page 82: ...64 ...
Page 106: ...88 ...
Page 122: ...104 ...
Page 124: ...106 ...
Page 126: ......
Page 132: ...114 ...
Page 168: ...150 ...
Page 182: ...164 ...
Page 192: ...174 ...
Page 194: ......
Page 236: ...218 ...
Page 238: ...220 ...
Page 270: ......
Page 274: ...256 ...
Page 278: ...260 ...
Page 292: ...274 ...
Page 294: ......
Page 300: ...282 ...
Page 304: ......
Page 316: ...298 ...
Page 370: ...352 ...
Page 384: ...366 ...
Page 385: ...Part VII Appendix ...
Page 386: ......