0

A year ago I installed Ubuntu accidentally and now I've deleted the partition, and after that when I restarted my computer this showed up:

Error: no such partition.
Entering rescue mode...
grub rescue>

I have tried to enter the BIOS and change the boot settings so that it won't boot into grub but it didn't help.

  • Intel core I5-4440
  • Boot options:
  • HL-DT-ST DVDRAM GH24NSBO
  • HARD Disk: ST500DM002-1BD142

And then UEFI and USB...

I have Windows 10 installed.

Zanna
  • 70,465
Aviv
  • 1

1 Answers1

0

You had grub installed in your MBR (Master Boot Record) which overwrites your windows bootloader. When you removed your Ubuntu installation , the bootloader was probably removed as well. So what you need to do is recover MBR.

To do so first get a windows live cd (8 or 10). Then boot into that cd.

When the installer starts choose your language and click next. Now in the new window that opens you can see Repair my device option at the bottom. Select that.

Now go to Advanced Options and launch the Command .

After command opens type ;

bootrec /fixmbr

This command isn't necessary but I recommend it;

bootrec /fixboot

Now type exit and reboot. Everything should work fine now.

Thomas Ward
  • 74,764
codedump
  • 126