使用win10创意者更新自带工具MBR2GPT完成系统盘的MBR到GPT的无损转换

之前如果需要将MBR格式的硬盘转换为GPT硬盘,要么选择格盘重装系统,这样数据会丢失。如果需要数据无损转换的话,手工转换比较复杂,或者可以使用第三方的分区工具完成。这里我们介绍微软官方提供的无损转换工具MBR2GPT,工具已经内置到win10创意者更新里了,这里我们可以在命令行里直接调用!

这是官方参考文档: 点此阅读

注意事项

  • 在转换过程中会创建UEFI系统分区,这会占用一个MBR主分区,而因为MBR磁盘最多只能有四个主分区,所以待转换的MBR磁盘不能超过四个主分区;
  • BitLocker加密磁盘需要先解除BitLocker加密之后才能使用MBR2GPT进行转换;
  • 即使当前安装的Win10 1703之前的早期Win10版本(1607,1511,1507),依然能够使用MBR2GPT进行转换,只不过需要使用Win10 1703系统盘启动进入WinRE环境,才能运行MBR2GPT工具。

这是我们演示将本机的系统盘转换为GPT文件格式

步骤一:

启动进入WinRE环境,如果不懂如何进入,请点击阅读

进入后选择命令提示符

步骤二

使用命令disk查看里的磁盘序号。

步骤三

启动MBR2GPT程序,带上参数/validate和/disk:1,用于指定对1号磁盘(系统盘)进行检查,如果提示successfully说明可以进行转换。

1
mbr2gpt /validate /disk:1

开始转换

完成后类似如下提示:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
MBR2GPT will now attempt to convert disk 0.
If conversion is successful the disk can only be booted in GPT mode.
These changes cannot be undone!

MBR2GPT: Attempting to convert disk 0
MBR2GPT: Retrieving layout of disk
MBR2GPT: Validating layout, disk sector size is: 512 bytes
MBR2GPT: Trying to shrink the system partition
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!

最后记得将主板上的启动模式改为UEFI mode!
更多细节参见官方手册

-------------本文结束啦感谢您阅读-------------
0%