Partitioning divides a physical storage device into logical sections.
Each partition can host a filesystem, OS, or data.
Use Case: Older BIOS systems, backward compatibility
Use Case: Newer systems with UEFI, large drives
sudo parted -l
Look for:
Partition Table: msdos β MBR
Partition Table: gpt β GPT
| Feature | MBR | GPT |
|---|---|---|
| Max Disk Size | 2 TB | >9.4 ZB (theoretical) |
| Max Partitions | 4 (or 3 + 1 extended) | 128+ |
| Boot Mode Support | BIOS | UEFI |
| Redundancy | β No | β Yes (backup headers) |
| OS Compatibility | Widely supported | Required for modern systems |
| Use Case | Legacy PCs, small disks | New systems, large drives |
π₯οΈ GUI: GParted
π§ CLI: fdisk, parted, gdisk, lsblk
β Use GPT for UEFI systems and disks > 2 TB
π§ͺ Always backup before repartitioning
β οΈ MBR not recommended for new setups
π Convert with care using tools like gdisk or fresh install
UEFI vs BIOS β Modern vs legacy firmware
Bootloader β Loads OS from disk (e.g., GRUB)
Filesystem β ext4, xfs, btrfs, etc. on top of partitions
Swap Partition β Optional space for virtual memory