You are not logged in.
Every time I reboot my computer, systemd appears to be creating /efi and auto-mounting my ESP. After reading https://bbs.archlinux.org/viewtopic.php?id=271857 and https://wiki.archlinux.org/title/System … tomounting, I have stopped the efi.mount and efi.automount units and deleted /efi (which I don't recall ever creating) and I have set the "do not automount" attribute on my ESP but when I reboot, the directory appears again and gets mounted. I do not want this behavior because I already mount my ESP on /boot in my /etc/fstab. Any ideas how to get systemd to stop auto-creating and mounting to /efi?
I've also tried disabling the efi.mount and efi.automount units but I'm unable to and receive the following error:
# systemctl disable efi.automount
The unit files have no installation config (WantedBy=, RequiredBy=, UpheldBy=,
Also=, or Alias= settings in the [Install] section, and DefaultInstance= for
template units). This means they are not meant to be enabled or disabled using systemctl.
Possible reasons for having this kind of units are:
• A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
• A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
• A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).
• In case of template units, the unit is meant to be enabled with some
instance name specified.Last edited by jcarrete (2023-08-04 19:10:11)
Offline
https://bbs.archlinux.org/viewtopic.php?id=287735 points to a systemd bug.
Offline
Add "systemd.gpt_auto=no" to the kernel parameters in your bootloader configuration, see https://man.archlinux.org/man/core/syst … rator.8.en
Offline
Adding "systemd.gpt_auto=no" appears to work around this issue until that bug is resolved. Thanks all
Offline