Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

GPT

Direct answer

GPT (GUID Partition Table) is the modern partition table used with UEFI. It supports disks larger than 2 TiB, up to 128 partitions by default, and keeps a backup header at the end of the disk.

When to use this

Use this when using or repairing GPT partition tables.

First 30 seconds

1. GPT: up to 128 partitions, >2 TB, CRC-protected with backup header at disk end.

2. Required for UEFI boot.

3. Partition type GUIDs identify roles.

4. Repair with sgdisk from backup header.

5. Default for new disks.

Operational verification

protective MBR → GPT header → entries → backup header

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Storage architecture and operations
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformStorage architecture and operations
Scope / prerequisiteUse this when using or repairing GPT partition tables.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Common mistakes Narrow the fault
  • Copying disks with tools that do not move the backup GPT header to the new end.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Supports disks over 2 TiB.
  • Backup header at end of disk.
  • Needed for UEFI boot.
Key checks
  • sgdisk -v /dev/sdX — verify GPT
  • sgdisk -p /dev/sdX — partitions
  • Get-Disk | ft Number,PartitionStyle — Windows
ReferenceHow it works1 section · depth on demand

Why GPT

  • Disks larger than 2 TiB.
  • Up to 128 partitions without extended/logical tricks.
  • CRC-protected header with backup copy at the end.
  • Required for UEFI boot on Windows.
ReferenceImportant terms & boundaries3 sections · depth on demand

In depth

GPT is the default partition table for new disks

The GNU Parted manual describes mklabel gpt as the modern choice; msdos (MBR) is still common on older PCs. GPT removes MBR's four-primary-partition limit and its 2 TiB limit with 512-byte sectors, keeps a backup header at the end of the disk, and names partitions.

# parted /dev/sdb --script mklabel gpt
# parted /dev/sdb --script -a optimal mkpart data ext4 1MiB 100%
# parted /dev/sdb unit MiB print
Model: ATA ST8000 (scsi)
Disk /dev/sdb: 7630885MiB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Number  Start    End         Size        File system  Name  Flags
 1      1.00MiB  7630884MiB  7630883MiB  ext4         data

mklabel effectively destroys the existing partition table. The manual notes that rescue can search for lost partitions afterwards — do not rely on it.

GPT versus MBR

GPTMBR (msdos)
PartitionsMany (128 by default with common tools)4 primary, or 3 + extended/logical
Max disk (512 B sectors)Far beyond current disks2 TiB
RedundancyBackup header and table at disk endNone
FirmwareUEFI boot (ESP); BIOS boot needs a BIOS boot partitionLegacy BIOS
NamesYes, required by mkpart on GPTNo

Operational notes

  • After replacing a disk in an array, copy the GPT with sgdisk -R /dev/new /dev/old and give it new GUIDs with sgdisk -G /dev/new.
  • A "backup GPT header not at end of disk" warning after growing a virtual disk is fixed by moving the backup header (sgdisk -e, or let parted fix it).
  • Use lsblk -o NAME,PTTYPE,PARTLABEL,PARTUUID to inspect quickly.

*The partition boundaries and disk geometry are illustrative values, not an actual disk partitioning result.*

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

How it works

GPT (GUID Partition Table) is part of the UEFI specification. It supports up to 128 partitions by default and disks far beyond 2 TiB using 64-bit LBAs, and keeps a protective MBR so old tools do not see the disk as empty.

Reference

sgdisk -p /dev/sdb
gdisk -l /dev/sdb
Get-Disk | Select Number,PartitionStyle

GPT keeps a backup header at the end of the disk; repair with gdisk (recovery menu) if the primary is damaged.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docStorage architecture and operations current

Authoritative/upstream documentation reviewed for bounded claims in Partitioning → GPT. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.gnu.org/software/parted/manual/parted.html · confidence 94%
Confirmation

Confirm action

Continue?