I know this question has been asked before but I've tried all the usual fixes and nothing works.

Basically the hard drive had two partitions with Vista and Windows 7. I've deleted the Vista partition to make more room and expanded the Windows 7 partition to fill the drive (using GParted).

I've tried:

  1. Running Startup Repair - it doesn't find any problems.
  2. Setting partition to Active - worked.
  3. bootsect /nt60 c: - worked.
  4. BootRec /FixMbr - worked.
  5. BootRec /FixBoot - worked.
  6. BootRec /ScanOs - I get the message "Total identified Windows installations: 0"
  7. BootRec /RebuildBcd - I get the message "Total identified Windows installations: 0"

BcdEdit shows a Windows Boot Manager and a Windows Boot Loader, both on C: partition.

[Update]

  1. Rename BCD and rerun BootRec /RebuildBcd - worked.
  2. Copy bootmgr from DVD - blocked because the file's already there.

[Update 2]

I found an article here that mentioned some other commands.

  1. C:\chkdsk /f /r - worked.
  2. sfc /scannow /offbootdir=c:\ /offwindir=c:\windows - worked (see here).

What else can I try?

link|improve this question

62% accept rate
Are you sure you are using a repair console for the exact same version of Windows you are trying to repair? – David Schwartz Nov 17 '11 at 20:35
Yes, I created the repair DVD yesterday before I started. – parsley72 Nov 17 '11 at 22:12
possible duplicate of Bootmanager is missing – JdeBP Nov 18 '11 at 0:11
I've already tried everything in the top answers there. I'll try the rest tonight. – parsley72 Nov 18 '11 at 0:45
Next time, use diskpart from Windows instead of GParted. – ZippyV Nov 23 '11 at 20:46
feedback

2 Answers

I guess that you had Vista on the disk as partition 1 and then Windows 7 as partition 2, then deleted Vista, meaning that Windows 7 is now on partition 1.

Unfortunately, Windows identifies its partitions by their numbers, so that all partition references in the Windows 7 registry are now incorrect and unusable.

I believe that you will have to reinstall Windows 7. A simple Repair Installation should be enough, and will only refresh Windows and not disturb the installed applications.

Or, for the sneaky solution, you could create some small empty space on the disk before the Windows 7 partition and format it as NTFS, in effect recreating a surrogate dummy partition 1 that will restore the Windows 7 partition to its number 2 position on the disk. You might still need to do again Startup Repair.

[EDIT]

You could force Windows to recreate the BCD store partition by booting from the DVD into the Command Prompt option of Repair and entering :

bcdedit /export C:\BCD_Backup
ren c:\boot\bcd bcd.old
bootrec /rebuildbcd

In case of a permissions problem, use the command attrib bcd -s -h -r before the rename. Reboot, and if it doesn't work then do Startup Repair again.

Another desperate solution is to assume that bootmgr got corrupted and boot as above and do :

ren c:\bootmgr deletemelatter
bootrec /rebuildbcd
bootrec /fixboot

If nothing works, just reformat the entire disk and install from scratch. Not every problem can be analyzed or has a solution.

link|improve this answer
Can you fix the link? I think I've already tried this but I want to check what you're suggesting. – parsley72 Nov 20 '11 at 22:24
Done - link repaired. – harrymc Nov 21 '11 at 6:44
I tried this the other day but I selected the option to install a new version of Windows 7 and it told me I didn't have enough room. I understand what you're saying about partition references, but why is the Windows 7 registry required to load BootMgr? Surely BootMgr is required to boot Windows 7 so the registry can be loaded, not the other way round? – parsley72 Nov 21 '11 at 6:58
Values from the registry are read by BootMgr during the boot, so the registry is essential for launching Windows. I rather wonder why you didn't have enough space. Repair Installation might not give you the same error, but remark that running Windows without enough free space on the system disk is dangerous. If a new Windows installation is a possibility, then you might just as well format the disk and reinstall. – harrymc Nov 21 '11 at 8:16
But the problem here is that it's not finding the BootMgr Surely nothing will be reading the registry before the BootMgr? – parsley72 Nov 22 '11 at 0:20
show 4 more comments
feedback
up vote 1 down vote accepted

I fixed it by:

  1. Back up the partition to an external drive (using GParted).
  2. Delete the partition.
  3. Reinstall Windows 7 on the (now empty) drive.
  4. Copy the contents of the partition over the fresh install of Windows (using System Rescue CD).

Windows now boots correctly and looks exactly the same as before.

link|improve this answer
Interesting. This seems to indicate that faced with an empty disk, Windows installation does extra initializations that are not done for repair. My advice of clearing out the BCD store might have had the same effect or might not, maybe not. It is because of such unknowns that if the usual solutions don't work, one should reformat the disk and start afresh (as I also advised). You were real lucky to have been able to keep your Windows partition, which probably worked only because you have already done Startup Repair on it, which has fixed up the registry but not all of the boot-sector(s) files. – harrymc Nov 23 '11 at 9:44
As mentioned above, I tried the bcdedit export, rename and rebuild and it didn't work. – parsley72 Nov 23 '11 at 18:45
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.