I have this situation: I have Windows 7 installed on my laptop. Then decided to install Ubuntu 12.10 alongside it. The installation was successful and I'm able to have a dual boot, Windows 7 and Ubuntu.
After sometime I decided to delete Ubuntu from my laptop so that I can use the space that was used by Ubuntu. I deleted the partition used by Ubuntu using the disk management of windows.
After restarting the laptop, Grub rescue appear and Windows 7 is not loading anymore. Trying to fix my problem, I decided to use the Linux live-USB with Ubuntu 12.10 on it. After the installation the loader screen appear, the Ubuntu and Windows 7 is already there. Trying to boot on Windows 7 by selecting it on the selection, error appears saying that the windows is not able to load due to some software changes.
What will I do to retrieve the windows and all the files on that partition? Your help will be greatly appreciated.
Best Answer
Here are the ways to fix your Windows XP/Vista/7/8 bootloader:
Using Windows installation disc:
From there, type in the following 2 commands:
bootrec /fixboot
bootrec /fixmbr
Now close the two windows and click "Restart." Take out your Windows DVD and hopefully, you will be left with your Windows bootloader.
Using Boor-Repair disk:
In Advanced options of the Boot Repair disc, choose to Restore MBR under the Main options. Next under MBR options select the Windows 7 partition for Partition booted by the MBR option. Then click the Apply button.