Frequently Asked Question
16. Partitioning - How to remove GPT from HDD?
Last Updated 5 years ago
Use gdisk instead of fdisk. It isn't installed by default, so get it with:
sudo apt-get install gdisk
Then umount the drive and call gdisk for the device:
sudo gdisk /dev/sdX
It will prompt you to select the partition:
Found valid MBR and GPT. Which do you want to use?
1 - MBR
2 - GPT
3 - Create blank GPT
Select the GPT one. In my case, 2. Use the ? command to print the command list. Enter x for expert options, then z to zap the GPT table and all the data on the disc:
Command (? for help): x
Expert command (? for help): z
About to wipe out GPT on /dev/sdx. Proceed? (Y/N): y
GPT data structures destroyed! You may now partition the disk using fdisk or
other utilities.
Blank out MBR? (Y/N): y
PRIME SYSTEMS
7/211p, Nr Paravathani Furnitures
Nilambur Road
MANJERI - 676 121
Malappuram Dt.
Kerala
Email: mail@primesystems.in
Phone: 0483-2768070, 9495217070
Mob. 9895387070
9895387070
sudo apt-get install gdisk
Then umount the drive and call gdisk for the device:
sudo gdisk /dev/sdX
It will prompt you to select the partition:
Found valid MBR and GPT. Which do you want to use?
1 - MBR
2 - GPT
3 - Create blank GPT
Select the GPT one. In my case, 2. Use the ? command to print the command list. Enter x for expert options, then z to zap the GPT table and all the data on the disc:
Command (? for help): x
Expert command (? for help): z
About to wipe out GPT on /dev/sdx. Proceed? (Y/N): y
GPT data structures destroyed! You may now partition the disk using fdisk or
other utilities.
Blank out MBR? (Y/N): y
*****************************************
PRIME SYSTEMS
7/211p, Nr Paravathani Furnitures
Nilambur Road
MANJERI - 676 121
Malappuram Dt.
Kerala
Email: mail@primesystems.in
Phone: 0483-2768070, 9495217070Mob. 9895387070
9895387070