PEFlag Question

User discussion and information resource forum for the TeraByte OS Deployment Tool Suite.

PEFlag Question

Postby tas3086 » Sun Mar 29, 2015 8:39 pm

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.
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?
Posts: 208
Joined: Mon Mar 19, 2012 11:15 am

Re: PEFlag Question

Postby Eric » Mon Mar 30, 2015 10:37 pm

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")
Posts: 95
Joined: Mon Sep 05, 2011 11:53 am

Return to OSD Tool Suite