I'm after a clever way to sort out my partitioning.
Like many of you I'm generating many operating systems with varying
parameters - which helpfully will be going onto varying size disks.
Is there a script based way of creating a second (or third) partition
that takes up the rest of a disk of unknown size?
sfdisk always complains about the debian-live partition.
cfdisk isn't scriptable.
fdisk only sort of works for scripts but is better than the others - any