GRUB instructions (5)

Source: Internet
Author: User
Article Title: GRUB instructions (5 ). Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Configuration file structure
  
The command for setting global parameters of GRUB menu interface is placed at the top of the file. Next, it is used for different projects guided by various operating systems.
  
A very basic GRUB menu configuration file for guiding Red Hat Linux or Microsoft Windows 2000 may be 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 tells GRUB to create a menu with Red Hat Linux as the default Operating System. It will be automatically guided 10 seconds later. Here we provide two parts. Each part corresponds to an operating system project, and each part contains commands pointing to the operating system hard disk partition table.
  
The following additional documents will list references on how to use GRUB to guide multiple operating systems.
  
Vi. Additional GRUB documents
  
This section only introduces GRUB and its many options. If you want to learn more about how GRUB works and how to configure it in other tasks to guide non-Linux operating systems, refer to the information listed below.
  
Installation document
  
/Usr/share/doc/grub-0.90-/usr/share/doc/grub-0.90 is the directory of GRUB documents on the system.
In a shell prompt, enter the man grub command to view the GRUB manual, which contains a list of options used to load the GRUB shell.
In a shell prompt, run the info grub command to get the GRUB info page. It includes a guide, a user reference manual, and a programmer reference manual, and a FAQ about GRUB and its usage.
  
Useful Websites
  
Home page of The http://www.gnu.org/software/grub-gnu grub project. This site contains GRUB development status information and a FAQ.
Http://www.uruk.org/orig-grub-the initial GRUB document prior to further development of the Free Software Foundation in this project.
Http://www.redhat.com/mirrors/LDP/H...-with-GRUB.html-study GRUB's various usage, including booting a non-Linux operating system.
Http://www.linuxgazette.com/issue64/kohli.html-an introductory article discussing GRUB configurations on a system, including an overview of GRUB command line options.
  
  
  
  
  

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.