0

I am trying to find a solution after applying the dual boot to install in my computer ubuntu. I was redirected to "How can I change/convert a Ubuntu MBR drive to a GPT, and make Ubuntu boot from EFI?" and I the community says that I have to convert the disk.

But, I would like your advice please to know which part of the disk I have to convert? because I would not like to lose my personal documents in the windows drive or do something wrong. Please is there anybody out there to give me and advice?

I put a picture of the result of gparted:

Disk partitions

warning microsoft

andrew.46
  • 39,359

1 Answers1

0

⚠ BACKUP ALL DATA BEFORE TRYING ANYTHING IN THIS POST! ⚠


The operations discussed in this post might very well be destructive. Have a full backup of anything important before doing anything. Failure to ignore this warning is your own fault.

  1. First off, be sure you have a few hundred MB of space unallocated at the front and rear of your hard drive. As you have an EFI partition there, you're okay.
  2. In a terminal, run the command sudo gdisk /dev/sdX. Be sure to replace sdX with the proper device identifier.
  3. gdisk will prompt you that it will do the conversion. Once you're at the command window, enter w and hit enter. gdisk will give you one final warning. Confirm and move on.
  4. Your drive is now running in GPT mode. You will now need to re-install GRUB with sudo grub-install /dev/sdX (same replacement method as in step 2). You may also need to re-install the Windows bootloader using a Windows recovery disk.
Kaz Wolfe
  • 34,680