[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1034814: debian-installer: bootable flag not toggling



On 4/25/23 01:59, Pascal Hambourg wrote:
On 25/04/2023 at 03:24, Matt Taggart wrote:

When in the partitioning and editing a partition, if I am on the "bootable" option and select, it does not toggle but remains "no". The screen flashes, bot no change. I have not yet checked what ends up in the partition table after the install.

Is it a GPT partition table ?

Yes, GPT and EFI, 512gb nvme drive.

GPT is the default partition table type with EFI boot or disk size above 2 TiB. In GPT, "boot" and "esp" parted flags are equivalent and both represent the "EFI system partition" type (IMO this is a big mess).

Being used to doing non-GPT/EFI installs for so long, I did what I have always done and toggled the bootable flag on the /boot partition. When it didn't change, I tried again and it still didn't change. So it was less a bug of it not functioning that it was confusing for the user.

If this should be fixed, not sure how.
- Set/unset the "esp" flag at the same time as the "boot" flag if GPT ?
- Hide the "bootable" option if GPT > - Map the "bootable" option to the "legacy_boot" parted flag instead of
"boot" if GPT ? (AFAIK only syslinux/extlinux uses this flag)

IMO "hide the bootable option if GPT" (but maybe that is non-trivial).
Alternatively the value could be displayed as "GPT" and not change when toggled.

Thanks,

--
Matt Taggart
matt@lackof.org


Reply to: