On 09/20/12 16:11, Seth Goldberg wrote:
Hi Paul,

GPT and DOS partitioning are totally different. GPT uses 128-bit GUIDS
to identify partitions. DOS partitioning uses 8-bit IDs. In order for
GPT partitioning to coexist with programs that only know about DOS
partitioning, the UEFI spec mandates the use of the EFI Protective
partition (type ee) that occupies the entire disk. You CANNOT have other
DOS partitions on a disk partitioned with GPT. You can, however, create
multiple GPT partitions by specifying the GUID (though I confess I
haven't looked at the DTD and I'm not sure if you can specify arbitrary
GUIDs-- Niall will know).


You can, and it's even covered in ai_manifest(4).

Dave

--S

On Sep 20, 2012, at 12:03 PM, Paul de Nijs <[email protected]
<mailto:[email protected]>> wrote:

All,

So I just learned about the gpt_partition element yesterday, and I was
wondering why it is introduced.

In the past, when I wanted to create a partition, I did this:

<partition name="1" action="create" part_type="191">
(hex: bf)

which means I want to create a solaris partition.

If I wanted a linux partition I would do this:

<partition name="1" action="create" part_type="131">
(hex:83)

We all have seen this in the linux world (it's all presented in hex ....)

So if you wanted to create a GPT partitions, in the linux world it is
referenced as (hex) ee, or (decimal) 238

Conclusion: why is there the gpt_partition element if you could
specity part_type="238"

like:

<partition name="1" action="create" part_type="238">

what would be the meaning of:

<gpt_partition name="1" action="create" part_type="191">

it creates a partition (ee, 238) and then a solaris partition (bf,191) ?

I am totally confused ....

Paul



--



Paul de Nijs | Principal Software Engineer | Performance Technologies
| +1.503.495.7882
Oracle Strategic Applications Engineering (SAE)
3295 NW 211th Terrace | Hillsboro, OR 97124-7110


_______________________________________________
caiman-discuss mailing list
[email protected] <mailto:[email protected]>
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss


_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to