基础补充2:bootloader和GRUB

磁道结构:
bootloader-partition table-magic number —stage1.5—分区(boot sector(512B)+存储区域)
|<—————MBR————————->|

bootloader功能:stage1

加载扇区:各扇区之间切换
加载核心:通过stage1.5—读取stage2—配置文件—核心

GRUB:

MBR和stage1的区别

基础补充2:bootloader和GRUB - leaf - ------坚持雅操------

配置文件-核心加载方式
链接加载

rootnoverify (hd0,0)   指定bootloader所在分区
chainloader +1           指定为第一个扇区