将磁盘转换为 GPT 或 MBR

将磁盘转换为 GPT 或 MBR

主启动记录(MBR)磁盘使用旧版 BIOS 分区方案(也称为分区样式),每个磁盘最多支持四个主要分区。 MBR 限制为 2 TB 或更小的磁盘,不建议用于更大的驱动器。 GUID 分区表(GPT)磁盘使用现代统一可扩展固件接口(UEFI),支持四个以上的分区,并且可以管理大于 2 TB 的磁盘。

仅当磁盘不包含任何分区或卷时,才能转换磁盘的分区样式。 在尝试更改磁盘格式之前,请确保删除所有现有分区或卷。

Prerequisites

You must be a member of the Administrators group (or have equivalent privileges) to convert a disk.

Important

在转换磁盘之前,请备份磁盘上的任何数据,并关闭访问磁盘的任何程序。

转换磁盘

可以使用磁盘管理工具或命令行转换磁盘。 请按照以下步骤选择你的方法。

Disk Management

Diskpart

PowerShell

在转换分区样式之前,请备份或将数据移出磁盘。

Select Start, type diskmgmt.msc, then select Enter.

右键单击与磁盘相关的卷。

Select Delete Volume, then select Yes. 对磁盘上的所有卷重复此步骤。

右键单击磁盘,然后选择“ 转换为 MBR 磁盘 ”或 “转换为 GPT 磁盘”。

To verify the conversion process, right-click on your disk, select Properties, select the Volumes tab, and check the partition style information.

在转换分区样式之前,请备份或将数据移出磁盘。

Open an elevated command prompt window, type diskpart, then hit Enter.

通过清理(删除)任何分区或卷来准备磁盘进行转换。

Note

If your disk doesn't have any partitions or volumes, skip to step 3 to convert your disk.

Type list disk and hit Enter. 记下要转换的磁盘编号。

Type select disk, provide the disk number you want to convert, then hit Enter.

Type clean to delete all partitions and volumes on the disk.

To convert GPT to MBR, type convert mbr, then hit Enter.

To convert MBR to GPT, type convert gpt, then hit Enter.

转换过程完成时会收到通知。 To learn more, see the diskpart commands reference.

在转换分区样式之前,请备份或将数据移出磁盘。

打开提升权限的 PowerShell 窗口。

通过清理(删除)任何分区或卷来准备磁盘进行转换。

Note

If your disk doesn't have any partitions or volumes, skip to step 3 to convert your disk.

若要列出所有磁盘,请运行以下命令:

Get-Disk

记下要转换的磁盘编号。

若要从磁盘中删除所有分区和卷,请运行以下命令。 用您之前记录的磁盘编号替换

Clear-Disk -Number -RemoveData -Confirm:$false

若要转换分区样式,请运行以下命令:

对于 MBR 到 GPT 转换:

Initialize-Disk -Number -PartitionStyle GPT

对于 GPT 到 MBR 转换:

Initialize-Disk -Number -PartitionStyle MBR

Note

初始化磁盘后,无需再次运行 Clear-Disk cmdlet 即可将其转换为另一个分区样式。

To verify the conversion process, run the following command and check the Partition Style column:

Get-Disk

See also

将磁盘类型转换为动态或基本

你可能也喜欢

Blender模型渲染时为什么总是黑色的?材质节点设置有问题吗?
音频中采样位数,采样率,比特率的名词解释(转)
365bet官方投注网站

音频中采样位数,采样率,比特率的名词解释(转)

📅 07-12 👀 8469
中国移动电商行业分析、投资前景、未来趋势报告2025-2031年
古代最工于心计的做局手段——“幻雀迷兔局”,至今还有人在用_手机网易网
女性生殖器官解剖图
be365是否安全

女性生殖器官解剖图

📅 07-18 👀 6547
物件導向程式設計
be365是否安全

物件導向程式設計

📅 07-20 👀 9799
县城适合做的生意有哪些?小县城创业指南,挖掘商机与实操建议!
10款翻译引擎全面对比,别再无脑吹DeepL了,根本不好用!
锦州交通违章查询
365bet365娱乐场

锦州交通违章查询

📅 07-03 👀 4444