Set partition type explicity in setuup-storage
Thomas Lange
lange at cs.uni-koeln.de
Fri Jan 30 10:35:48 CET 2026
No, it's not possible to set different partition types. The tool
setup_storage hardcodes the types in file Commands.pm in subroutine
setup_partitions(). In the end we call a parted command with
parameters that creates the partition and sets its type. See
format.log for the exact commands.
But you caould write a hook that changes the partition type after the
partitions were created.
>>>>> On Thu, 29 Jan 2026 16:54:13 +0100, Christoph Pleger <Christoph.Pleger at cs.tu-dortmund.de> said:
> Hello,
> is it possible to set a partition type (NOT the partition table type)
> explicitly with setup-storage? This is, as they are called in fdisk, a
> partiton type like
> Linux filesystem
> Linux swap
> EFI System
> BIOS boot
> etc.
--
viele Grüße Thomas
More information about the linux-fai
mailing list