Robert Nichols wrote: >> sfdisk has "dump" mode, and it can also import old dump to new disk. > > That dump mode doesn't help if the partition table is currently munged, > and sfdisk is extraordinarily unforgiving of the tiniest mistake in > human-generated input. But it seems I could generate correct input for sfdisk from the entries in /proc/partitions ? But I notice "man sfdisk" has a warning against use with large partitions, which it defines as > 8GB. Hopefully this no longer applies?