[parted-devel] Parted backward compatible issue as of commit ea81f4e

Brian C. Lane bcl at redhat.com
Mon Oct 26 15:42:05 GMT 2026


On Sun, Oct 25, 2026 at 03:50:27PM +0000, Joe Burmeister wrote:
> Hi Mike,
> 
> I'm traveling so have to be quick.
> 
> PiGen is just using the host's parted. In my case it is new enough  (3.8) to be after this commit.
> 
> The old code nuked the full first 500 bytes, that includes the disk signature, if the first byte is zero.
> 
> So all something needs to do set the first byte to anything but zero. PiGen could ensure that. Until Raspberry PI OS (Trixie with extras) is based on Forky.
> 
> Though I suspect it won't be just PiGen hit by this.

I don't think there's anything for parted to do here. It's unfortunate
that it happens, but the solution is to update to the latest parted, for
this and other reasons.

In the meantime you should file a bug with PiGen.

Thanks for the report,

Brian

-- 
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart - osbuild




More information about the parted-devel mailing list