Ubuntu – Can not change external Ubuntu to UEFI

bootboot-repairdual-bootuefi

I have Ubuntu installed in an external device (GPT) in Legacy mode. I could run this Ubuntu in my old Windows 7 laptop. Now I have changed to a Windows 10 laptop in UEFI mode and I can't run ubuntu unless I enable Legacy mode.

So my problem is that I want to change Ubuntu to UEFI mode without reinstalling. When I run Boot-Repair, a message pops up saying:

The current session is in Legacy mode. Please reboot the computer, and use this software in an EFI session.

But I can't open Ubuntu if the legacy mode is disabled!

Is there any solution?

Edit: Solution

  1. Create a EFI partition
  2. As Melebius pointed out, Install Boot-repair in a flash usb
  3. Boot the flash usb in UEFI mode and follow the instructions.

Best Answer

As the error message says, you should run Boot-Repair in UEFI mode. Since your main installation does not support that, you have to get a system where it’s possible. Moreover, modifying important properties of the running installations (like moving the root partition) is mostly not possible.

The easiest way is to run Boot-Repair from Ubuntu live medium or even using the Boot-Repair-Disk. Make sure to boot it in UEFI mode, the particular procedure depends on your hardware (or firmware to be precise).