fdisk

Table of Contents

1. Create a new GPT partition table

fdisk commands (m for help):

  1. p Print the current partition table
  2. g Create a new empty GPT partition table
  3. n Add a new partition
  4. Press RET to use the default values x3 (“partition number”, “first sector”, “last sector”)
  5. Type Y if asked about existing partitions on the disk (nothing is final until the w command)
  6. Type w to write the changes

2. Related notes

3. References