[parted-devel] [PATCH 0/2] gpt: Preserve relocated primary partition table

Pascal Hambourg pascal at plouf.fr.eu.org
Fri Dec 5 06:23:13 GMT 2025


Hello,

On 19/11/2025 at 19:42, Pascal Hambourg wrote:
> The primary GPT partition entry array may start at a LBA other than the
> default in order to not interfere with the boot loader for some ARM SoC
> E.g.:
> - The boot loader for Freescale/NXP i.MX < 8 family must start at LBA 2.
> - The boot loader for older Allwinner sunxi family must start at LBA 16.
> 
> This patchset also splits the metadata at the beginning of the disk in
> two:
> - protective MBR + primary GPT header
> - primary GPT partition entry array
> 
> This makes it possible to see the gap between them and check if the
> metadata layout may interfere with the boot loader. However it would be
> better if the gap was not reported as free space. Is there a way to
> avoid this ?

Any comment about this ?



More information about the parted-devel mailing list