Linux boot process

Source: Internet
Author: User

The system BIOS is the first program that runs when you click the power button.
1. First the motherboard needs to receive a stable power supply signal. If there is no stable power supply the system shuts down automatically.
2. When a stable power supply signal is received, the processor starts, and a boot code is found in a small section of the BIOS ROM when the processor starts up, and this 16-byte code tells the processor where to look for the actual BIOS boot program.
3. The BIOS performs post. If a fatal error is found, startup processing will end. If successful, the BIOS calls the number 19th interrupt and the processor will look for the attached device on the motherboard.
4. The BIOS first looks for the video card, if found the video card may be able to output some information on the screen.
5. Look for the remaining equipment.
6. The BIOS displays its startup information on the screen.
7. The BIOS will perform additional tests, which are dependent on the manufacturer. Typically includes memory capacity checks.
8. Check the hardware to see if the hardware is working properly.
9. BIOS Print System configuration information.
10.BIOS finds the system from top to bottom based on the configured boot order. If the hard drive is found, then to 0 cylinders, 0 heads, 1 sector lookup boot record MBR. The others did not say (¯¸¯)
11. Read the MBR program into memory and execute it. The MBR tries to locate the bootable partition in the partitioned table, and if found, the system's own initialization starts the program into memory and runs.

I haven't seen the introduction about the boot program ~ ~ ~ ~ (¯.¯)

Linux boot process

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.