当前位置:网站首页>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进程,加载显示系统登陆界面
边栏推荐
- 2022.6.22-----leetcode.513
- How to use the template library of barcode label software
- 523. Continuous Subarray Sum
- 点击添加下拉框
- 438. Find All Anagrams in a String
- What exactly is RT?
- 438. Find All Anagrams in a String
- Summary of Arthas vmtool command
- 如何在 FlowUs、Notion 等笔记软件中使用矩阵分析法建立你的思维脚手架
- 173. Binary Search Tree Iterator
猜你喜欢

Object. Defineproperty() and data broker

'教练,我想打篮球!' —— 给做系统的同学们准备的 AI 学习系列小册

"Coach, I want to play basketball" -- AI Learning Series booklet for students who are making systems

Which is better, semrush or ahrefs? Which is more suitable for GoogleSEO keyword analysis

636. Exclusive Time of Functions

Point cloud library PCL from introduction to mastery Chapter 10

Linux MySQL installation

力扣之滑动窗口《循序渐进》(209.长度最小的子数组、904. 水果成篮)

General paging (1)

Geoserver添加mongoDB数据源
随机推荐
Restore the default routing settings of the primary network card
An idea of using keep alive to cache data in vue3 form pages
Happy number of leetcode topic analysis
Fraction to recursing decimal
[QNX Hypervisor 2.2用户手册]6.2 网络
如何在 FlowUs、Notion 等笔记软件中使用「番茄工作法」?
[qnx hypervisor 2.2 user manual]6.2 network
The most commonly used 5-stream ETL mode
How to use "tomato working method" in flowus, notation and other note taking software?
986. Interval List Intersections
How postman does interface testing 1: how to import swagger interface documents
Leetcode topic analysis group anagrams
438. Find All Anagrams in a String
“教练,我想打篮球“ —— 给做系统的同学们准备的 AI 学习系列小册
How thingjs enables low threshold 3D visualization development
The fourth online workshop review
In June, China database industry analysis report was released! Smart wind, train storage and regeneration
5、 Project management
Longest substring without repeated characters (C language)
Kernel log debugging method