Definition:

  • Format DISK
  • manipulate disk partition table
  • sudo fdisk /dev/sd* to start on the device

Synopsis:

  • fdisk [options] device
  • fdisk -l [device...]

List of options:

  • GPT

    • M enter protective/hybrid MBR
  • Generic

    • d delete a partition
    • l list known partition types
    • n add a new partition
    • p print the partition table
  • Save & Exit

    • w write table to disk and exit
    • q quit without saving changes