GPT with fdisk/cfdisk and custom partition types
-
- Posts: 10
- Joined: Tue Aug 18, 2020 6:55 pm
GPT with fdisk/cfdisk and custom partition types
Assuming I've generated a GUID for my filesystem's partition type, is there a way to enter that via the util-linux fdisk/cfdisk utilities? I'm struggling to find one, either in the interface help, the man page, or googling.
Re: GPT with fdisk/cfdisk and custom partition types
To my knowledge this isn't supported and you'd have to manually write the partition table entries. But I might be wrong -- but if so I've never heard of it.
-
- Member
- Posts: 5563
- Joined: Mon Mar 25, 2013 7:01 pm
-
- Posts: 10
- Joined: Tue Aug 18, 2020 6:55 pm
Re: GPT with fdisk/cfdisk and custom partition types
Thanks for the pointer!
It also seems trivial to add new GUIDs to the list of ones it recognizes, which will make my life much easier.
It'd be even easier if it could be done via a configuration file rather than editing the source and recompiling, but it's just a one-time task so not that big a deal.
It also seems trivial to add new GUIDs to the list of ones it recognizes, which will make my life much easier.
It'd be even easier if it could be done via a configuration file rather than editing the source and recompiling, but it's just a one-time task so not that big a deal.
-
- Member
- Posts: 5563
- Joined: Mon Mar 25, 2013 7:01 pm
Re: GPT with fdisk/cfdisk and custom partition types
Are you talking about modifying fdisk or gdisk? You don't need to modify gdisk to set the GUID.
-
- Posts: 10
- Joined: Tue Aug 18, 2020 6:55 pm
Re: GPT with fdisk/cfdisk and custom partition types
Octocontrabass wrote:Are you talking about modifying fdisk or gdisk? You don't need to modify gdisk to set the GUID.
gdisk
I'm talking about modifying it so I can use a shortcut codes for my filesystem's GUID like those that it recognizes for more widely-known types, rather than having to enter the full GUID every time.