So I was using Windows 7 and the latest version of Ubuntu on dual boot. I decided to remove my Ubuntu OS so I deleted my Ubuntu partition in 'windows disk management' and alloted the free space to create a new disk.
After that I tried to upgrade my windows 7 to 8 using the windows upgrade tool. The ISO was downloaded and was installing. After some time when the OS had to restart the computer to complete the remaining progress it got struck in grub rescue.
Nothing is helping me out to get out of it. I can't even access anything. I tried the solution given on some forums Where I change the file system to by set prefix = (hdx,Y)/boot)
But the problem is all my file systems are unknown when I try to open it through the 'ls' command. So no file system is allowing me to boot it to normal mode.