Linux内核初始化过程简要介绍(转)

本文详细介绍了Linux系统的启动过程,包括四个主要阶段:Boot PROM阶段、Boot Programs阶段、Kernel Initialization阶段和Init阶段。从主引导程序bootblk到内核组件genunix及unix的加载过程均有涉及。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Linux内核初始化过程简要介绍(转)[@more@]

  全部引导过程是四步

  1:boot PROM phase

  2:boot Programs phase

  3:kernel initialization phase

  4:init phase

  system初始化,检测内存和cpu,检查设备和创建设备树,设置console

  kernel初始化过程

  kernel self -initialization 内核自检

  loading of kernel modules 载入内核模块

  reading of the kernel configuration file in /etc/system 读内核配置文件

  staring of the /sbin/init process 运行/sbin/init进程

  bootblk是用于装载第二个引导程序ufsboot的主引导程序

  bootblk是被PROM的boot设备的引导扇区装载的

  ufsboot程序是用了装载两部分核心genunix和unix的

  installboot是用来在磁盘分区上安装bootblk的

  genunix is the platform-independent generic kernel file ,while unix is the platform-specific kernel component.

  整个的引导过程:

  PROM from the boot sector of the boot device--&gtbookblk--&gtufsboot--&gtgenunix(是一个独立平台的普通内核文件) and unix(是一个特殊平台内核文件)--&gt其它

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10752043/viewspace-940276/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/10752043/viewspace-940276/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值