hi friends.. I got some problem with my new laptop... I tried to partition my hard's free space and by mistake a have mark a drive as the active.And when I try to restart the laptop it says "boot-mgr is missing".Can anyone explain how to fix this using a usb flash drive please... Thank You all for your time...

Dani AI

Generated

As pointed out, Windows 7 usually keeps boot files on a small separate "system" partition (or on the OS partition when no System Reserved exists). Marking the wrong partition active makes the firmware/BIOS hand control to a partition that lacks the boot manager, which produces the "BOOTMGR is missing" message. The standard repair path is to boot the machine from Windows 7 install/repair media and either run Startup Repair or fix the active/BCD state from a command prompt.

Typical, safe sequence (from a Windows 7 Repair Command Prompt):

diskpart
list disk
select disk 0
list partition
select partition <N>    # choose the 100 MB "System Reserved" if present; otherwise the Windows partition
active
exit

bootrec /fixmbr
bootrec /fixboot
bootrec /scanos
bootrec /rebuildbcd

If /rebuildbcd reports no installations, assign a drive letter to the System Reserved (or Windows) volume and recreate BCD:

diskpart
select vol <X>
assign letter=S
exit

bcdboot C:\Windows /s S:

Notes and cautions: drive letters in the recovery environment may not match their normal letters; use diskpart/list vol to confirm which volume holds Windows. On UEFI/GPT systems the EFI partition must be repaired (use bcdboot targeting the EFI system partition) rather than the MBR-oriented commands above. If no Windows media is available, a Windows 7 System Repair Disc or a bootable Windows 7 USB (created on another PC) is required; alternatively a Linux live-USB can be used only to back up files before attempting repairs.

Avoid flipping the active flag by trial and error — that can make recovery harder. If the drive contains important data and confidence is low, obtain a second machine or a USB adapter to make a backup before changing partition flags or rebuilding BCD.

Recommended Answers

All 3 Replies

Without even knowing what version of windows you have, nope!

Without even knowing what version of windows you have, nope![/QUOT

I'm using Windows seven 64.. Can You help me please..? thanks for the reply

Right, windows 7 has a different way of booting compared to most other OS's.
It has it's own separate boot partition. You need to check that that partition is intact.
You will need your windows 7 install DVD in order to fix your problem. It should be able to automatically repair the problem when booted from.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.