1

I had Ubuntu and Windows 10 dual booting on my laptop with grub.
I decided to go back to just Windows 10, hence I deleted the Ubuntu partitions.
Upon restarting my computer I am met with Error: no such partition and grub rescue.

I believe the Windows partition is okay but grub doesn't know how to navigate there.
How to I get back to my Windows OS through grub rescue, and how do I remove grub?

Kevin Bowen
  • 20,055
  • 57
  • 82
  • 84

1 Answers1

1

Prepare a bootable USB drive/CD/DVD with the exact same version Windows that you got installed on your PC. Boot from that CD/DVD/USB. Select your language and press Next. Then click on Repair your computer option in bottom left. Now you have to find and open Command Prompt. It is usually under Advanced options in Windows 8,8.1,10.

In the Command Prompt run these commands-

bootrec /fixmbr

bootrec /fixboot

bootrec /rebuildbcd

exit

Then restart your PC.

Note: This will only work on BIOS/MBR based dual-boot system. If you have UEFI based dual-boot follow this link.