I'm trying to install Arch Linux on a disk which was previously partitioned. The Disklabel type is automatically set to gpt. I need to change it to dos. How can I do it?
1 Answer
I've never actually used cfdisk
, but I can tell you how to do it with fdisk
.
- Run
fdisk -l
- You should get all of your storage devices.
- Find the one you want to partition.
- It should be something like
/dev/nvme0n1
or/dev/sda
but your knowledge may vary. - Once you find it run
fdisk <name of drive>
. E.x./fdsik /dev/sda
- You should now see something like this
Welcome to fdisk (util-linux 2.35.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help):
Typing m
reveals:
o create a new empty DOS partition table
Notes:
Know that changing the labels will delete everything.
Don't forget to run w before exiting to write table to disk.
Check the Arch Wiki for more information.