Linux boot steps

PHP中文网
Release: 2017-06-20 13:05:17
Original
1809 people have browsed it

1.LoadingBIOS

When you turn on the computerpower, the computer The BIOS information is loaded first. The BIOS information is so important that the computer must find it at the very beginning. This is because the BIOS contains CPU-related information, device startup sequence information, hard disk information, memory information, clock information, pnp, etc. After this, the computer information will be mapped and you will know which hardware device to find.

2.ReadMBR

As we all know, the first sector of track 0 on the hard disk is called MBR, which is the main Boot record, which is 512 bytes in size, stores startup information and partition table information.

3.Boot Loader

is a small program that runs before the operating system kernel runs. Through this small program, we can initialize hardware devices and establish a memory space map, thereby bringing the system's software and hardware environment to a suitable state, so as to make all preparations for the final call to the operating system kernel.

4. Load the kernel

5.

User layerinit sets the running level according to the inittab file

6.init program execution rc .sysinit

7. Start the kernel module

8. Execute script programs at different run levels

9.

Execute/etc/rc.d/ rc.local

10.

Execute /bin/login program

The above is the detailed content of Linux boot steps. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template