[parted-devel] [PATCH 1/2] libparted: Stop adding boot code in MBR when updating msdos table

Brian C. Lane bcl at redhat.com
Tue Mar 24 18:35:48 GMT 2026


On Fri, Oct 24, 2025 at 02:03:02PM +0100, Mike Fleetwood wrote:
> fdisk from util-linux doesn't write boot code into the msdos MBR when it
> updates the partition table.  Neither does libparted when updating the
> protective partition in the MBR as part of a GPT.  Writing boot code is
> the responsibility of boot loader installation, not a partitioning tool.

FYI I'm including this in the next release, I had to also remove the
EXTRA_DIST = mbr.s from libparted/Makefile.am and I dropped the NEWS
changes from the commit -- they always cause problems with the release
prep so I'll do them all as a single separate commit.

Thanks,

Brian

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




More information about the parted-devel mailing list