Far*_*arO 2 mbr gpt boot-partition windows-10
根据如何在不重新安装的情况下将 Windows 10 从 BIOS/MBR 启动迁移到 UEFI/GPT?我可以将我的系统磁盘转换为 GPT,而无需使用 Windows 10 CU 提供的 MBR2GPT 工具重新安装。我目前也在使用 Windows 10 Creators 更新。
我尝试过,但收到关于“找不到操作系统分区”的错误消息。
这是完整的日志:
2017-06-14 00:26:34, Info MBR2GPT was explicitly asked to run in full OS mode.
2017-06-14 00:26:34, Info MBR2GPT: System disk number is 0
2017-06-14 00:26:34, Info MBR2GPT: Attempting to validate disk 0
2017-06-14 00:26:34, Info MBR2GPT: Retrieving layout of disk
2017-06-14 00:26:34, Info MBR2GPT: Initial partition information
2017-06-14 00:26:34, Info ===========================================================
2017-06-14 00:26:34, Info Partition layout for disk: 0
2017-06-14 00:26:34, Info Partition style : MBR
2017-06-14 00:26:34, Info MBR signature: 1967564465
2017-06-14 00:26:34, Info Number of partitions : 2
===================PARTITION===============================
Number: 1
Type: 7
Boot: Yes
Recognized: Yes
Style: 0
Offset: 1048576
Length: 499621322752
Volume: \\?\Volume{7546a6b1-0000-0000-0000-100000000000}\
Drive: C:\
NT Path: \Device\HardDisk0\Partition1
===================PARTITION===============================
Number: 2
Type: 7
Boot: No
Recognized: Yes
Style: 0
Offset: 499628171264
Length: 477078016
Volume: \\?\Volume{7546a6b1-0000-0000-00e0-285474000000}\
Drive: None
NT Path: \Device\HardDisk0\Partition2
===========================================================
ESP partition size will be 104857600
MBR2GPT: Validating layout, disk sector size is: 512 bytes
Opening store. Flags: 0x0
Store path: "\??\GLOBALROOT\device\harddisk0\partition1\Boot\BCD"
Loaded hive at BCD00000000
Opening object {9dea862c-5cdd-4e70-acc1-f32b344d4795}
FindOSPartitions: Default boot entry: {ECE3CBB0-2B25-11E7-9886-AC950A4FD9A0}
Opening object {ece3cbb0-2b25-11e7-9886-ac950a4fd9a0}
VERBOSE: Device path: \Device\HarddiskVolume1
VERBOSE: Dos path: \\?\GLOBALROOT\Device\HarddiskVolume1
FindOSPartitions: Volume name for the default boot entry: \\?\Volume{7546a6b1-0000-0000-0000-100000000000}\
Opening object {1eb788fe-2b26-11e7-9886-ac950a4fd9a0}
GetOSDeviceVolume: Cannot get NT path for entry.[gle=0x000000ea]
FindOSPartitions: Cannot get volume name for the recovery boot entry. Error: 0x000000EA[gle=0x000000ea]
Cannot find OS partition(s) for disk 0[gle=0x000000ea]
Run Code Online (Sandbox Code Playgroud)
我不清楚发生了什么。
我知道我的系统最初有另一个 SSD,我使用 Samsung 工具将操作系统从该 SSD 移到当前的,后来用于 Hackintosh with Chameleon (UEFI) 引导加载程序。现在那个磁盘不见了。
尽管如此,Windows 10 启动良好(当然没有安全启动)。为什么找不到操作系统分区?
重要信息
既然问了这个问题,我就格式化并从头开始。我将无法测试任何答案,因此不会接受任何答案。任何主管此事的人都应该利用这个机会投票赞成或反对最终将发布的任何答案。
小智 8
为了澄清@merle 的非常有用的答案 - 我必须运行下面的命令将我的工作 EFI 引导数据复制到 mbr2gpt 可以找到它的地方。
bcdboot c:\Windows /f bios /s c:
Run Code Online (Sandbox Code Playgroud)
完成此操作后,您应该能够成功运行 mbr2gpt。
注意:我的系统已经在 UEFI 模式下启动到 MBR 磁盘,这就是为什么在典型位置没有 BCD 数据的原因。这应该可以解决这个问题并允许 mbr2gpt 做它的事情。
小智 5
我已经尝试了所有提到的解决方案,但没有一个对我有用。不过,我找到了问题的主要原因并解决了。当我运行 diskpart 并查看分区的详细信息时,我发现只有系统保留分区被标记为“活动”,而“C”分区则没有,所以我只需将其设置为“活动”,然后运行 mbr2gpt 就可以了。
一切顺利!
小智 3
对于我的情况,我正在启动 UEFI/MBR,并且我怀疑这也可能是这种情况,因为您使用的是 Chameleon UEFI 引导加载程序。
MBR2GPT.exe 假设 BIOS 启动并检查 BIOS BCD 存储
[系统分区] \Boot\BCD
而不是找出实际的系统存储所在的位置。我的 BIOS BCD 有无效条目,因此 MBR2GPT 正确地抱怨它找不到不存在的恢复卷。我用 EFI BCD 替换了 BIOS BCD
[系统分区] \EFI\Microsoft\Boot
并且能够运行 MBR2GPT。
C:\Windows\system32>MBR2GPT.EXE /convert /allowfullos
MBR2GPT will now attempt to convert the default book disk.
If conversion is successful the disk can only be booted in GPT mode.
These changes cannot be undone!
MBR2GPT: Attempting to convert disk 3
MBR2GPT: Retrieving layout of disk
MBR2GPT: Validating layout, disk sector size is: 512 bytes
MBR2GPT: Trying to shrink the OS partition
MBR2GPT: Creating the EFI system partition
MBR2GPT: Installing the new boot files
MBR2GPT: Performing the layout conversion
MBR2GPT: Migrating default boot entry
MBR2GPT: Adding recovery boot entry
MBR2GPT: Fixing drive letter mapping
MBR2GPT: Conversion completed successfully
MBR2GPT: Before the new system can boot properly you need to switch the firmware to boot to UEFI mode!
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
25130 次 |
| 最近记录: |