0

I dual booted my system with Windows 7 and Ubuntu 14.0.4. I deleted the Ubuntu partition and now on booting the system says error : no such partition and grub rescue>.

I searched for the solution online but all the answers required me to know the partition in which Ubuntu was installed, which I don't remember, and it doesn't exist anymore since I deleted it.

Furthermore, to make things worse, I do not have the Windows repair CD so I can reinstall the bootloader.

Zanna
  • 72,312

1 Answers1

0

It is possible to repair GRUB using the boot repair tool which is usually reasonably reliable at identifying the correct partitions etc. You will need a live CD to boot on and then you can install the repair tool. You need to follow the second option in this link https://help.ubuntu.com/community/Boot-Repair

In short these are the commands you will need to run:

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair
boot-repair

NB: This will only work if all your Linux partitions are still intact (which in your case they may not be), however a report will be generated which will include a partition table which you could add to your question if this does not work.

Another option for you could be to try the repair Windows boot files under 'other options' in the advance options in boot repair. I have never made use of this option so cannot vouch for its reliability.

Cristiana Nicolae
  • 4,570
  • 10
  • 32
  • 46
Jakob45
  • 93