From Dev.to
Stop Partitioning Disks by Hand: Practical systemd-repart on Linux
Every hand-built Linux image eventually grows the same wart: a shell script that pipes commands into sfdisk, calls partprobe, runs resize2fs, and hopes the device really was /dev/sda. It works exactly...
