Use of linux Startup software grub

Source: Internet
Author: User
Grub, the linux Startup software, uses the general Linux technology-Linux technology and application information. The following is a detailed description. Grub is the first program started in linux and used to load the kernel;

In/boot/grub, grub usually has three images: stage1, stage1.5, and stage2. stage1 is put into MBR, and the pc boot sector only has 512 bytes. Execute read, extract, and decompress stage1.5, stage1 does not recognize the file system. stage1.5 does not recognize the file system. It reads the main image stage2 of grub into the kernel.

Grub. conf mainly uses four commands
Title Operating System Options
For example, root (hd0, 0) specifies the partition of the disk to be started.
Kernel Mount kernel Image
Initd is loaded into the drive device, etc.

Important configuration notes
View/partition and/root partition with df-lh

In the case of separate/root partitions, the/boot directory does not need to appear in grub. conf, directly/vmlinux -. Wait until the/boot directory is searched.

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.