wire / wire-format / mbr-partition-table
The MBR is the first 512 bytes of a disk. Contains: boot code (446 bytes), partition table (4 entries × 16 bytes = 64 bytes), and signature 0x55AA (2 bytes). Each partition entry: status (1), start CHS (3), type (1), end CHS (3), start LBA (4), size in sectors (4).
aka: MBR (Master Boot Record) partition table
spec: MBR (IBM PC, 1983)
The MBR is the first 512 bytes of a disk. Contains: boot code (446 bytes), partition table (4 entries × 16 bytes = 64 bytes), and signature 0x55AA (2 bytes). Each partition entry: status (1), start CHS (3), type (1), end CHS (3), start LBA (4), size in sectors (4).
| field | size | meaning |
|---|---|---|
| Boot code | 446 bytes | x86 machine code executed by BIOS. Loads the active partition's boot sector. |
| Partition 1 | 16 bytes | Status (0x80=active), start CHS (3), type (1), end CHS (3), start LBA (4), size (4). |
| Partition 2 | 16 bytes | Same format. |
| Partition 3 | 16 bytes | Same format. |
| Partition 4 | 16 bytes | Same format. (Extended partitions use type 0x05/0x0F.) |
| Signature | 2 bytes | 0x55 0xAA (magic number at offset 510-511). |
example:
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
MBR (placeholder)
agent: curl -H 'accept: application/json' wire.phall.io/wire-format/mbr-partition-table
or /wire-format/mbr-partition-table.json