Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Partition Table

Direct answer

A partition table records where each partition starts and ends on a disk and what type it is. The two formats are MBR and GPT; view them with lsblk, fdisk -l, parted print or Get-Partition.

When to use this

Use this when reading or changing where partitions sit on a disk.

First 30 seconds

1. A partition table records partitions (GPT or MBR).

2. Back up before editing.

3. Kernel rereads with partprobe.

4. Don't edit tables of mounted disks carelessly.

5. Use by-uuid/by-partuuid for references.

Operational verification

disk header → table → partition entries

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 reading or changing where partitions sit on a disk.
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
  • MBR on disks over 2 TiB.
  • Converting tables on disks with data without backup.
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
  • MBR or GPT.
  • Tools: lsblk, fdisk, parted, Get-Partition.
  • Back up before changes.
Key checks
  • parted /dev/sdX print — table type and partitions
  • sgdisk -p /dev/sdX — GPT detail
  • sfdisk -d /dev/sdX > table.bak — back up table
ReferenceHow it works1 section · depth on demand

Commands

parted /dev/sdb mklabel gpt
parted -a optimal /dev/sdb mkpart data 1MiB 100%
Initialize-Disk -Number 2 -PartitionStyle GPT

Documented example, not captured output. Creating a label erases the existing table.

ReferenceImportant terms & boundaries3 sections · depth on demand

In depth

The partition table maps regions of a disk to partitions

The partition table (disk label) is the small metadata structure that says where each partition starts and ends, what type it is, and with GPT also its name and unique GUID. Two formats are in use: GPT and MBR (msdos).

The GNU Parted manual describes mklabel gpt|msdos as creating a new, empty table. Existing partitions are effectively lost, although rescue can search for them.

# lsblk -o NAME,PTTYPE,PARTTYPENAME,PARTLABEL,PARTUUID,SIZE
NAME   PTTYPE PARTTYPENAME     PARTLABEL PARTUUID                              SIZE
sda    gpt                                                                     476.9G
├─sda1 gpt    EFI System       ESP       0f3a...                               512M
├─sda2 gpt    Linux filesystem root      7c1e...                               100G
└─sda3 gpt    Linux LVM        lvm       a9d2...                               376.4G
# parted /dev/sda print

GPT and MBR at a glance

GPTMBR
LocationHeader at LBA 1, backup at the end of the diskFirst sector
Partition entriesTypically 1284 primary
IdentificationType GUID and unique partition GUIDOne-byte type ID
Max size (512 B sectors)Effectively unlimited2 TiB

Practical uses of the identifiers

IdentifierUse
PARTUUIDStable reference in bootloader and kernel command lines (root=PARTUUID=...)
PARTLABELHuman-readable name; /dev/disk/by-partlabel/
File system UUID (not the table)/etc/fstab (UUID=...)

Do not partition when not needed

Whole-disk use is normal for ZFS (it creates its own table), Ceph OSDs, and LVM PVs on SAN LUNs. A partition table on a LUN that is later grown adds one more layer to resize.

Illustrative example (not a system capture).

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

How it works

The partition table at the start of the disk lists each partition's start, size and type. GPT also keeps a backup copy at the end of the disk and checksums both, so corruption can be detected and repaired.

Reference

TypeMax diskMax partitionsBoot
MBR2 TiB4 primary (or 3 + extended)BIOS
GPT8 ZiB (practical: huge)128 (default)UEFI
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 → Partition Table. 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?