I had WinXP on it, and recently partitioned it and added Linux to experiment with. After adding Linux, I could still boot into windows with no problems (using Grub from mbr).
A few days later, when I tried to boot to Windows I got a blue screen and an error message I can't remember. I followed some advice I got on the net using the recovery console (can't recall exactly what), which stopped windows booting completely and made the drive unreadable from Linux. I now pick my advice more carefully.
I then ran testdisk from Linux, and discovered the partition was set to FAT12. I set it back to x07 - NTFS, and I can now read the files from within Linux.
If I try to boot to windows from Grub, it lists the grub commands on the screen and then freezes with a blinking cursor.
As I can re-install Grub from CD, I used the WinXP CD recovery console and ran fixmrb and fixboot c: to try to restore the original windows mbr and the partition boot sector. If I try to boot straight into windows, I get the POST screen and then a black screen with a flashing cursor and nothing happens. I'm assuming there's either something wrong with the code in the boot sector, or some other file it needs that can't be found.
I've tried running a repair install a couple of times (runs, reboots back to black screen with cursor), and I've tried running chkdsk /r a few times.
Looking at the windows partition from Linux, everything seems to be fine.
Any suggestions as to how I can restore Windows? If possible, I'd like to avoid doing a HD format, complete install, and then having to download/update/reinstall all my old windows programs again.