打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
一条指令瞬间把系统盘从MBR无损转换成GPT
 本帖最后由 redknight_c 于 2017-8-19 12:06 编辑

MBR 与 GPT 孰优孰略,这里就不讨论了,大家可以自行百度研究。

考虑到GPT与UEFI的搭配比较合理,所以一直想把我的系统盘从MBR转换到GPT,这次把系统盘迁移到SSD,历经各种磨难(其实最简单,最小白的方法就是重装系统,但是好像年纪大了,心态老了,不想折腾了),最后总算是平稳迁移到SSD了,但是原封未动,还是MBR格式,心里各种不妥,总想着如何转成GPT。

各种搜索研究,发现了一个非常简单,而且安全可靠的方法(win10系统自带的程序,应该是比较安全可靠的吧),真的是简单快捷,大概就2-3分钟就搞掂了。

这就是win10创意者版中自带的内部程序,MBR2GPT, 用法很简单,提示符环境下键入mbr2gpt /?,就可以看到详尽的说明,
Converts a disk from MBR to GPT partitioning without modifying or deleting data on the disk.
MBR2GPT.exe /validate|convert [/disk:<diskNumber>] [/logs:<logDirectory>] [/map:<source>=<destination>] [/allowFullOS]
Where:
/validate
         - Validates that the selected disk can be converted
           without performing the actual conversion.
/convert
         - Validates that the selected disk can be converted
           and performs the actual conversion.
/disk:<diskNumber>
         - Specifies the disk number of the disk to be processed.
           If not specified, the system disk is processed.
/logs:<logDirectory>
         - Specifies the directory for logging. By default logs
           are created in the %windir% directory.
/map:<source>=<destination>
         - Specifies the GPT partition type to be used for a
           given MBR partition type not recognized by Windows.
           Multiple /map switches are allowed.
/allowFullOS
         - Allows the tool to be used from the full Windows
           environment. By default, this tool can only be used
           from the Windows Preinstallation Environment.


实际使用中,为了让大家避免走弯路,下面是我的心得分享个大家。

1、必须是win10创意者版之后的版本,这个内部应用只是在创意者版才提供。运行环境必须是管理员权限的提示符环境,如果是普通的CMD环境,就会有如下的错误提示
EnablePrivilege: AdjustTokenPrivileges failed (Error:0x514)
ERROR: Failed to enable backup/restore privileges.
Check that you are running in a process with elevated privileges.
告诉你权限不够,需要提升权限。


2、转换之前,最好先看看你的系统盘能否安全无损的转换成为GPT,可以在管理员权限下的提示符环境,运行mbr2gpt /validate /allowfullos


3、MBR2GPT,转换只能运行在winPE 或者 winRE,虽然有选项 /allowFullOS,可以允许MBR2GPT运行在所有windows环境,但是我没试过,慎重起见我觉得还是不要尝试在Windows系统运行的时候转换系统盘,想想都害怕。


4、转换前,务必检查确认你的电脑是可以UEFI+GPT启动,否则,MBR2GPT转换之后是不可逆的。如何从GPT转成MBR,对不起我还没研究过。


5,非系统盘,你可以用各种第三方软件转化,又简单又直观,而且还可以互相转换,这里就不说了。


最后提示,转换有风险,行动需谨慎。


各种问题,欢迎讨论。




本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
mbr2gpt.exe MBR无损转换GPT工具详细使用教程
IT之家学院:微软Win10轻松转换MBR为GPT官方教程
win11安装初体验
win8系统改装win7或xp系统,怎么改gpt分区
UEFI主板 3T硬盘完美安装WIN7图解教程
使用系统自带工具把磁盘从MBR转换成GPT的教程
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服