On Tue, May 09, 2023 at 12:02:26PM +0200, Gerd Hoffmann wrote:
Hi,
> If we want to change the default here, let's do some proper cleanup:
> 1. the split between ESP and XBOOTLDR is only useful in the case where
> ESP already existed and was small. If the installer is *creating*
> an ESP, it should just make it large enough.
And install kernels to /boot/efi in case /boot is not a XBOOTLDR
filesystem?
If /boot is not a XBOOTLDR, then we only have one file system which is
the ESP. It could be mounted on /boot or on /efi or maybe even /boot/efi (*).
The kernels would then go to /boot/EFI/Linux, /efi/EFI/Linux, or /boot/efi/EFI/Linux,
respectively. (When you write /boot/efi, it's not clear what exactly you
mean. The duplication of "efi" and "EFI" on on case-insensitive
system
is confusing.)
(*) This is actually something that'd need to be figure out.
/boot/efi is the worst choice; either /boot or /efi would be OK,
but something needs to be chosen.
> 2. having a second partition with a second (different) file
system
> implementation just increases the footprint and attack surface for
> no gain. If we create XBOOTLDR, make it like the ESP (i.e. VFAT
> in almost all realistic scenarios).
While being at it also give the XBOOTLDR the correct type uuid according
to the discoverable partitions spec.
Of course ;-]
Zbyszek