Re: Set partition type explicity in setuup-storage
Thomas Lange <[email protected]> Fri, 30 Jan 2026 10:35:48 +0100
| Newsgroups | gmane.linux.debian.fai |
|---|---|
| Message-ID | <[email protected]> |
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.P= [email protected]> said: > Hello, > is it possible to set a partition type (NOT the partition table t= ype) > explicitly with setup-storage? This is, as they are called in fdi= sk, a > partiton type like=20 > Linux filesystem > Linux swap > EFI System > BIOS boot > etc. --=20 viele Gr=FC=DFe Thomas