共用方式為


Change a master boot record disk into a GUID partition table disk

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To change a master boot record disk into a GUID partition table disk

  • Using the Windows interface

  • Using a command line

Using the Windows interface

  1. Back up or move the data on the basic master boot record (MBR) disk you want to convert into a GUID partition table (GPT) disk. If the disk does not contain any partitions or volumes, skip to step 2.

    For more information about backing up volumes, see Related Topics.

  2. Open Computer Management (Local).

  3. In the console tree, click Computer Management (Local), click Storage, and then click Disk Management.

  4. If the disk does not contain any partitions or volumes, skip to step 5. Otherwise, right-click any volumes on the disk and then click Delete Partition or Delete Volume.

  5. Right-click the MBR disk that you want to change into a GPT disk, and then click Convert to GPT Disk.

Notes

  • To perform this procedure on a local computer, you must be a member of the Backup Operators group or Administrators group on the local computer, or you must have been delegated the appropriate authority. To perform this procedure remotely, you must be a member of the Backup Operators group or Administrators group on the remote computer. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure. For more information, see Default local groups, Default groups, and Using Run as.

  • To open Computer Management, click Start, click Control Panel, double-click Administrative Tools, and then double-click Computer Management.

  • You can change a disk from MBR to GPT as long as the disk does not contain any partitions or volumes.

  • You cannot use the GPT partitioning style on removable media, or on cluster disks that are connected to shared SCSI or Fibre Channel buses used by Cluster service.

  • Itanium-based computers, x86-based computers running Windows Server 2003 with Service Pack 1 (SP1), and x64-based computers support both MBR and GPT disks.

Using a command line

  1. Back up or move all data on the basic master boot record (MBR) disk you want to convert into a GUID partition table (GPT) disk. If the disk does not contain any partitions or volumes, skip to step 2.

    For more information about backing up volumes, see Related Topics.

  2. Open Command Prompt.

  3. Type:

    diskpart

    If the disk does not contain any partitions or volumes, skip to step 7.

  4. At the DISKPART prompt, type:

    list volume

    Make note of the number of the volume that you want to delete.

  5. At the DISKPART prompt, type:

    select volume n

  6. At the DISKPART prompt, type:

    delete volume

  7. At the DISKPART prompt, type:

    list disk

    Make note of the disk number of the disk that you want to convert to a GUID partition table (GPT) disk.

  8. At the DISKPART prompt, type:

    select disk n

  9. At the DISKPART prompt, type:

    convert gpt

Important

  • You can only convert basic MBR disks without any partitions or volumes into a GPT disk. Back up your data and then delete all partitions or volumes before converting the disk.
Value Description

list volume

Displays a list of basic and dynamic volumes on all disks.

select volume

Selects the specified volume, where n is the volume number, and gives it focus. If no volume is specified, the select command lists the current volume with focus. You can specify the volume by number, drive letter, or mount point path. On a basic disk, selecting a volume also gives the corresponding partition focus.

delete volume

Deletes the selected volume. You cannot delete the system volume, boot volume, or any volume that contains the active paging file or crash dump (memory dump).

list disk

Displays a list of disks and information about them, such as their size, 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.

select disk n

Selects the specified disk, where n is the disk number, and gives it focus.

convert 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.

Notes

  • To perform this procedure on a local computer, you must be a member of the Backup Operators group, Administrators group, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure. For more information, see Default local groups, Default groups, and Using Run as.

  • To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.

  • You can change a disk from MBR to GPT as long as the disk does not contain any partitions or volumes.

  • You cannot use the GPT partitioning style on removable media, or on cluster disks that are connected to shared SCSI or Fibre Channel buses used by Cluster service.

  • Itanium-based computers, x86-based computers running Windows Server 2003 with Service Pack 1 (SP1), and x64-based computers support both MBR and GPT disks.

  • For more information about DiskPart, see Related Topics.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

Partition styles
Working with MMC console files
Change a GUID partition table disk into a master boot record disk
DiskPart
Backup overview
Back up files to a file or a tape