Page 1 of 1

PEFlag Question

PostPosted: Sun Mar 29, 2015 8:39 pm
by tas3086
I often see PEFlags of (hex) 0, 2000, and 4000. ( none , bootable, embr/bootITBM)
I have just started seeing a value of 8000000000000000 This value does not seem to be documented. It is produced by the h=gethdinfo(n) ..... (h.partition[pn].peflag).

This is for a 3TB disk that is Microsoft GPT partitioned.
The Microsoft Reserved Partition has a PEFlag 0f 0
The only other partition that gethdinfo shows is a correct partition name, drive letter, and this very long peflag.
It happens under both Windows and DOS.
Sample:
HDNum:2-1-0 name:Microsoft reserved partition id:2@0x1 DrvLtr: BUS:SATA PEFlag:0
HDNum:2-2-0 name:I_DRIVE id:2@0x2 DrvLtr: I BUS:SATA PEFlag:8000000000000000

Any ideas as to what it means? GPT maybe?

Re: PEFlag Question

PostPosted: Mon Mar 30, 2015 10:37 pm
by Eric
This value doesn't mean it's gpt, but it is related. It's just an attribute (for which the first bit is on). The "Windows RE" partitions have it set to 0x8000...001, I suppose.
You can see within BIBM what it means ("properties ->flags")