【BIOS】
#############################
MBR (Master Boot Record)
—————————-
※ 位於硬碟的第一個磁區。
※ 裡面包含「啟動代碼」及一個64Byte的「硬碟分割區表」。
#############################
↓↓↓
#############################
Disk Partition Table (DPT - Disk Partition Table)
—————————-
※ Each hard drive partition occupies 16 bytes,So up to four boot partitions can be defined。
※ One of the partitions is set as the 'active boot partition'(active/boot)」。
#############################
↓↓↓
#############################
Partition Boot Record (PBR - Boot Partition)
—————————-
※ It could be a '100MB partition' or 'C drive'。
※ If not set,Startup may display
Remove disk or other media Press any key to restart。
#############################
↓↓↓
#############################
bootmgr
—————————-
* Boot manager,Similar to grub、rEFind。
* May be located in '100MB partition' or 'C drive'。
* In versions of Windows before XP,This part is handled by the program NTLDR。
#############################
↓↓↓
#############################
BCD
—————————-
※ 文件,定義 winload.exe 所在磁區的 GUID。
* May be located in '100MB partition' or 'C drive'。
#############################
↓↓↓
#############################
winload.exe
—————————-
※ 位於 C:\Windows\System32。
#############################
↓↓↓
#############################
ntoskrnl.exe
—————————-
※ 位於 C:\Windows\System32。
#############################
=============================
【UEFI】
#############################
ESP partition
—————————-
※ 定義 bootmgfw.efi 位置。
#############################
↓↓↓
#############################
bootmgfw.efi
—————————-
※ 程式,位於ESP磁區的「EFI/Microsoft/Boot」
* Or rEFind's efi file, etc.。
#############################
↓↓↓
#############################
BCD
—————————-
※ 文件,定義 winload.efi 所在磁區。
#############################
↓↓↓
#############################
winload.efi
—————————-
※ 程式,位於 C:\Windows\System32。
#############################
【參考資料】
- windows啟動過程分析 – 每日頭條
- 主開機紀錄 – 維基百科,自由的百科全書
- 傲笑紅塵路: 修復Windows 無法開機的工具








Leave a Reply