File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ ## 写在前面
2
+
3
+ 近来由于安装openEuler 22的系统,但是从kernel 5.1开始sd设备在sys总线上的注册也[ 变成异步] ( https://github.com/torvalds/linux/blob/f883675bf6522b52cd75dc3de791680375961769/drivers/scsi/sd.c#L610 ) 的了,
4
+ 导致在服务器在上多块磁盘时且是静默的情况下会出现os安装在不期望的磁盘上,但是你可以尝试修改将[ 异步改为同步] ( https://gitee.com/openeuler/community/issues/I66HWX ) ,但是今天我们提供另外一个解决方案。
5
+
6
+ ## 另一个方案
7
+
8
+
9
+
10
+ ## 总结
11
+
12
+ POST加电自检-->BIOS(Boot Sequence)-->加载对应引导上的MBR(bootloader)-->主引导设置加载其BootLoader-->Kernel初始化-->initrd—>/etc/init进程加载/etc/inittab
13
+
14
+ 硬件的初始化,图像界面启动的初始化(如果设置了默认启动基本)
15
+
16
+ 主机RAID的设置初始化,device mapper 及相关的初始化,
17
+
18
+ 检测根文件系统,以只读方式挂载
19
+
20
+ 激活udev和selinux
21
+
22
+ 设置内核参数 /etc/sysctl.conf
23
+
24
+ 设置系统时钟
25
+
26
+ 启用交换分区,设置主机名
27
+
28
+ 加载键盘映射
29
+
30
+ 激活RAID和LVM逻辑卷
31
+
32
+ 挂载额外的文件系统 /etc/fstab
33
+
34
+ 最后根据mingetty程序调用login让用户登录->用户登录(完成系统启动)
35
+
36
+
37
+ ## Reference
38
+ 1 . https://www.ruanyifeng.com/blog/2013/02/booting.html
39
+ 2 . https://blog.51cto.com/chrinux/1192004
40
+
41
+ ## 待办
42
+ 1 . systemd/ rootfs
43
+
You can’t perform that action at this time.
0 commit comments