HOW TO: Use the Diskpart.efi Utility to Create a GUID Partition Table Partition on a Raw Disk in Windows

This is the article which is describing how to create a GUID partition table (GPT) partition (where GUID is the abbreviation for globally unique identifier) on a raw disk by using the Diskpart utility (Diskpart.efi).


First you need create a GUID Partition Table Partition on a Raw Disk
To create a GPT partition on a raw disk by using the Diskpart utility:

1. At a command prompt, you need to type: diskpart to start the Diskpart utility: "Diskpart version 0.0" is displayed as well as a Diskpart prompt. to get rid of it.

2. At the prompt, type: list to list the mounted hard drive volumes.

3. At the prompt, type: select x (where x is the number of the hard disk drive that you want to convert to GPT). The following information is displayed: "Selected Disk = x".

4. At the prompt, type: new gpt to add the GPT information into the non-volatile RAM (NVRAM).

NOTE: GPT partition information can’t be changed by this step.

5. At the prompt, type: create name="efi system partition" type=efisys Size=102 to create the Extensible Firmware Interface (EFI) partition.

NOTE: The name can be anything you want, but if the name has spaces in it, the name must have quotes around it. The type must equal either Efisys, Msres, or Msdata. If a size is not specified, the partition uses the remaining unpartitioned space. To install Windows XP, the Msdata partition must contain at least 2 gigabytes (GB) of free space.

6. At the prompt, type: create name="microsoft reserved" type=msres Size=31 to create the MSR partition.

7. At the prompt, type: create name="basic data" type=msdata to create a partition for the remaining unpartitioned space.

8. At the prompt, type: inspect to display the partition information.

9. At the prompt, type: exit to quit the Diskpart utility.