Am 28.07.20 um 12:05 schrieb Lennart Poettering: > On Di, 28.07.20 02:02, Reindl Harald (h.rei...@thelounge.net) wrote: > >> Hi >> >> is this a kernel limitation or could systemd act better by *not* mount >> /boot unconditional becasue of the inherited /boot/efi? > > I think the kernel could theoretically support that, but we don't > right now, and I am not sure the usecase is strong enough, since it > makes idle detection pretty weird too... > > It's one of the reasons why we recommend to mount the ESP to /efi and > not submount it into /boot (why would one even, it's so weird that > many Linux distros do that...). It's also what > systemd-gpt-auto-generator does by default... > > My recommendation: mount the ESP to /efi, and maybe add a symlink from > /boot/efi → /efi, which makes things work with old code that insists > that the ESP must be available in /boot/efi...
yeah, i buy that ------------------------ * umount /boot/efi; mkdir /efi; chmod 0755 /efi; rmdir /boot/efi; ln -s /efi /boot/efi * edit fstab * reboot ------------------------ [root@firewall:~]$ ls /boot/ total 30M lrwxrwxrwx 1 root root 4 2020-07-28 12:12 efi -> /efi drwx------ 6 root root 1.0K 2020-07-13 20:30 grub2 drwxr-xr-x 3 root root 1.0K 2018-07-30 22:40 loader drwx------ 2 root root 12K 2013-10-13 22:52 lost+found dr-xr-xr-x. 5 root root 1.0K 2020-07-28 12:12 . dr-xr-xr-x. 20 root root 4.0K 2020-07-28 12:12 .. -rw-r--r-- 1 root root 167 2020-07-23 02:23 .vmlinuz-5.7.10-101.fc31.x86_64.hmac -rw------- 1 root root 15M 2020-07-28 02:15 initramfs-5.7.10-101.fc31.x86_64.img -rw------- 1 root root 5.0M 2020-07-23 02:25 System.map-5.7.10-101.fc31.x86_64 -rw-r--r-- 1 root root 217K 2020-07-23 02:25 config-5.7.10-101.fc31.x86_64 -rwxr-xr-x 1 root root 11M 2020-07-23 02:26 vmlinuz-5.7.10-101.fc31.x86_64 [root@firewall:~]$ ls /boot/efi/ total 26K drwxr-xr-x 4 root root 2.0K 2020-06-30 18:49 EFI drwxr-xr-x 3 root root 16K 1970-01-01 01:00 . dr-xr-xr-x. 20 root root 4.0K 2020-07-28 12:12 .. Jul 28 12:13:40 firewall.esx.vmware.local systemd-fsck[675]: boot: clean, 344/102400 files, 67904/409600 blocks Jul 28 12:13:40 firewall.esx.vmware.local systemd[1]: Started File System Check on /dev/disk/by-uuid/48ffb5f1-9ee0-4637-85ab-089e3c91c578. Jul 28 12:13:40 firewall.esx.vmware.local systemd[1]: Mounting /boot... Jul 28 12:13:40 firewall.esx.vmware.local kernel: EXT4-fs (sda3): mounted filesystem without journal. Opts: discard Jul 28 12:13:40 firewall.esx.vmware.local systemd[1]: Mounted /boot. Jul 28 12:13:43 firewall.esx.vmware.local systemd[1]: efi.automount: Got automount request for /efi, triggered by 681 (ls) Jul 28 12:13:43 firewall.esx.vmware.local systemd[1]: Starting File System Check on /dev/disk/by-uuid/8C0B-91C5... Jul 28 12:13:43 firewall.esx.vmware.local systemd-fsck[682]: fsck.fat 4.1 (2017-01-24) Jul 28 12:13:43 firewall.esx.vmware.local systemd-fsck[682]: /dev/sda1: 12 files, 3830/51091 clusters Jul 28 12:13:43 firewall.esx.vmware.local systemd[1]: Started File System Check on /dev/disk/by-uuid/8C0B-91C5. Jul 28 12:13:43 firewall.esx.vmware.local systemd[1]: Mounting /efi... Jul 28 12:13:43 firewall.esx.vmware.local systemd[1]: Mounted /efi. _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel