[Parted-maintainers] Bug#673042: parted: loose 'legacy BIOS bootable' flag on GPT disks
Jérémy Bobbio
lunar at debian.org
Tue May 15 17:03:44 UTC 2012
Package: parted
Version: 2.3-5
Severity: important
Tags: patch
Hi!
Parted currently does not handle GPT partition flags properly when
modifying a GPT. The most crucial flag that is lost is the 'legacy BIOS
bootable'. It is used by SYSLINUX to detect which partition the system
should be booted from, for example. Currently, any changes using parted
(or one of the tools that rely on parted e.g. gnome-disk-utility) will
make a system using SYSLINUX on GPT unbootable if the flag is not
manually re-added. Pretty annoying, to say the least.
Attached is a patch against the version of parted currently in squeeze.
It is made of three patches cherry-picked from upstream. Other GPT flags
are still not preserved, but at least the 'legacy BIOS bootable' is.
This patch fails on the version currently in sid due to some issues with
autoconf/automake stuff. I'd rather let you handle that, but the
backported patches apply cleanly and manually building the code showed
that they work as intended.
I think this issue is worth an update in the next stable point release.
Cheers,
--
Jérémy Bobbio .''`.
lunar at debian.org : :Ⓐ : # apt-get install anarchism
`. `'`
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parted_stop_loosing_legacy_bios_bootable_flag.patch
Type: text/x-diff
Size: 9673 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/parted-maintainers/attachments/20120515/84daaf0a/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/parted-maintainers/attachments/20120515/84daaf0a/attachment.pgp>
More information about the Parted-maintainers
mailing list