BootMgr is missing, usual fixes don't work
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:
- Running Startup Repair - it doesn't find any problems.
- Setting partition to Active - worked.
-
bootsect /nt60 c:
- worked. -
BootRec /FixMbr
- worked. -
BootRec /FixBoot
- worked. -
BootRec /ScanOs
- I get the message "Total identified Windows installations: 0" -
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]
- Rename BCD and rerun
BootRec /RebuildBcd
- worked. - Copy bootmgr from DVD - blocked because the file's already there.
[Update 2]
I found an article here that mentioned some other commands.
-
C:\chkdsk /f /r
- worked. -
sfc /scannow /offbootdir=c:\ /offwindir=c:\windows
- worked (see here).
What else can I try?
I fixed it by:
- Back up the partition to an external drive (using GParted).
- Delete the partition.
- Reinstall Windows 7 on the (now empty) drive.
- 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.
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.
Please make sure that the Windows 7 Recovery partition is set as the active!!
I was having trouble because the active partition was set to C:\
Had the same issue and the below fixed it for me, assuming that you already know and started the rescue disk in Command Promt, I used the tool bcdboot.exe to recreate BCD:
bcdboot c:\Windows /l en-gb /s x:
Where x
is the drive that has the System
label.