Structure of IA-32 IBM PC compatible MBR and partition record

本文详细介绍了主引导记录(MBR)的结构及其组成部分,包括代码区域、磁盘签名、分区表等关键字段,并解释了每个部分的功能及作用。

Quoted from

http://en.wikipedia.org/wiki/Master_boot_record

 

Structure of a Master Boot Record
AddressDescriptionSize
in
bytes
HexOctDec
000000000Code Area440
(max. 446)
01B80670440Optional Disk signature4
01BC0674444Usually Nulls; 0x00002
01BE0676446Table of primary partitions
(Four 16-byte entries, IBM Partition Table scheme)
64
01FE077651055hMBR signature;
0xAA55[1]
2
01FF0777511AAh
MBR, total size: 446 + 64 + 2 =512

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Layout of one 16-byte partition record
OffsetField
length
(bytes)
Description
0x001status[7] (0x80 = bootable, 0x00 = non-bootable,
other = invalid[8])
0x013CHS address of first block in partition.[9]
The format is described in the next 3 bytes.
0x011head[10]
0x021sector is in bits 5–0[11]; bits 9–8 of cylinder are in bits 7–6
0x031bits 7–0 of cylinder[12]
0x041partition type[13]
0x053CHS address of last block in partition.[14]
The format is described in the next 3 bytes.
0x051head
0x061sector is in bits 5–0; bits 9–8 of cylinder are in bits 7–6
0x071bits 7–0 of cylinder
0x084LBA of first sector in the partition
0x0C4number of blocks in partition, in little-endian format

 

 

 

 

 

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值