Linux boot process, linux Process

Source: Internet
Author: User

Linux boot process, linux Process

 

1. Load BIOS

When you turn on the computer power, the computer will first load the BIOS information, BIOS information is so important that the computer must find it at the very beginning. This is because the BIOS contains CPU information, device startup sequence information, hard disk information, memory information, clock information, pnp, and so on. After that, the computer information will be analyzed and you will know which hardware device you want to find.

2. Read MBR

In all, the first sector of the 0th track on the hard disk is called MBR, which is the Master Boot Record. The size of this record is 512 bytes, which stores the startup information and partition table information.

3. Boot Loader

It is a short program that runs before the operating system kernel runs. Through this applet, We can initialize hardware devices and create a map of memory space to bring the system's hardware and software environment to a suitable state, in order to make all preparations for the final call to the operating system kernel.

4. Load the kernel

5. User-layer init sets the running level based on the inittab File

6. Execute rc. sysinit in the init program.

7. Start the kernel module

8. execute script programs of different running levels

9. Run/etc/rc. d/rc. local.

10. Run the/bin/login program

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.