Package: partman-base
Version: 229
Affects: partman-partitioning partman-efi

It was reported that setting the 'legacy_boot' flag to the boot/root partition on GPT disk label was required in order to boot on some arm64 platforms [1]. Support of this flag was recently added to automatic partitioning in partman-auto [2], and should also be added to manual partitioning.

[1] <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078871#67>
[2] <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1086051>

How should this be exposed to the user ?

The 'boot' flag is shown as "B" in the main display (by partman-base) and as "Bootable flag" in partition settings (by partman-partitioning, which is not very consistent IMO).

As the 'legacy_boot' flag is available only on GPT and the 'boot' flag is irrelevant (=esp) on GPT and should be ignored, the same displays could be used for both flags:
- GPT -> manage 'legacy_boot' flag, ignore 'boot' flag
- non-GPT -> manage 'boot' flag

My first questions:

- In the main display, should the 'legacy_boot' flag be shown with the same marker "B" as the 'boot' flag ?

- In partition settings, should the 'legacy_boot' flag be shown with the same label "Bootable flag" as the 'boot' flag ?

Reply via email to