OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Dec 02, 2021 6:18 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Finding Partition Type in GPT Partitioning System?
PostPosted: Sun Aug 01, 2021 10:08 am 
Offline

Joined: Thu Jul 01, 2021 3:24 pm
Posts: 16
Is there a way to get the partition's type when using a GPT system, like how you get an ID for the partition type from the MBR?


Top
 Profile  
 
 Post subject: Re: Finding Partition Type in GPT Partitioning System?
PostPosted: Sun Aug 01, 2021 11:48 am 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 3495
Yes: the PartitionTypeGUID field in the partition entry.

The definition of this field can be found in the UEFI specification. There's also a pretty good list of existing GUIDs (and other useful information) in Wikipedia.


Top
 Profile  
 
 Post subject: Re: Finding Partition Type in GPT Partitioning System?
PostPosted: Sun Aug 01, 2021 2:29 pm 
Offline

Joined: Thu Jul 01, 2021 3:24 pm
Posts: 16
Ah, thank you!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [Bot], sed4906h and 26 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group