OSDev.org
https://forum.osdev.org/

Finding Partition Type in GPT Partitioning System?
https://forum.osdev.org/viewtopic.php?f=1&t=48041
Page 1 of 1

Author:  LyricalRain [ Sun Aug 01, 2021 10:08 am ]
Post subject:  Finding Partition Type in GPT Partitioning System?

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?

Author:  Octocontrabass [ Sun Aug 01, 2021 11:48 am ]
Post subject:  Re: Finding Partition Type in GPT Partitioning System?

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.

Author:  LyricalRain [ Sun Aug 01, 2021 2:29 pm ]
Post subject:  Re: Finding Partition Type in GPT Partitioning System?

Ah, thank you!

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/