> Am I supposed to create file for PrimaryRootfs also, even > if it does already exist, so that repart understand SecondaryRootfs has > to be created? What, exactly, am I doing incorrectly, because I'm sure > it is me not using the tool properly here, and no actual bug... Yes, repartd tries to match your definitions with existing partitions first. The intended solution is to create simple files which match the existing partitions. From the man page of repart.d: > Partition files are generally matched against any partitions already existing on disk [...]. Any left-over partition files that have no matching existing partition are assumed to define new partition that shall be created.