Master Boot Record:The Master Boot Record is located at the physical beginning of a hard disk, editable using the Disk Editor. It consists of a master bootstrap loader code (446 bytes) and four subsequent, identically structured partition records. Finally, the hexadecimal signature 55AA completes a valid Master Boot Record.
multi(0)disk(0)rdisk(0)partition(1) 活動分區(qū)指示符為80H,表示該分區(qū)為可自舉分區(qū)。 系統標志為07表示OS/2 HPFS, Windows NT NTFS, Advanced Unix系統。知該分區(qū)Boot Sector位于:起始磁頭為0頭,起始柱面為304D,起始扇區(qū)為1扇區(qū)。
01DEH -01EDH 分區(qū)3結構信息
Extended partition 系統標志字節(jié)為0F,說明是擴展分區(qū)Extended partition (using INT 13 extensions)。 從擴展分區(qū)說明項知下一個分區(qū)表位于:起始磁頭為0頭,起始柱面為435D,起始扇區(qū)為1扇區(qū)。
01EEH -01FDH 分區(qū)4結構信息
分區(qū)說明項數據均為00H沒有定義。
01FEH -01FFH 55 AAH 主引導記錄有效標志
擴展分區(qū)數據及分析
擴展分區(qū)一分區(qū)表數據:位置cylinder435D, head 0,sector1
擴展分區(qū)表分析
01BEH -01CDH 分區(qū)1結構信息
multi(0)disk(0)rdisk(0)partition(3) 知該分區(qū)位于:起始磁頭為1頭,起始柱面為435D,起始扇區(qū)為1扇區(qū)(分區(qū)表占用磁頭0)。 系統標志字0BH表示 Windows 95+ FAT32
難能可貴的是它不觸動主引導信息其余模塊(分區(qū)表、檢驗標志),以及隨后的 DOS 引導信息、文件分配表、根目錄,省事許多。檢出檢驗標志非 AA55h,寫主引導程序、初始化分區(qū)表及登錄檢驗標志,在 MS DOS 7.0 - 8.0 環(huán)境中,常規(guī)以系統支持的最大容量分配給基本 DOS 分區(qū)的方式登錄分區(qū)表。分區(qū)表初始化(可能幸存的分區(qū)表被清除)的后果不難想象; 目前硬盤大都設置有其它分區(qū),即使在高版本 DOS 環(huán)境中運作,常規(guī)建立的分區(qū)表每難能符合實際需求,后續(xù)工作量也相當可觀。
不過,它也不觸動位于其后的 DOS 引導信息、文件分配表及根目錄,高版本 FDISK /MBR 命令適用于修復僅設基本 DOS 分區(qū)的硬盤分區(qū)表及檢驗標志受損,或主引導信息全毀。
FAT12/16 Logical sector =0 Logical sector=1 (Floppy disk=1~9) Logical sector=1+sectors_per_FAT (Floppydisk=10~18) Logical sector=1+sectors_per_FAT*2 (Floppy disk=19~32) Logical sector=1+sectors_per_FAT*2+sectors_of_rootdirectories (Floppy disk=33~) DOS Boot Sector FAT1 FAT2 ROOT Directory Data area(where files and subdirectories are stored)
FAT32 Usually 32 sectors Logical sector =0032h Logical sector =0032h+ 2*sectors_per_FAT DOS Boot Recore 3 Sectors Reserved sectors Copy of record Reserve sectors FAT1 FAT2 Data area(where files and all bdirectories are stored)