GPT

From OSDev.wiki
Revision as of 15:46, 6 March 2012 by osdev>Turdus
Jump to navigation Jump to search

GPT stands for GUID Partition Table. It obsoletes MBR partitioning.

Layout

LBA 0 Protective Master Boot Record (PMBR). Holds a partition pointing to GPT to avoid accidental overwrite by old programs.
LBA 1 partition header, can be identified by 8 bytes magic "EFI PART" (45h 46h 49h 20h 50h 41h 52h 54h)
LBA 2..33 partition table entires
...data on disk...
LBA -33..-2 mirror of partition table
LBA -1 mirror of partition header on last addressable sector

Utilities

The following utilities can handle GPTs:

  • parted, gparted on Linux
  • diskutil on MacOSX
  • diskpart on Windows (Vista and upwards)

See Also

Wikipedia Links

External Links