On Di, 09.05.23 12:08, Zbigniew Jędrzejewski-Szmek (zbyszek@in.waw.pl) wrote:
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.
I'd strongly advise not to nest them, because that makes mounting them via autofs (i.e. systemd .automount units) nasty. i.e. /boot/ and /efi/ are the way to go in my humble opinion.
Given that ESP/XBOOTLDR are likely vfat it's kind crucial to reduce the time where the partitions are mounted to a minimum, and autofs makes that very simple and natural, as it means the file systems are only mounted for a very short period of time when actually accessed, and unmounted a seconds later.
Lennart
-- Lennart Poettering, Berlin