Original post : Error: no such partition. Grub rescue Fix for Windows XP, Vista, 7.
bootrec.exe
bootcfg /rebuild
exit
C:\
bootrec /fixmbr bootrec /fixboot bootrec /rebuildbcd
diskpart list part
select partition x active quit
These steps apply only for Windows 7 users.
diskpart select disk 0 list volume
D:
exit D: cd boot dir
bootsect.exe
bootsect /nt60 SYS /mbr