Skip to content

fdisk

fdisk

Create new partition:

fdisk [disk]
n
# answer the questions
w # write changes

Delete partitions

fdisk [device]
p # to list current partitions
d
w # write changes