On 13/07/2025 at 16:54, Andy Smith wrote:
Is the above theory sound though for a GPT label? i.e. first one 487424 * 1024 + 1024, second and further ones just multiply by 1024. Last one expect a bit at the end reserved for possible MD metadata.
Yes, it should do the trick. Or divide by 1024 (and add 1 to the first one) and input the size as MiB, as partitions created by partman are expected to be aligned on 1-MiB boundaries.
NB: It looks like the first three partitions were created with input sizes 500 MB, 1 GB and 2 GB (decimal).