This question already has an answer here:

I installed Ubuntu in Legacy mode (BIOS mode) with Windows previously installed in UEFI mode. Turns out this wasn't the best way to do it. Anyway, I couldn't get either of my USB WiFi adapters to work in Ubuntu so I simply deleted the partition it was installed on. On my other computers that only had a BIOS I would just boot up a Windows recovery disk and run a few commands to fix the MBR. If I understand it correctly, doing so would erase GRUB and install the Windows bootloader.

In my current situation I'm not sure what to do. I want to nuke grub. I don't need it as I don't have any flavor of Linux installed. I don't think I want to install MBR either. But maybe I do? I want to continue booting Windows in UEFI mode as that is how I originally installed it.

Will booting my Windows repair USB in legacy mode and fixing the MBR mess with my current installation of Windows? Will it get rid of GRUB?

Picture of the BIOS

Windows boots fine in UEFI mode. There is no way to boot Ubuntu in UEFI mode only (as opposed to LEGACY + UEFI mode).

Boot options

Windows also boots fine in LEGACY + UEFI mode when it is set as Boot Option #1.

Ubuntu boot option

Ubuntu fails to boot as expected since I deleted the partition it was on.

Any help would be appreciated.

marked as duplicate by Rinzwind, karel, Fabby, Kevin Bowen, David Foerster Jun 25 '18 at 21:06

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • I understand you want to delete grub. You can do it in two ways. 1. Windows commad line. 2. Access the system with live usb. – PRATAP Jun 13 '18 at 18:15
  • @PRATAP Can you clarify please? 1. By Windows command line do you mean simply removing the Ubuntu folder from the EFT folder? Or something else? Does that actually remove GRUB? 2. ? – PIousInquisitor Jun 13 '18 at 18:33
  • Your windows installed in MBR or GPT partition style? Yes removing "Ubuntu" folder from EFI folder removes completely Ubuntu. After deleting Ubuntu partition that is the final step.. Deleting Ubuntu folder from EFI via windows command line. – PRATAP Jun 13 '18 at 18:43
  • 2. via Ubuntu live session, you can access windows EFI folder and delete the same Ubuntu folder which lies in the EFI folder. – PRATAP Jun 13 '18 at 18:48
  • 2
    "In my current situation I'm not sure what to do. I want to nuke grub. I don't need it as I don't have any flavor of Linux installed. " Then why ask this on an Ubuntu related forum? You have a problem that is solved through Windows. Ask windows users about how to do that. Even the sheer amount of comments here is proof this is not for us. Find the equivalent of the old fixmbr for uefi. In Windows. – Rinzwind Jun 15 '18 at 7:37

Just install the Easy BCD and it will help you in restoring back the default boot loader option. Boot the Windows from grub and then restore the default using Easy BCD software.


You can try changing the boot mode to UEFI only..that worked for me..further if you want to boot ubuntu in UEFI mode,then create bootable usb using rufus.In Rufus there will be option for UEFI mode and Legacy(BIOS) mode.

Not the answer you're looking for? Browse other questions tagged or ask your own question.