I had dual boot with linux and win7. I tried to format c drive to install win7 but I ended up in a black screen giving me:
error: no such partition.
Entering rescue mode...
I tried few commands and few steps but they didn't help me... I don't have DVD drive and USB is not working... Please get me out of this black screen...
grub rescue> ls
(hd0) (hd0,msdos5) (hd0,msdos2) (hd0.msdos1)