MBR GPT Cheatsheet
MBR GPT Cheatsheet
MBR GPT Cheatsheet
0 1 2 3 4 5 6 7 8 9 A B C D E F
0 Master Boot Code
….
1A0
1B0 Disk Signature Boot Start
ind1 head
1C0 start start Sys End End End Relative Sectors Total Sectors
Sect2 Cyl2 ID3 Head sect2 Cyl2
1D0
1E0
1F0 55 AA
(c) Michael Wilkinson, this document may be freely distributed provided this notice remains intact, the original is located at http://www.writeblocked.org/resources.
08/05/2018 Page 1 of 3
GPT Disk layout
Protective MBR Sector 0
.... ....
Partition 1
Partition 2
.........
....
Protective MBR
0 1 2 3 4 5 6 7 8 9 A B C D E F
0 Master Boot Code
….
1A0
1B0 Boot Starting
ind head1
0x00
1C0 start start Sys End End End Relative Sectors Total Sectors 00 00
Sect1 Cyl1 ID Head2 sect2 Cyl2 0x01000000 0xFFFFFFFF
0xEE 0xFF 0xFF 0xFF
1D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA
1. Starting LBA sector should be the second sector on the disk
2. Ending LBA sector, if value is too large for 1-byte 0xFF is used.
(c) Michael Wilkinson, this document may be freely distributed provided this notice remains intact, the original is located at http://www.writeblocked.org/resources.
08/05/2018 Page 2 of 3
Primary GUID Partition Table Header
0 1 2 3 4 5 6 7 8 9 A B C D E F
0 Signature Revision Header Size
0x5C000000
10 CRC32 Checksum of GPT Reserved 0x00000000 MyLBA – sector containing this header
header
20 AlternateLBA – sector containing copy of this header First usable sector
30 Last usable sector Disk GUID (16 bytes)
40 Disk GUID First Partition Entry, 0x0200000000000000
50 Number of Partition Entries Size of partition entries Partition Entry Array CRC32 Reserved (must be zero, if used)
(c) Michael Wilkinson, this document may be freely distributed provided this notice remains intact, the original is located at http://www.writeblocked.org/resources.
08/05/2018 Page 3 of 3