当前位置:网站首页>16.系统启动流程
16.系统启动流程
2022-06-23 08:51:00 【Wangjiachenga】
centos6 系统启动流程

1.开机加载BIOS,进行加电硬件自检(检查硬件是否有问题)
2.加载磁盘,0磁头,0磁道,1扇区上的MBR引导记录,然后引导系统启动
3.进入GRUB菜单,选择加载内核信息(选择不同的内核)
4.加载系统内核信息(kernel)
5.启动第一个系统进程init,(以串行的方式让其他服务按顺序启动)
6.加载系统运行级别文件,/etc/inittab
7.加载系统初始化脚本文件,/etc/rc.d/rc.sysinit脚本
8.加载系统服务脚本存放目录,让不同运行级别服务可以开机启动 chkconfig
9.启动mingetty进程,加载显示系统登陆界面
centos7 系统启动流程

1.开机加载BIOS,进行加电硬件自检
2.加载磁盘,0磁头,0磁道,1扇区上的MBR引导记录,然后引导系统启动
3.进入GRUB菜单,选择加载内核信息
4.加载系统内核信息
5.启动系统第一个进程,systemd(以并行的方式让其他服务可以同时启动)
6.根据target模式选择系统启动级别 /etc/systemd/system/default.target
7.加载系统初始化target脚本文件 /usr/lib/systemd/system/sysinit.target
8.加载响应系统unit单位文件,实现服务开机自动启动,定义开机启动服务/etc/systemd/system(根据系统的运行级别,在开机时启动不同的服务)
9.启动mingetty进程,加载显示系统登陆界面
边栏推荐
- Part of speech family
- Geoserver添加mongoDB数据源
- Hongmeng reads the resource file
- MQTT+Flink实现实时消息的订阅与发布
- New engine, new capability, new experience, Tencent host security flagship release
- How to sort a dictionary by value or key?
- Intelligent operation and maintenance exploration | anomaly detection method in cloud system
- Isomorphic strings for leetcode topic resolution
- Quartz Crystal Drive Level Calculation
- 125. Valid Palindrome
猜你喜欢

点击添加下拉框

Qualcomm 9x07 two startup modes

986. Interval List Intersections

【云原生 | Kubernetes篇】Kubernetes原理与安装(二)

Object. Defineproperty() and data broker

In June, China database industry analysis report was released! Smart wind, train storage and regeneration
![Paper reading [quovadis, action recognition? A new model and the dynamics dataset]](/img/3f/449cc91bfa66fcf26bc2cd405fb773.png)
Paper reading [quovadis, action recognition? A new model and the dynamics dataset]

Point cloud library PCL from introduction to mastery Chapter 10

The most commonly used 5-stream ETL mode

Custom tag - JSP tag Foundation
随机推荐
How to restore visualizations and dashboards after kibana rebuilds the index
Quartz Crystal Drive Level Calculation
438. Find All Anagrams in a String
Custom tags - JSP tag enhancements
Leetcode topic analysis sort colors
New engine, new capability, new experience, Tencent host security flagship release
Unique paths for leetcode topic resolution
On the light application platform finclip and the mobile application development platform mpaas
Custom tag - JSP tag Foundation
670. Maximum Swap
[QNX Hypervisor 2.2用户手册]6.1 使用QNX Hypervisor系统
Hongmeng reads the resource file
node request模块cookie使用
The most commonly used 5-stream ETL mode
How to use matrix analysis to build your thinking scaffold in flowus, notation and other note taking software
Point cloud library PCL from introduction to mastery Chapter 10
Node request module cookie usage
测试-- 自动化测试selenium(关于API)
How to sort a dictionary by value or key?
多线程初学