#1098883 debian-installer: d-i should warn if ESP is a logical volume within LVM

#1098883#5
Date:
2025-02-25 13:36:34 UTC
From:
To:
Dear Maintainer,

it would be great if d-i would advise users that an ESP created as a
logical volume within LVM will (likely?) not be accessible to the UEFI.

I recently had this issue, and it caused me quite some effort to
understand why Grub couldn't properly register itself in UEFI -- it
was due to the above. ;-)

Thanks for listening.

Kind regards,

Ralf

#1098883#10
Date:
2025-02-25 14:03:38 UTC
From:
To:
Control: reassign -1 partman-efi

I remember you on IRC.
This is a known issue, not specific to LVM; partman-efi should not allow
to create an ESP where UEFI firmware cannot read it (LVM, crypto, most
software RAID levels, partition tables other than DOS/MBR and GPT...).
A couple of years ago I submitted a bug report and a patch:

<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995091>
<https://salsa.debian.org/installer-team/partman-efi/-/merge_requests/4>

However it appeared later that some users create an ESP on RAID1 v1.0
which can be read as independent partitions by UEFI firmware. So maybe
just warn the user is an option. It requires a new debconf template and
will involve translation effort, so it I guess is too late for trixie.

#1098883#17
Date:
2025-02-27 11:52:11 UTC
From:
To:
Is that good or bad? ;-)
Of course. I should have phrased it more generic, you're right.
True. I have this setup on one of my servers. :-)
I can help with German, but I guess you want more translations than just
that. ;-)