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 
>>>>> <[email protected]> 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

Antwort per Email an