wiki/运维/操作系统/Linux/笔记/28.系统引导顺序.md
2025-01-02 10:46:09 +08:00

18 lines
642 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

1. UEFI或BIOS初始化运行POST开机自检
2. 选择启动设备
3. 引导装载程序
4. 加载initramfs驱动模块
5. 加载内核选项
6. 内核初始化
7. 执行initrd.target所有单元。包括挂载/etc/fstab
8. 从initramfs根文件系统切换到磁盘根目录
9. systemd执行默认target配置配置文件/etc/systemd/system/default.traget
10. systemd启动multi-user.target下的本机与服务器服务
11. systemd执行multi-user.target下的/etc/rc.d/rc.local
12. systemd执行multi-user.target下的getty.target及登录服务
13. systemd执行graphical需要的服务
```shell
systemd-analyze plot > 1.html
```