Centos7 system startup process

王林
Release: 2020-03-16 17:20:07
Original
2817 people have browsed it

Centos7 system startup process

1. UEFI or BIOS initialization, run POST power-on self-test

2. Select the boot device, Boot Sequence

The system startup sequence generally includes: Optical drive, USB flash drive, hard disk A, hard disk B. Search each boot device in order. The first device with a boot program is the device used for this startup.

3. Boot loader, load /boot partition file system driver

4. Load loader configuration file: /etc/grub.d/ /etc/default/grub /boot/ grub2/grub.cfg

(Recommended tutorial: centos usage tutorial)

5. Load initramfs driver module and kernel vmlinuz

6. Kernel initialization , centos7 uses systemd instead of init

7. Execute all units of initrd.target, including mounting /etc/fstab

8. Switch from initramfs and file system to the disk root directory

9. Systemd executes the default target configuration and the configuration file /etc/systemd/system/default.target

10. Systemd executes sysinit.target to initialize the system and basic.target to prepare the operating system

11. systemd starts the local and server services under multi-user.target

12. systemd executes /etc/rc.d/rc.local under multi-user.target

13 , systemd executes getty.target and login service under multi-user.target

14. Systemd executes the services required by graphical

Related video tutorial recommendations: linux video tutorial

The above is the detailed content of Centos7 system startup process. 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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!