
550
|
Chapter 4: Boot Methods
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
with md5crypt or with grub-md5-crypt can be used with the password command
to set up a GRUB password. grub-md5-crypt has three possible options:
--help
Print help message and exit.
--grub-shell=file
Specify that file is to be used as the GRUB shell.
--version
Print version information and exit.
Using the Menu Interface
The most common way to use GRUB is with the menu interface. The Stage 2
loader reads the configuration file grub.conf and displays the menu. If a timeout is
set in the configuration file, GRUB displays a countdown at the bottom of the
window showing how much time is left before it boots to the default entry. Move
the cursor to an entry and press Enter to boot; or, press e to edit the command
line for that entry, a to modify the kernel arguments, or c to go to the command-
line interface to issue commands manually.
If you go to the command line, you can return to the menu at any time by pressing
Esc.
Selecting a and e are similar, except that a displays only the kernel command line
and lets you append options to it, while e displays the entire boot entry for you to
edit. In either case, the available editing commands are similar to those available
on the shell command line. When you are through editing, press Esc to return to
the main menu. Your changes ...