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 Learn more about Partition
- Linux Partitioning Explained Partitioning divides a disk into sections that the OS treats as independent storage units. Understanding partition tables (MBR vs GPT), partition types (EFI, swap, root, home), and filesystems (ext4, btrfs, xfs) lets you make informed decisions during installation.
- Full Disk Linux Installation: A Step-by-Step Guide A full disk installation dedicates an entire drive to Linux, giving you the simplest setup, best performance, and no dual-boot complexity. This guide walks through the complete process from booting the installer to a working system.