For a GPT disk Microsoft DISKPART command
list partition
defines some partitions as Primary
and similarly the Disk Management utility.
But the old primary/extended partitions of the MBR scheme is exactly what the GPT standard intends to go over.
For example the Windows partition, which in Microsoft jargon is defined as a Basic Data Partition (GUID EBD0A0A2-B9E5-4433-87C0-68B6B72699C7) is reported by DISKPART as Primary
. Ironically, the Linux counterpart utility fdisk
correctly reports it as Microsoft basic data
If converting the disk from basic to dynamic, BDPs are correctly reported with the type Dynamic Data
.
I have looked for a reference to DISKPART terminology, with respect to list partition
command, without luck. Also, in the current Microsoft GPT Implementation, there are no hints at this.
What exactly is this partition type? Is it just a friendly name for BDP partitions?
Edit
For someone it is unclear what I am asking. Sorry for that. Try with this:
Diskpart list part
command labels some GPT partitions as Type: Primary
. Since there is no definition of primary partitions in the GPT specs, can you kindly give:
- A definition of GPT primary partitions?
- An example of non-primary GPT partition?
Type
column become worthless. Perhaps only BCD=primary, but I haven't found an explicit reference, hence the post.diskpart
type names: System-Reserved-Primary-Recovery, and this what I get withlist part
. I do not get what you mean by "as system partition". Informally they are all mandatory system partitions, formally (UEFI specs and MS) only ESP is.diskpart
specifically, but my suspicion is that it, likeparted
in Linux, simply applies the "primary" name to all GPT partitions. At the risk of tooting my own horn, if you want to really understand what's happening with your GPT disk, you should use my GPT fdisk (gdisk
) tool, which was designed from the ground up for use on GPT disks. It shows you the GPT data structures without filtering them through an "MBR lens." (It does use shorthand type code notations, but you can see and use the true type code GUIDs if necessary.)