Linux Boot execution sequence

Source: Internet
Author: User

1. Load the BIOS hardware information, and obtain the first boot device code;

2. Read the boot Loader of the MBR of the first boot device (i.e. Lilo, GRUB, etc.);

3. Load Kernel operating system core information, Kernel start decompression, and try to drive all hardware devices;

4. Kernel executes the init procedure and obtains run-level information;

5. Init executes the/etc/rc.d/rc.sysinit file;

6. Launch the core plug-in module (/etc/modprobe.conf);

7. init executes each batch file of Run-level (Scripts);

8. Init executes the/etc/rc.d/rc.local file;

9. Execute the/bin/login procedure and wait for the user to log in;

10. After logging in, start with the Shell control console.

The following is a simplified version of the boot sequence, to facilitate the classmate memory

1) BIOS initialization

2) performing MBR

3) grub:a, load the kernel in read-only mode (kernel); b. Load RAMDisk, or initrd-2.6.18-53.el5.img file

4) Init process, the files that are running are:

A./etc/inittab

B./etc/rc.d/rc.sysinit

All script files under c./etc/rc.d/rcx.d/

D./etc/rc.d/rc.local

5) Login

Linux Boot execution sequence

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.