I have a Windows 10/Xubuntu dual boot, and decided to get rid of Xubuntu, and just have Windows 10. I followed this tutorial to get rid of Xubuntu. When I reboot after using the "bootrec.exe /fixmbr" command, however, the computer boots into the grub-rescue menu. Does this mean that grub wasn't actually uninstalled, and, if so, how do I fix it? If that's not the case, how to I get past the grub-rescue menu?

  • UEFI or legacy BIOS? It makes a difference. MBR is irrelevant if the PC is booted with UEFI. Jul 3, 2017 at 17:26
  • @JohanMyréen UEFI
    – HungryHobo
    Jul 3, 2017 at 18:23

2 Answers 2


In UEFI grub is installed in EFI system partition at /EFI/OS/grub.cfg. You have to delete grub from there.

Boot into live USB. Run:

mount /dev/sda1 /mnt

/dev/sda1 is most likely the name of EFI partition. Use fdisk -l to list all partitions.

Go to /mnt/EFI/OS(XUbuntu) and delete grub from there or just delete this /OS(XUbuntu) directory.


Grub may have been installed to a partition instead of the mbr. If this is the case all you need to do is fire up fdisk or your favorite partition editor and make sure that the windows partition is active ant that it is the only active partition. This should do the trick since you already ensured that you have a valid mbr.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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