Linux system startup steps

王林
王林Original
2019-11-14 10:31:387432browse

Linux system startup steps

Linux startup steps:

1: First bios power-on self-test and initialization (this process will detect related hardware (cpu, memory, graphics card, hard disk, etc.))

2: Load the kernel and read the configuration file in /boot

3: Start the initialization process and start running/sbin/init

4 : Read /etc/initab to determine the run level

5: Load the boot program according to /etc/rc.d/rcN.d, rcN.d is Connection files ("N" here represents a number) all point to /etc/rc.d/init.d.

6: Run again/etc/rc.d/rc.local

7: For login (3 ways ssh, command line, graphical)

8: Enter loginshell, take the command line as an example, first read the global configuration file /etc/profile, and then read the home directory (home ) in ~/.bash_profile and ~/.bash_login and ~/.profile

Note: Linux The common "rc" is generally the abbreviation of "run command" and is commonly used in script file names.

Recommended tutorial: Linux tutorial

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

Statement:
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