Previously I had installed the Ubuntu 10.04 and Windows 7.
Now I logged on to Windows, opened thepartition editor and deleted the volume containing the Ubuntu (Thought it will delete the Ubuntu and it might help me install another OS)and I restarted the system.
Grub rescue prompt is there.
I want to logon to Windows. How can I do that?
In Grub rescue, I tried the following:
ls (hd0) (hd0,3) (hd0,2) (hd0,1) (hd1) (hda1,1)
Tried all combination of the ls (hdax)/, which threw me error: Unknown Filesystem.
I tried this: 1) rootnoverify (hd0,0) 2) chainloader +1 3) makeactive 4) boot. It threw me Unknown command.
I installed Ubuntu from the USB. Now when I restarted the system, I got the grub, showing old Windows and the newly installed Ubuntu. I happily logged onto windows. Then I used standard procedure to remove ubuntu, so as not to have grub rescue.