Linux startup Process
First stage: Hardware boot boot
Power ON,BIOSpower-on self-test, find the boot media is foundMBR
FindMBR, then according tobootloader (GRUB)set the location where the kernel is located
Phase II: GRUB Start the boot phase
Execution Linux kernel image code to detect and load hardware drivers
Phase III: Kernel boot phase
after the driver loading is complete, the kernel gives the initiative to Init
Stage four: Start level
Pstree View Process
Cat/etc/inittab//file Start level
Init system initialization is done based on the operating level set by the system
/etc/init/rcs.conf
Exec/etc/rc.d/rc.sysinit Activate swap partitions, check disks, load hardware modules, and other tasks that require priority execution
EXEC/ETC/RC.D/RC $RUNLEVEL ($RUNLEVEL = = 3)
/etc/rc.d/rc3.d/
/etc/rc.d/rc.local
Fifth stage: Start complete
set up the terminal:6aTTYand the1a graphic
User Login
This article is from the Linux Learning Notes blog, so be sure to keep this source http://9656134.blog.51cto.com/9646134/1675460
Linux boot process