Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bootmgr is missing: how to replace windows 7 embedded boot files after applying image in WinPE #4

Closed
sylhare opened this issue Dec 26, 2017 · 2 comments

Comments

@sylhare
Copy link
Owner

sylhare commented Dec 26, 2017

After trying #2

am trying to place the image on a partitioned data drive which was set as active. After applying the image I know the boot files are not applied as I get the message "BOOTMGR is missing" after rebooting. In WinPE I tried

D:\Windows\System32>bcdboot d:\windows /s c:

The error I get when I try and load the boot files this way is:

BFSVC: Failed to create a new system store. Status = [c000003a]

link

@sylhare
Copy link
Owner Author

sylhare commented Dec 26, 2017

Validate and Fix the File System

This runs the check disk program to detect and attempt to repair problems on one partition. For example, to repair the C: drive:

  • At the prompt type: chkdsk c: /r /f

Repair the Boot Process

Typically this is used if Windows doesn't start and you can't get to the safe mode menu. You might also replace the Master Boot Record (MBR) and boot sector if you suspect a virus infection. There are four options:

New MBR

Insert a new generic MBR without changing the partition table.

  • At the prompt, type: bootrec /FixMbr

New Boot Sector

Insert a new Windows 7/Vista compatible boot sector. It will automatically insert the right type of sector for the file system type (NTFS, FAT32, etc.)

  • At the prompt, type: bootrec /FixBoot

Rebuild BCD

Rebuild the Boot Configuration Data (BCD). The BCD controls which partition boots. This option will let you select which installations to include in the BCD.

  • At the prompt, type: bootrec /RebuildBcd

Find OSes

Scan the system for all OS installations that are compatible with Vista/2008 and will also show those that are currently included in the BCD.

  • At the prompt, type: bootrec /ScanOs

Solution

To solve the problem, try:

  • C:/expand bootmgr temp

And create a new bcd file :

  • bcdboot d:\windows /s c:

@sylhare
Copy link
Owner Author

sylhare commented Dec 26, 2017

Since it all appeared with the removal of Grub from an old ubuntu installed via Wubby on Windows, I tryed some solution found on their forum, this one seemed to have worked to repair the MBR files (which wear the problematic one).

In the DiskRepair utility to repair the mbr file :

bootsect /nt60 all /mbr

To start the Diskrepair utility check this comment on #3

@sylhare sylhare closed this as completed Dec 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant