將 MBR 磁碟轉換成 GPT 磁碟Convert an MBR disk into a GPT disk

適用於: Windows 10,Windows 8.1、 Windows Server (半年通道)、 Windows Server 2019、 Windows Server 2016、 Windows Server 2012 R2、 Windows Server 2012Applies To: Windows 10, Windows 8.1, Windows Server (Semi-Annual Channel), Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

主開機記錄 (MBR) 磁碟使用標準 BIOS 磁碟分割表格。Master Boot Record (MBR) disks use the standard BIOS partition table. GUID 磁碟分割表格 (GPT) 磁碟則使用整合可延伸韌體介面 (UEFI)。GUID Partition Table (GPT) disks use Unified Extensible Firmware Interface (UEFI). GPT 磁碟的其中一個優點是,您在每個磁碟上可以有四個以上的磁碟分割。One advantage of GPT disks is that you can have more than four partitions on each disk. 容量大於兩個 TB 磁碟也需要 GPT。GPT is also required for disks larger than two terabytes (TB).

只要磁碟沒有包含任何磁碟分割或磁碟區,就可以將磁碟從 MBR 變更為 GPT 磁碟分割樣式。You can change a disk from MBR to GPT partition style as long as the disk contains no partitions or volumes.

注意

轉換磁碟之前,請備份所有資料,並關閉任何正在存取磁碟的程式。Before you convert a disk, backup any data on it and close any programs that are accessing the disk.

注意

您必須至少是備份操作員系統管理員群組的成員,才能完成這些步驟。You must be a member of the Backup Operators or Administrators group, at minimum, to complete these steps.

轉換使用 Windows 介面Converting using the Windows interface

  1. 備份或移動您要轉換成 GPT 磁碟的基本 MBR 磁碟上的資料。Back up or move the data on the basic MBR disk you want to convert into a GPT disk.

  2. 如果磁碟包含任何磁碟分割或磁碟區,請個別按右鍵,然後按一下 [刪除磁碟分割][刪除磁碟區]If the disk contains any partitions or volumes, right-click each and then click Delete Partition or Delete Volume.

  3. 以滑鼠右鍵按一下要變更成 GPT 磁碟的 MBR 磁碟,然後按一下 [轉換成 GPT 磁碟]Right-click the MBR disk that you want to change into a GPT disk, and then click Convert to GPT Disk.

轉換使用命令列Converting using a command line

您可以使用下列步驟來將空的 MBR 磁碟轉換成 GPT 磁碟。Use the following steps to convert an empty MBR disk to a GPT disk. 另外還有 MBR2GPT。EXE 的工具,您可以使用,但這樣有點複雜,-請參閱轉換的 MBR 磁碟分割為 GPT如需詳細資訊。There's also a MBR2GPT.EXE tool that you can use, but it's a little complicated - see Convert MBR partition to GPT for more details.

  1. 備份或移動您要轉換成 GPT 磁碟的基本 MBR 磁碟上的資料。Back up or move the data on the basic MBR disk you want to convert into a GPT disk.

  2. 開啟提升權限的命令提示字元,方式為:以滑鼠右鍵按一下 [命令提示字元] ,然後選擇 [以系統管理員身分執行]Open an elevated command prompt by right-clicking Command Prompt and then choosing Run as Administrator.

  3. 輸入 diskpartType diskpart. 如果磁碟未包含任何磁碟分割或磁碟區,請跳至步驟 6。If the disk does not contain any partitions or volumes, skip to step 6.

  4. DISKPART 提示中輸入 list diskAt the DISKPART prompt, type list disk. 記下要轉換的磁碟編號。Note the disk number you want to convert.

  5. DISKPART 提示中輸入 select disk <disknumber>At the DISKPART prompt, type select disk <disknumber>.

  6. DISKPART 提示中輸入 cleanAt the DISKPART prompt, type clean.

    注意

    執行 clean 命令將會刪除磁碟上的所有磁碟分割或磁碟區。Running the clean command will delete all partitions or volumes on the disk.

  7. DISKPART 提示中輸入 convert gptAt the DISKPART prompt, type convert gpt.

Value 描述Description
清單中的磁碟list disk 顯示磁碟的清單和這些磁碟的相關資訊,例如大小、可用空間數量、磁碟是基本還是動態磁碟,以及磁碟使用的是主開機記錄 (MBR) 還是 GUID 磁碟分割表格 (GPT) 磁碟分割樣式。Displays a list of disks and information about them, such as their size, the amount of available free space, whether the disk is a basic or dynamic disk, and whether the disk uses the Master Boot Record (MBR) or GUID Partition Table (GPT) partition style. 標示有星號 (*) 的磁碟具有焦點。The disk marked with an asterisk (*) has focus.
選取磁碟 disknumberselect disk disknumber 選取指定的磁碟 (其中 disknumber 是磁碟編號),並讓它成為焦點。Selects the specified disk, where disknumber is the disk number, and gives it focus.
cleanclean 從焦點所在的磁碟移除所有的磁碟分割或磁碟區。Removes all partitions or volumes from the disk with focus.
轉換 gptconvert gpt 將使用主開機記錄 (MBR) 磁碟分割樣式的空白基本磁碟轉換成使用 GUID 磁碟分割表格 (GPT) 磁碟分割樣式的基本磁碟。Converts an empty basic disk with the Master Boot Record (MBR) partition style into a basic disk with the GUID Partition Table (GPT) partition style.

另請參閱See Also