我想将我的 MBR Windows 磁盘转换为 GPT,因为我无法升级到更高版本的 Windows。找到了就地升级工具 (mbr2gpt),但遇到了多个问题。
这是我的磁盘管理布局:
转换步骤:
当我运行命令行工具 MBR2GPT.EXE /convert /allowFullOS 时,它给出了错误:“找不到磁盘 0 的操作系统分区
之后,我尝试将驱动器号安装到我的 Windows 分区,以便使用本教程查找损坏的 bcd 数据:https://www.youtube.com/watch?v=E2a5Uqj02OM&list=WL&index=1&ab_channel=NehalJWani但是,当我尝试将驱动器号安装到我的分区时,我得到了虚拟磁盘服务错误
我现在很困惑该怎么做。下面,我将发布 setuperr.log + setupact.log + 一些我已经尝试过的额外信息/操作。如果这里有好心人能给我指明正确的方向,我将不胜感激 :)
尝试了各种步骤+其他信息:
- 重新启动虚拟磁盘服务+将其设置为自动
- 删除我的 Windows 驱动器上的交换文件
- 缩小我的 C: 盘
- 如果我检查我的 bios 安全启动是否已打开,并且 CSM 已被禁用。我觉得这很奇怪。可能是我的系统已经在 UEFI 中使用 MBR 样式的磁盘了吗?其他一些 bios 屏幕截图:https://i.stack.imgur.com/96E0q.jpg
- 我使用的是 Windows 1903 家庭版
- 我还没有尝试在恢复控制台中使用 mbr2gpt(目前)
编辑
看来我的 bios 模式已经处于 UEFI 模式,因为 msinfo32 表明我的 bios 处于 UEFI 模式。但是 diskmgmt 中的磁盘显示为 MBR。这让我得出结论,我的系统处于 UEFI/MBR 模式
安装日志:
2022-11-02 20:07:02, Error FindOSPartitions: Cannot open BCD for boot volume. Error: 0xC000000F
2022-11-02 20:07:02, Error Cannot find OS partition(s) for disk 0
2022-11-02 20:16:57, Error FindOSPartitions: Cannot open BCD for boot volume. Error: 0xC000000F
2022-11-02 20:16:57, Error Cannot find OS partition(s) for disk 0
2022-11-04 08:59:30, Error FindOSPartitions: Cannot open BCD for boot volume. Error: 0xC000000F
2022-11-04 08:59:30, Error Cannot find OS partition(s) for disk 0
2022-11-04 09:32:26, Error FindOSPartitions: Cannot open BCD for boot volume. Error: 0xC000000F
2022-11-04 09:32:26, Error Cannot find OS partition(s) for disk 0
安装日志
2022-11-04 09:32:26, Info MBR2GPT was explicitly asked to run in full OS mode.
2022-11-04 09:32:26, Info MBR2GPT: System disk number is 0
2022-11-04 09:32:26, Info MBR2GPT: Attempting to convert disk 0
2022-11-04 09:32:26, Info MBR2GPT: Retrieving layout of disk
2022-11-04 09:32:26, Info MBR2GPT: Initial partition information
2022-11-04 09:32:26, Info ===========================================================
2022-11-04 09:32:26, Info Partition layout for disk: 0
2022-11-04 09:32:26, Info Partition style : MBR
2022-11-04 09:32:26, Info MBR signature: 2928498858
2022-11-04 09:32:26, Info Number of partitions : 2
2022-11-04 09:32:26, Info ===================PARTITION===============================
2022-11-04 09:32:26, Info Number: 1
2022-11-04 09:32:26, Info Type: 7
2022-11-04 09:32:26, Info Boot: Yes
2022-11-04 09:32:26, Info Recognized: Yes
2022-11-04 09:32:26, Info Style: 0
2022-11-04 09:32:26, Info Offset: 1048576
2022-11-04 09:32:26, Info Length: 894715273728
2022-11-04 09:32:26, Info Volume: \\?\Volume{ae8d58aa-0000-0000-0000-100000000000}\
2022-11-04 09:32:26, Info Drive: C:\
2022-11-04 09:32:26, Info NT Path: \Device\HardDisk0\Partition1
2022-11-04 09:32:26, Info ===================PARTITION===============================
2022-11-04 09:32:26, Info Number: 2
2022-11-04 09:32:26, Info Type: 39
2022-11-04 09:32:26, Info Boot: No
2022-11-04 09:32:26, Info Recognized: Yes
2022-11-04 09:32:26, Info Style: 0
2022-11-04 09:32:26, Info Offset: 999654686720
2022-11-04 09:32:26, Info Length: 547356672
2022-11-04 09:32:26, Info Volume: \\?\Volume{ae8d58aa-0000-0000-0000-10c0e8000000}\
2022-11-04 09:32:26, Info Drive: None
2022-11-04 09:32:26, Info NT Path: \Device\HardDisk0\Partition2
2022-11-04 09:32:26, Info ===========================================================
2022-11-04 09:32:26, Info ESP partition size will be 104857600
2022-11-04 09:32:26, Info MBR2GPT: Validating layout, disk sector size is: 512 bytes
2022-11-04 09:32:26, Info BCD: Opening store. Flags: 0x0
2022-11-04 09:32:26, Info BCD: Store path: "\??\GLOBALROOT\device\harddisk0\partition1\Boot\BCD"
2022-11-04 09:32:26, Info BCD: Failed to load hive into key BCD00000000 from \??\GLOBALROOT\device\harddisk0\partition1\Boot\BCD. Status: c000000f
2022-11-04 09:32:26, Info BCD: BcdOpenStore: Failed to add store from file \??\GLOBALROOT\device\harddisk0\partition1\Boot\BCD. StoreFlags: 0x0 Status: c000000f
2022-11-04 09:32:26, Error FindOSPartitions: Cannot open BCD for boot volume. Error: 0xC000000F
2022-11-04 09:32:26, Error Cannot find OS partition(s) for disk 0
2022-11-04 09:32:26, Info MBR2GPT: Partition information at error point
2022-11-04 09:32:26, Info ===========================================================
2022-11-04 09:32:26, Info Partition layout for disk: 0
2022-11-04 09:32:26, Info Partition style : MBR
2022-11-04 09:32:26, Info MBR signature: 2928498858
2022-11-04 09:32:26, Info Number of partitions : 2
2022-11-04 09:32:26, Info ===================PARTITION===============================
2022-11-04 09:32:26, Info Number: 1
2022-11-04 09:32:26, Info Type: 7
2022-11-04 09:32:26, Info Boot: Yes
2022-11-04 09:32:26, Info Recognized: Yes
2022-11-04 09:32:26, Info Style: 0
2022-11-04 09:32:26, Info Offset: 1048576
2022-11-04 09:32:26, Info Length: 894715273728
2022-11-04 09:32:26, Info Volume: \\?\Volume{ae8d58aa-0000-0000-0000-100000000000}\
2022-11-04 09:32:26, Info Drive: C:\
2022-11-04 09:32:26, Info NT Path: \Device\HardDisk0\Partition1
2022-11-04 09:32:26, Info ===================PARTITION===============================
2022-11-04 09:32:26, Info Number: 2
2022-11-04 09:32:26, Info Type: 39
2022-11-04 09:32:26, Info Boot: No
2022-11-04 09:32:26, Info Recognized: Yes
2022-11-04 09:32:26, Info Style: 0
2022-11-04 09:32:26, Info Offset: 999654686720
2022-11-04 09:32:26, Info Length: 547356672
2022-11-04 09:32:26, Info Volume: \\?\Volume{ae8d58aa-0000-0000-0000-10c0e8000000}\
2022-11-04 09:32:26, Info Drive: None
2022-11-04 09:32:26, Info NT Path: \Device\HardDisk0\Partition2
2022-11-04 09:32:26, Info ===========================================================
2022-11-04 09:32:26, Info MBR2GPT: Conversion failed
bcedit /enum 固件
C:\windows\system32>bcdedit /enum firmware
Firmware Boot Manager
---------------------
identifier {fwbootmgr}
displayorder {bootmgr}
{ac07aa28-6f71-11ea-8bf8-806e6f6e6963}
{ac07aa29-6f71-11ea-8bf8-806e6f6e6963}
{0d46b7bc-5c18-11ed-8f77-806e6f6e6963}
{0d46b7bd-5c18-11ed-8f77-806e6f6e6963}
{0d46b7be-5c18-11ed-8f77-806e6f6e6963}
timeout 1
Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=C:
path \EFI\MICROSOFT\BOOT\BOOTMGFW.EFI
description Windows Boot Manager
locale en-us
inherit {globalsettings}
default {current}
resumeobject {ceda587d-5560-11ea-a58b-9646dbae1b76}
displayorder {current}
toolsdisplayorder {memdiag}
timeout 30
Firmware Application (101fffff)
-------------------------------
identifier {0d46b7bc-5c18-11ed-8f77-806e6f6e6963}
description UEFI:CD/DVD Drive
Firmware Application (101fffff)
-------------------------------
identifier {0d46b7bd-5c18-11ed-8f77-806e6f6e6963}
description UEFI:Removable Device
Firmware Application (101fffff)
-------------------------------
identifier {0d46b7be-5c18-11ed-8f77-806e6f6e6963}
description UEFI:Network Device
Firmware Application (101fffff)
-------------------------------
identifier {ac07aa28-6f71-11ea-8bf8-806e6f6e6963}
description UEFI: PXE IP4 Intel(R) Ethernet Connection (7) I219-V
Firmware Application (101fffff)
-------------------------------
identifier {ac07aa29-6f71-11ea-8bf8-806e6f6e6963}
description UEFI: PXE IP6 Intel(R) Ethernet Connection (7) I219-V
如果需要更多信息,请告诉我:)祝大家有美好的一天!
答案1
您将在文章中找到更多信息 在 Windows 10 中修复“MBR2GPT 无法找到操作系统分区”的最佳方法但需要注意的是,应该为 Windows 分区和系统保留分区分配驱动器号。
但由于此方法复杂且出现错误时很危险,因此本文建议使用第三方免费实用程序 AOMEI分区助手标准版。
请注意,您应该确保您的 BIOS 是 EFI 类型,否则此转换将导致您的磁盘无法启动。转换后,您可能需要调整一些 BIOS 参数,可能还需要对 Windows 进行启动修复(因此还要为 Windows 准备一个启动 USB 介质)。
请注意,在进行此转换之前最好做好备份,因为任何错误都会导致您的计算机无法启动。我还建议对整个磁盘进行映像备份,例如 AOMEI Backupper 免费软件,以及创建和测试其启动媒体,以便在发生最坏的情况时能够将磁盘恢复到以前的状态。
参考:微软的 启动MBR2GPT。