Linux study notes: boot process

Source: Internet
Author: User
1. load the BIOS hardware information and obtain the code of the first boot device; 2. read the bootLoader (that is, lilo, grub, spfd) of the MBR of the first boot device.

1. load the BIOS hardware information and obtain the code of the first boot device;

2. read boot information of the MBR boot Loader (lilo, grub, spfdisk, etc.) of the first boot device;

3. load the core information of the Kernel operating system, start to decompress the Kernel, and try to drive all hardware devices;

4. run the init Program in the Kernel and obtain the run-level information;

5. run the/etc/rc. d/rc. sysinit file in init;

6. start the Core plug-in module (/etc/modprobe. conf );

7. run the run-level batch file (Scripts) in init );

8. run the/etc/rc. d/rc. local file in init;

9. run the/bin/login program and wait for the user to log on;

10. log on to the console and use Shell to control the host.

In/etc/rc. d/rc3.d, start the instance starting with S, stop the instance starting with K, and then the number indicates the execution order.

GRUB vga settings

Color resolution 640x480 800x600 1024x768 1280x1024 bit

256769 771 773 775 8 bit

32768 784 787 790 793 15 bit

65536 785 788 791 794 16 bit

16.8 M 786 789 792 795 32 bit

./Configure check system information./configure -- help | more help information

Make clean clear the files left before

Make compilation

Make install installation

Run the rpm-q command to check whether rpm-ql is installed and query all directories of the suite.

Instructions for rpm-qi query suite rpm-qc [d] configuration files and instructions

Run rpm-ivh to install rpm-V. check whether the kit has been updated.

Rpm-e delete rpm-Uvh upgrade and installation

-- Nodeps forced installation -- test installation
Related Article

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.