I deleted the partition containing Ubuntu from my computer -- manage -- disk management and now my laptop is showing:
error: no such partition.
grub rescue> 3
Please tell me how can I open my regular Windows 7 now.
I'm not 100% sure of this, but you could try those steps:
Install Boot-Repair in the installed Ubuntu
Run this command to add the ppa that contains Boot-Repair:
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
Run this command to install Boot-Repair:
sudo apt-get install -y boot-repair && (boot-repair &)
After that: perform the "Recommended repair" (a topic at the link above)
Recommended repair
launch Boot-Repair from either :
- the Dash (the Ubuntu logo at the top-left of the screen)
- or System->Administration->Boot-Repair menu (Ubuntu 10.04 only)
- or by typing 'boot-repair' in a terminal
Then click the "Recommended repair" button. When repair is finished, note the URL (paste.ubuntu.com/XXXXX) that appeared on a paper, then reboot and check if you recovered access to your OSs.
If the repair did not succeed, indicate the URL to people who help you by email or forum.
It's possible in that installing Ubuntu after Windows you replaced the windows boot manager with GRUB and therefore when you removed Ubuntu you damaged/removed GRUB files which only allowed you to access the GRUB menu you're presented with.
Try running the Windows 7 repair disc and accessing the CMD. From there try:
bootrec /fixboot
And
bootrec /fixmbr
Your best bet is with the /fixmbr
as it simply repairs the master boot record.