Skip to content

This document is a WORK IN PROGRESS.
This is just a quick personal cheat sheet: treat its contents with caution!


Partitions

Disk partitioning or disk slicing is the creation of one or more regions on a storage, so that each region can be managed separately.

Reference(s)

UEFI/GPT vs BIOS/MBR

Difference between UEFI/GPT and BIOS/MBR: https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Disks#Partition_tables


Table of contents


GPT fdisk (gdisk, cgdisk, sgdisk, and fixparts)


fdisk


GNU parted

Gnome parted

Gnome front end to GNU parted.

Tip

A sure way of modifying partitions, through a live CD-ROM/USB, without losing data:

Don't forget to run # fsck sdxN after modifying a partition (e.g. partition sdxN) and before rebooting, in order to make sure there is no leftover disks errors.


If this cheat sheet has been useful to you, then please consider leaving a star here.