0

I have a lenovo z500 with dual boot Windows 8 and Ubuntu 13.04.
Recently I deleted the Linux partition (from windows disk manager) but did not remove the boot loader.Now the next time I booted it gave the following error.

No such partition found 
Grub rescue

I tried to make a super grub disk but when I insert it in the machine nothing happened it still gave the same response.

Please help.

Stormvirux
  • 4,536

1 Answers1

2

Your computer almost certainly uses EFI-mode booting, but Super GRUB 2 Disk works on a computer that boots in BIOS mode. The closest thing I'm aware of to Super GRUB 2 Disk for EFI-based systems is the USB flash drive or CD-R version of my rEFInd boot manager. You should be able to use it to get into Windows. For a longer-term solution, you should delete GRUB from the EFI System Partition (ESP) on your computer. You can do this from a Linux live CD or from Windows:

  1. Mount the ESP:
    • In Linux, the ESP is identified as having its "boot flag" set in parted or GParted. Find the ESP and mount it somewhere (/boot/efi is traditional, but a live CD is unlikely to have that mount point, so you can use somewhere else).
    • In Windows, open an Administrator Command Prompt window and type mountvol S: /S. You can use a mount point other than S:, if you like.
  2. Delete the EFI/ubuntu directory, and the files it contains, from the ESP.

Note that this procedure assumes that you have not run Boot Repair on the computer. If you've run Boot Repair, this procedure may be ineffective, but it should do no harm. If you've run Boot Repair and this procedure does not work, run Boot Repair again and select the option from the Advanced menu to restore backed-up files. That should get Windows booting again.

A couple of alternatives to this procedure are to install rEFInd to your hard disk (which might be desirable if you want to dual-boot with another OS) or to use efibootmgr in Linux to re-order the firmware's boot options. (EFI version 2 shells and some firmware user interfaces provide equivalent functionality to efibootmgr, too.)

Rod Smith
  • 45,120
  • 7
  • 66
  • 108