Article Title: Analysis of the Startup Process of Fedora. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
I have always been very interested in the linux Startup Process, but since I was not very familiar with linux for a long time, I am not very familiar with it. Through this period of time, I learned and checked data from the Internet, I have a rough understanding of the startup process. I will give my own understanding of the process. I hope to give some advice on the error and I am willing to learn it!
1. Power-On. At this time, the information provided by the BIOS of the motherboard is Self-checked, that is, Power On Self Test. During this time, the device data is determined.
2. Read MBR (master boot record) to start the master boot loader.
3. Read the/boot/grub. conf information to determine whether to directly start the core, or to give the start control to the next boot loader to start the core.
4. After the Startup Program finds the core file, it uses initrd to create a Raw Disk for the virtual Disk to help the startup, and then decompress the core to the primary storage.
5. Run the system initialization program init (mainly by executing the/etc/rc. d/rc. sysinit script to complete initialization ).
6. Load the core plug-in Module (/etc/modprobe. conf ).
7. Set the running level according to/etc/inittab, run the script in/etc/rc. d/rc. [n], and start the system service.
8. Execute the User-Defined script module/etc/rc. d/rc. local.
9. Run/bin/login to wait for the user to log on.
10. After logging on, you can use shell to control the host to the user.