UEFI和Legacy

Boot-up process

ROM 加载进内存 MBR, 智能和 GPT 分区

在计算机启动时,内存中没有加载指令。所以 CPU 将切换到系统固件(firmware), 以执行 boot 过程

Firmware 的代码由主板厂商提供,第一步执行 Power On Self Test 和 启动连接的外围设备。接着主板将执行 bootloader 的指令。常见的 bootloader 有 LILO 和 GRUB.Fimeware 通常被称为 BIOS.

Legacy Boot

全称 the boot process used by the BIOS firmware to initialize hardware devices. 检查 说有连接设备的 (MBR), 通常是硬盘的第一个扇区。

当在当前设备没有找到 bootloader 时,Legacy 将切换到下一个设备指导找到 bootloader.

UEFI

全称 modern way of handling the boot process. 将 boot 数据储存到 .efi 文件 而非固件中。

段指针

segment offset