I had Windows 7 and Ubuntu on my hard disk. I had installed Ubuntu using Wubi. To uninstall Ubuntu I deleted the Ubuntu partitions from Windows 7 Disk Management. When I re-boot my computer it shows grub rescue>. What do I need to do to re-gain access to Windows? I do not have a Windows 7 DVD. Commands like rootnoverify, chainloader do not work in grub rescue. I get an unknown command error. PS: I am posting this from another computer :)
It doesn't sound like you installed with Wubi as it a) doesn't create partitions and b) doesn't install the Grub bootloader to the drive MBR. What is more likely is that you did a normal dual boot, and now that you've removed the Ubuntu partitions, Grub can no longer boot (most of Grub's code is stored on the partition and without it you end up at a Grub rescue prompt). I doubt that you can boot Windows from the grub rescue because you've remove the partitions already (you'll need grub modules to boot).
So what you need to fix it is to reinstall a Windows bootloader, either from a Windows repair CD prompt:
bootrec /fixmbr, or you can install something like lilo from a linux live CD:
sudo apt-get install lilo sudo lilo -M /dev/sda mbr
Or if you use something like boot-repair it will install another Windows-style bootloader. Either of these will get Windows booting again.
PS if you use
lilo then you'll get a big warning while installing, which you can safely ignore.
Don't worry I have a nice solution.
If you want to keep just windows follow this guide
. you will need Windows Installation Disk or Windows Repair disk.
To Create Windows 7 Repair disk , Get any PC or laptop having Windows 7. On start button search menu type "CREATE System REPAIR DISK", select option comes
You will be ask for a Blank DVD, Insert Disk and Burn It, Make a .ISO file with using software named "POWER ISO" In windows 7.
With using Power ISO you will be able to Make bootable pendrive of windows 7 disk by going in TOOLS > Create Bootable USB Or PENDRIVE.
Provide it path of .iso file earlier you created. Now you will be able to run your Pendrive as a repair Disk.
To remove GRUB:
Grab a Windows recovery media or installation CD and boot from it. You should see this on a recovery media.
You should see this on an installation media. Click "Repair your computer" and you
Open the Command Prompt, then type
into the Command Prompt.
Reboot your system now you will be able to load your windows 7.
If you want to repair grub and dual boot windows 7 and ubuntu then you have to fix grub follow this guide to do it.
You need Ubuntu 12.04 livecd for repairing grub boot loader . Here assuming the Ubuntu partition is sda7. Boot up ubuntu from the livecd,open terminal and run:
sudo -i and see what is your linux partition and note it I assume it sda7 here.
mount /dev/sda7 /mnt mount /dev/sda7 /mnt/boot grub-install --root-directory=/mnt/ /dev/sda mount --bind /proc /mnt/proc mount --bind /dev /mnt/dev mount --bind /sys /mnt/sys chroot /mnt update-grub umount /mnt/sys umount /mnt/dev umount /mnt/proc exit
This will Solve your problem