前言
Linux启动是个复杂的流程,BIOS->MBR->boot loader。。。
boot loader阶段有Kernel以及initrd,Kernel通过initrd加载到bootable device的驱动后正式接管根目录文件系统,然后加载各种驱动,准备OS下程序运行环境等等。boot loader详细工作如下图。
Kernel做了这么多事情,有什么办法观察内核所作的工作吗? dmesg可以。
前言
Linux启动是个复杂的流程,BIOS->MBR->boot loader。。。
boot loader阶段有Kernel以及initrd,Kernel通过initrd加载到bootable device的驱动后正式接管根目录文件系统,然后加载各种驱动,准备OS下程序运行环境等等。boot loader详细工作如下图。
Kernel做了这么多事情,有什么办法观察内核所作的工作吗? dmesg可以。