Windows 8 无法启动,BCD 错误

mar*_*tin 6 boot mbr bcd windows-8

我的 Windows 8 笔记本电脑有启动问题。当 Windows 尝试启动时,我收到此错误消息:

Boot configuration data is missing  
File: \BCD  
Error code: 0xc0000034  
Run Code Online (Sandbox Code Playgroud)

所以按照建议我启动到控制台并尝试:

bootrec /fixmbr
bootrec /fixboot
bootrec /scanos
bootrec /rebuildbcd
Run Code Online (Sandbox Code Playgroud)

在我得到最后一个命令之后:

Total identified win installations:1
[1] C:\Windows 
Add installation to boot list? 
Run Code Online (Sandbox Code Playgroud)

我输入了y所以我想添加安装,但得到了回复:

The requested system device cannot be found. 
Run Code Online (Sandbox Code Playgroud)

作为解决方案,我找到了一个磁盘部分 - 选择并激活 OS 分区,所以我选择了 OS 分区并输入:

active
Run Code Online (Sandbox Code Playgroud)

我得到了一个回复:

The selected disk is not a fixed MBR disk. 
The active command can only be used on fixed MBR disks. 
Run Code Online (Sandbox Code Playgroud)

如何解决这个问题,让 Windows 8 正确启动?我的笔记本电脑是旧电脑的维修。

小智 5

此页面帮助我在升级 Bios 后在 UEFI ASRock X79 Extreme 9 上恢复了适用于 Windows 7 的 Intel RSTe Raid SSD 配置上的 BCD。

diskpart
list disk
select disk 0 #Select the desired disk
create partition efi size=100
list partition #Make sure that the 100mb partition is selected
format quick fs=fat32 label="System"
assign letter=B
create partition msr size=128
list partition #Check for errors
list vol
select vol 3 #Use the number corresponding to your windows installation
assign letter=C
exit
Run Code Online (Sandbox Code Playgroud)

现在通过键入以下内容复制 EFI 文件:

mkdir B:\EFI\Microsoft\Boot
xcopy /s C:\Windows\Boot\EFI\*.* B:\EFI\Microsoft\Boot
Run Code Online (Sandbox Code Playgroud)

现在我们将通过键入以下内容来设置引导配置数据:

b:
cd EFI\Microsoft\Boot
bcdedit /createstore BCD
bcdedit /store BCD  /create {bootmgr} /d “Windows Boot Manager”
bcdedit /store BCD /create /d “Windows 7” /application osloader
#This will return a GUID, referred to later as {guid}
bcdedit /store BCD /set {bootmgr} default {guid}
bcdedit /store BCD /set {bootmgr} path \EFI\Microsoft\Boot\bootmgfw.efi
bcdedit /store BCD /set {bootmgr} displayorder {default}
#Now it's not {bootmgr} anymore but {default}!
bcdedit /store BCD /set {default} device partition=c:
bcdedit /store BCD /set {default} osdevice partition=c:
bcdedit /store BCD /set {default} path \Windows\System32\winload.efi
bcdedit /store BCD /set {default} systemroot \Windows
exit
Run Code Online (Sandbox Code Playgroud)

归功于:http : //www.hasper.info/repair-a-destroyed-windows-7-uefi-boot-sector/


mar*_*tin 1

当我尝试刷新计算机时(在找不到解决方案后),我收到错误消息,如下所示:

PC can't be refreshed, because your disk is locked.

因此,我按照本教程所述绑定解锁 HDD ,但使用 Windows 8 安装光盘。

我选择安装,几秒后报错:

Bad serial number ...

我通过单击“确定”按钮提交了此窗口。提交后我选择

Turn off computer

在 Windows 安装菜单中。关闭并启动后一切正常,无需其他步骤