NTFS partition accidentally turned into a unknown filesystem type

filesystemsntfs

I had an XP partition set as my boot partition, set to the left of my Windows 7 partition. I deleted the XP partition and expanded the 7 partition to the left. I tried to restore the MBR using ms-sys -m /dev/sda. After that didn't work I tried the same thing, except with -w instead of -m. Now, the Ubuntu Live CD shows the partition as an unknown filesystem.

I've tried the following:

Best Answer

Boot up with the Windows 7 DVD. Select the language and click Next. In the lower right corner, click Repair your computer (instead of the giant Install Now button in the middle of the screen).

Choose the Windows installation, click on an Administrative user, then OK. You'll see the Command Prompt as the last or second to last option. Click that.

Type bootrec /fixmbr and press Enter. Then type x:\boot\bootsect /nt60 all /force, replacing x: with the DVD drive detected, then press Enter. Then type bootrec /rebuildbcd and press Enter. Assuming it finds the Windows installation, you're off to the races

Related Question