Usage: sfdisk [options] [[-N] ] sfdisk [options] Display or manipulate a disk partition table. Commands: -A, --activate [ ...] list or set bootable (P)MBR partitions -d, --dump dump partition table (usable for later input) -J, --json dump partition table in JSON format -B, --backup-pt-sectors binary partition table backup (see -b and -O) -g, --show-geometry [ ...] list geometry of all or specified devices -l, --list [ ...] list partitions of each device -F, --list-free [ ...] list unpartitioned free areas of each device -r, --reorder fix partitions order (by start offset) -s, --show-size [ ...] list sizes of all or specified devices -T, --list-types print the recognized types (see -X) -V, --verify [ ...] test whether partitions seem correct --delete [ ...] delete all or specified partitions --part-label [] print or change partition label --part-type [] print or change partition type --part-uuid [] print or change partition uuid --part-attrs [] print or change partition attributes --discard-free discard (trim) unpartitioned areas --disk-id [] print or change disk label ID (UUID) --relocate move partition header Arguments: device (usually disk) path partition number partition type, GUID for GPT, hex for MBR Options: -a, --append append partitions to existing partition table -b, --backup backup partition table sectors (see -O) --bytes print SIZE in bytes rather than in human readable format --move-data[=] move partition data after relocation (requires -N) --move-use-fsync use fsync after each write when move data -f, --force disable all consistency checking --color[=] colorize output (auto, always or never) colors are enabled by default --sector-size physical and logical sector size --lock[=] use exclusive device lock (yes, no or nonblock) -N, --partno specify partition number -n, --no-act do everything except write to device --no-reread do not check whether the device is in use --no-tell-kernel do not tell kernel about changes -O, --backup-file override default backup file name -o, --output output columns -q, --quiet suppress extra info messages -w, --wipe wipe signatures (auto, always or never) -W, --wipe-partitions wipe signatures from new partitions (auto, always or never) -X, --label specify label type (dos, gpt, ...) -Y, --label-nested specify nested label type (dos, bsd) -G, --show-pt-geometry deprecated, alias to --show-geometry -L, --Linux deprecated, only for backward compatibility -u, --unit S deprecated, only sector unit is supported -h, --help display this help -v, --version display version Available output columns: gpt: Device Start End Sectors Size Type Type-UUID Attrs Name UUID dos: Device Start End Sectors Cylinders Size Type Id Attrs Boot End-C/H/S Start-C/H/S bsd: Slice Start End Sectors Cylinders Size Type Bsize Cpg Fsize sgi: Device Start End Sectors Cylinders Size Type Id Attrs sun: Device Start End Sectors Cylinders Size Type Id Flags For more details see sfdisk(8).