Convert Partition Table GPT to MBR in Ubutnu

Linuxtopic
6








Q:  how to convert gpt partation table to mbr ?





Q: Convert GPT to MBR using gdisk 








Step 1: Install
gdisk






apt update


apt install
gdisk











Step 2: Check
disk OS boot from UFI for BIOS





gdisk -l
/dev/sdX













Step 3: Convert
GPT to MBR


gdisk /dev/sda





Recovery and transformation options (experts only) = Press “r”










Convert GPT into MBR and exit = Press “g”










Print the MBR partition table = Press “p”










Write the MBR partition table to disk and exit = Press “w”













Step 4: Reboot
Or partprobe





reboot
or
partprobe







Step 5:
Re-install Grub





apt-get purge
grub-common



apt-get instal
grub-pc





























































Reboot Your
System










Tags:

Post a Comment

6Comments

  1. please change step 4 with step 5
    if anyone reboot the system first, the grub will have error

    ReplyDelete
  2. apt-get instal grub-pc ❌
    apt-get install grub-pc ✅

    ReplyDelete
  3. Thanks.
    You solved my problem.
    ........I have a question..What is the best linux light weight and secure ?

    ReplyDelete
  4. Maybe even the one reading this don't even know how to make a simple 30 second video clip. Transform Youtube Videos

    ReplyDelete
Post a Comment

#buttons=(Ok, Go it!) #days=(20)

Our website uses cookies to enhance your experience. Check Now
Ok, Go it!