GRUB configuration file structure

xiaoxiao2021-04-10  484

The command to set the GRUB menu interface global parameter is placed at the top of the file, which is next to different items for each operating system boot. A very basic GRUB menu profile for guiding Red Hat Linux or Microsoft Windows 2000 might look like this: 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 that uses Red Hat Linux as the default operating system, set 10 Automatically boot after seconds. Two parts are given here, each part corresponds to an operating system item, each of which contains commands to the operating system hard disk partition table. In the additional information below, how to use GRUB to boot a variety of operating systems. The additional information of GRUB is only an introduction to GRUB and its many options. If you want more to understand how GRUB work, how to configure it in other tasks to boot the non-Linux operating system, you can refer to some of the information listed below. Installing document · / usr / share / doc / grub-0.90 - /usr/share/doc/grub-0.90 is a directory on the system on the system. · Under a shell prompt, enter the Man GRUB command to view the GRUB manual, which includes a list of options used when loading the GRUB shell. · Under a shell prompt, use the info grub command to get the GRUB INFO page, which includes a guide, a user reference manual, a programmer reference manual, and a FAQ document on GRUB and its own usage. Some sites for some sites · http://www.gnu.org/software/grub - the home page of the GNU GRUB project. This site contains information about the GRUB development status and a FAQ. · Http://www.uruk.org/orig-grub - The original GRUB documentation before the project is taken off to the Free Software Foundation. · Http://www.redhat.com/mirrors/ldp/howto/mini/multiboot-with-grub.html - Research GRUB variety of different usage, including guiding non-Linux operating systems. · Http://www.linuxgazette.com/issue64/kohli.html - an introductory article, discussion in a system GRUB configuration, including the overview of the GRUB command line option.

转载请注明原文地址:https://www.9cbs.com/read-133304.html

New Post(0)