Here we can see how to change from GPT to MBR (Microsoft Master Boot Record), I need to format my pen drive while Installing Linux Mint Using USB, So I have formatted it using gdisk command, After that while I’m trying to format my pen drive using Fdisk it won’t get format, It gives’s the Below Error

 

Here we can see how to get fix the Error by Converting the GPT to MBR type.

If you using RPM based Machine’s, We can Install gdisk using below command

# yum install gdisk -y

If you using deb based Machine’s, We can Install gdisk using below command

# sudo apt-get install gdisk

Then we have to Convert the GPT to MBR

# sudo gdisk /dev/sdb

We will get the Below Command Option

GPT fdisk (gdisk) version 0.8.8
Partition table scan:

  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: not present

***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory. THIS OPERATION IS POTENTIALLY DESTRUCTIVE! Exit by
typing 'q' if you don't want to convert your MBR partitions
to GPT format!

***************************************************************
Warning! Secondary partition table overlaps the last partition by
33 blocks!
You will need to delete this partition or resize it in another utility.

Command (? for help):
  • Press r to Start Recovery from GPT to MBR

Command (? for help): r

  • Recovery/transformation command (? for help):
  • Then Convert by giving the command g to convert GPT to MBR
  • If you need to see the Preview use P
  • Then Write the Changes and Exit  the gdisk using w
  • Now we can Format the Pen Drive, as usual, using Disk Utility
Babin Lonston
Overall 14+ Years of experience in IT field, 7+ years of experience in Linux administration with Virtualization & Cloud technologies. Love documentation and being Numismatics for a long time.

Creating swap space using a file in Linux

Previous article

How to compile and install OpenvSwitch in Linux

Next article

You may also like

Comments

Leave a reply

Your email address will not be published.