Linux boot process diagram

Source: Internet
Author: User

Firmware firmware (Cmos/bios) #POST加电自检

|

|

Bootloader bootloader (GRUB) #载入内核/boot/grub/grub.conf

|

|

Load Kernel Kernel # Drive hardware

|

|

Start process init (PID constant is 1,pid to 0 for kernel Scheduler kernel Scheduler)

|

|

Read execution configuration file/etc/inittab

|

|

Judging RunLevel (Initdefault)

|

Read the configuration file (/etc/rc.d/rc.sysinit) #系统的基本服务的加载

|

Then execute the/ETC/RC.D/RC #来判断运行级别对应的配置文件

|

Run the secondary directory to the level of/ETC/RC.D/RCN.D n=0~6

|

Verify user name, password



/etc/inittab si:sysinit:/etc/rc.d/rc.sysinit Regardless of the level of execution of the program configuration.

/etc/rc.d/rc.sysinit, is to start the script file, complete the system service program startup, such as: System environment variable settings, set the system clock, load fonts, check the loading file system, generate system boot log files and so on.


/ETC/RC.D/RCN. D manages the runlevel and initializes the configuration of the launcher.

Run different configurations according to RunLevel, run Level 3, call configuration information under the RC3.D directory ;

The RC 0/1/2/3/4/5/6.D directory has:For exampleS syslog, K theDundWait, all is/etc/init.d/... A soft connection

which

Capital S means: Start program

Uppercase K: programs that are closed or not started

Digital representation: the sequential start.

(The lowercase system is not recognized.) )


This article from the "90 Design Studio" blog, reproduced please contact the author!

Linux boot process diagram

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.