Digital Forensic Tools

Partitions: MBR and GPT

Short answer

A partition is a section of a drive treated as a separate volume. MBR and GPT are two ways of recording where the partitions start and end.

What a partition is

A partition table divides one physical drive into parts. Each part can hold its own file system. The table only stores where each part starts, how big it is and what type it is.

For an examiner the partition table matters because deleted or hidden partitions, and space between partitions, can still hold data.

MBR

The Master Boot Record sits in the first sector of the drive (512 bytes). It holds a small piece of boot code, a table with four entries, and a two byte signature (0x55 0xAA) at the end.

Start and size are stored as 32-bit sector numbers. With 512-byte sectors this limits addressing to about 2 TiB. Only four primary partitions fit, so extended partitions are used to hold more.

GPT

The GUID Partition Table is part of the UEFI standard. The first sector holds a protective MBR, so old tools do not think the disk is empty. The real header is in the second sector and starts with the text EFI PART.

The partition entries are stored twice, once near the start and once near the end of the disk, together with a backup header. Each entry has a type GUID (a long unique identifier), a unique GUID, start and end sectors, and a name. If the main header is damaged, the backup can be used.

MBR and GPT

MBRGPT
Location of tableSector 0Sector 1 onward, plus a backup at the end
Partitions4 primary entriesMany entries (128 in a common layout)
Size limitAbout 2 TiB with 512-byte sectorsFar larger
Backup copyNoYes
IdentifiersOne byte type codeType GUID and unique GUID

Example

A 4 TB drive shows only 2 TB of usable space in an old tool. The examiner finds a protective MBR in sector 0 and an EFI PART header in sector 1. The disk is GPT, so the old tool only understood the protective record.

Common mistakes

  • Looking only at the partitions the operating system shows, and missing deleted or hidden ones.
  • Treating the protective MBR of a GPT disk as the real partition table.
  • Ignoring unallocated gaps between partitions.
  • Forgetting that sector size can be 4096 bytes, so offsets change.

Key terms

Partition
A defined section of a drive that is treated as its own volume.
MBR
Master Boot Record, the first sector of a drive using the older layout.
GPT
GUID Partition Table, the newer layout from the UEFI standard.
GUID
A long unique identifier used for disks and partitions.
Protective MBR
A fake MBR at the start of a GPT disk that stops old tools from treating it as empty.

Questions you may be asked

Why does a GPT disk have a protective MBR?

So tools that only know MBR see the disk as used and do not overwrite or ignore it.

Why is there a backup GPT header?

If the main header or entry array is damaged, the backup at the end of the disk lets the table be rebuilt.

Free tools to practise with

Learn more

Written in our own words from public forensic training material and standards. Last reviewed 24 Nov 2026. Procedures and laws differ by country and agency. Follow your own lab's procedure.