如何修复 Windows 8 启动管理器?

Hul*_*ann 5 windows bootmgr windows-8

由于我没有 CD-ROM,这是我安装 Win8 时所做的:

  1. 创建一个分区 X: (NTFS) 并将其设置为 ACTIVE ONE,然后将 Windows 8 安装文件放在那里
  2. 打开命令提示符并输入 bootsect.exe /n60 X:
  3. 重新启动我的计算机,并自动启动到 Windows 8 安装程序,
  4. 在分区 C: 上安装了 Windows 8 并格式化了分区 C:,一切安装完毕,安装完成后,会出现一个多选菜单,内容如下:

    Windows 8 Windows 设置

我相信我的错误是没有将分区 C: 设置回活动分区,在安装过程中它会询问您要安装哪个分区。我刚刚格式化 C: 但忘记将其设置为 ACTIVE ONE。

这是我的分区的外观:

C:(Boot,Page file,Crash dump, Primary partition)
X:(System,Active,Primary partition) <<< this one became hidden
Run Code Online (Sandbox Code Playgroud)

bcdedit /enum

Windows Boot Manager
--------------------
identifier {bootmgr}
device device partition=\Device\HarddiskVolume6
description Windows Boot Manager
locale en-US
inherit {globalsettings}
integrityservices Enable
default {current}
resumeobject {d83e2461-3627-11e2-b0f9-efb109b9309a}
displayorder {current}
{7619dcc9-fafe-11d9-b411-000476eba25f}
toolsdisplayorder {memdiag}
timeout 30

Windows Boot Loader
-------------------
identifier {current}
device partition=C:
path \Windows\system32\winload.exe
description Windows 8
locale en-US
inherit {bootloadersettings}
recoverysequence {d83e2463-3627-11e2-b0f9-efb109b9309a}
integrityservices Enable
recoveryenabled Yes
allowedinmemorysettings 0x15000075
osdevice partition=C:
systemroot \Windows
resumeobject {d83e2461-3627-11e2-b0f9-efb109b9309a}
nx OptIn
bootmenupolicy Standard

Windows Boot Loader
-------------------
identifier {7619dcc9-fafe-11d9-b411-000476eba25f}
device ramdisk=[boot]\sources\boot.wim,{7619dcc8-fafe-11d9-b411
-000476eba25f}
path \windows\system32\boot\winload.exe
description Windows Setup
locale en-US
inherit {bootloadersettings}
osdevice ramdisk=[boot]\sources\boot.wim,{7619dcc8-fafe-11d9-b411
-000476eba25f}
systemroot \windows
bootmenupolicy Standard
detecthal Yes
winpe Yes
ems No
Run Code Online (Sandbox Code Playgroud)

我想要的是让 X: 分区成为一个毫无价值的分区,只包含 Windows 8 安装文件,并且一切看起来就像我从 CD-ROM 安装的一样。

最好我想要BCDEDIT命令。这是否意味着我必须将引导文件或引导管理器移动到 C:?

Har*_*ton 1

您需要使用该bcdboot命令将引导加载程序安装到 C 分区。然后,您可以使用 使 C 分区处于活动状态diskpart

bcdboot.exe可以在 Windows 安装分区上找到。为其分配一个驱动器号,或引导到它并转到命令行修复选项。(您还可以通过按 SHIFT-F10 从 Windows 安装程序打开命令行窗口。)

命令是:

bcdboot c:\windows /s c:
Run Code Online (Sandbox Code Playgroud)

第一个参数指定您希望能够启动的 Windows 实例,第二个参数指定您希望将哪个分区设为可启动。

由于您没有 DVD 驱动器,我强烈建议您首先为自己制作一个可启动 USB 记忆棒(并进行测试!),以防万一您犯了错误或出现故障而导致 HDD 无法启动。