I recently tried to reformat one of the partitions in my dual boot PC. I originally had XP and then installed 7 as a dual boot. Well, long story short, XP was having problems, so I reformatted the XP partition and lost my ability to dual boot.
I first tried EasyBCD, to fix the problem, but this made things worse. Upon restart I could no longer even load XP. Thus, I deleted the XP partition entirely in hopes to just have the Windows 7 partition and be able to boot.
Of course, this failed too and left me only able to boot from CD.
Is there any way I can fix this problem? I have tried commands in the command prompt off the 7 cd. I tried bootrec /rebuildbcd and got an "element not found" error. I then tried to make the partition active by using diskpart, but it give me a "the specified partition type is not valid for this operation" error.
Given CarpeNoctem's answer below I did bootsect /nt60 ALL. This completed successfully, but I'm still getting:
Verifying DMI Pool Data ......
Boot from CD/DVD: DISK BOOT FAILURE, INSERT SYSTEM DISK AND PRESS ENTER
I tried bootrec /fixmbr and a reboot, but still the same error. I've tried to erase the BCD files but it says access is denied on D: (my second partition) and it says it cannot find the specified file in C: (my erased partition). Next I did bootrec /rebuildbcd again, and it identified 1 Windows installation, C:\Windows, just like bootrec /scanos reports.
That's where I'm at.