whatis partition

Partition

Also known as: GPT, MBR, partition table

A defined section of a disk that the OS treats as a separate device, recorded in a GPT or MBR partition table.

What Is a Disk Partition in Linux?

A disk like /dev/sda is split into partitions such as /dev/sda1 and /dev/sda2 (or /dev/nvme0n1p1 on NVMe). Each can hold a different filesystem, swap, or an LVM physical volume.

GPT is the modern table format, required for UEFI booting and disks over 2 TB. MBR is the legacy format with a four-primary-partition limit. Tools include fdisk, gdisk, parted, and graphical GParted.

Example

lsblk
sudo fdisk -l /dev/sda