Red Hat LINUX 7.2 - OFFICIAL LINUX CUSTOMIZATION GUIDE Guida di Installazione Pagina 84

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 282
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 83
84 Chapter 4. GRUB
4.5.2. Configuration File Structure
The commands to set the global preferences for the GRUB menu interface are placed at the top of the
file, followed by the different entries for each of the operating systems to boot.
A very basic GRUB menu configuration file designed to boot either Red Hat Linux or Microsoft
Windows 2000 might look as follows:
default=linux
timeout=10
color=green/black light-gray/blue
# section to load linux
title linux
root (hd0,1)
kernel /vmlinuz root=/dev/hda5
boot
# section to load Windows 2000
title windows
rootnoverify (hd0,0)
chainloader +1
This file would tell GRUB to build a menu with Red Hat Linux as the default operating system, set
to autoboot it after 10 seconds. Two sections are given, one for each operating system entry, with
commands specific to this system’s disk partition table.
Actually configuring a GRUB menu configuration file to boot multiple operating systems is beyond
the scope of this chapter. Please consult Section 4.6 for detailed information about booting various
operating systems with GRUB.
4.6. Additional Resources
This chapter is only intended as an introduction to GRUB and its many options. Consult the follow-
ing resources to discover more about how GRUB works and how to configure it to boot non-Linux
operating systems, among other tasks.
4.6.1. Installed Documentation
/usr/share/doc/grub-0.90 /usr/share/doc/grub-0.90 is the directory where the
GRUB docs are placed on the filesystem.
At a shell prompt, type the man grub command to view the GRUB man page, which contains a
list of options to use when loading the GRUB shell.
The GRUB info page, accessible by typing the info grub command at a shell prompt, contains
a tutorial, a user reference manual, a programmer reference manual, and an FAQ document about
GRUB and its usage.
4.6.2. Useful Websites
http://www.gnu.org/software/grub — The home page of the GNU GRUB project. This site contains
information concerning the state of GRUB development and an FAQ.
Vedere la pagina 83
1 2 ... 79 80 81 82 83 84 85 86 87 88 89 ... 281 282

Commenti su questo manuale

Nessun commento