You are not logged in.
I ran the following command to install systemd boot. My EFI partition was already mounted at /boot
bootctl install --esp-path=/boot
However, when I then run
bootctl status
it still shows the ESP on /efi
Available Boot Loaders on ESP:
ESP: /efi (/dev/disk/by-partuuid/9335d423-1338-400b-96c7-dd37cf421baa)
Boot Loaders Listed in EFI Variables:
Title: Linux Boot Manager
ID: 0x0000
Status: active, boot-order
Partition: /dev/disk/by-partuuid/9335d423-1338-400b-96c7-dd37cf421baa
File: └─/EFI/systemd/systemd-bootx64.efi
Boot Loader Entries:
$BOOT: /efi (/dev/disk/by-partuuid/9335d423-1338-400b-96c7-dd37cf421baa)
Furthermore, it looks like my EFI partition is somehow mounted at both /efi and /boot
❯ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
nvme0n1 259:0 0 476.9G 0 disk
├─nvme0n1p1 259:1 0 1.3G 0 part /efi
│ /boot
I tried to unmount /efi and deleting the folder but whenever I try to delete it, it mounts itself again. I tried looking at my fstab but couldn't find anything for /efi
UUID=f9d294ce-44ba-473c-9aa3-b5cf3c0059bc / ext4 rw,relatime 0 1
UUID=944ea586-4164-49b4-b55c-9897b774fe09 /home ext4 defaults 0 0
/swapfile none swap defaults 0 0
UUID=B011-953C /boot/ vfat defaults 0 2
Any ideas?
Last edited by chickenlobster (2021-12-05 16:19:12)
Offline
systemd-boot doesn't mount anything and has no relation to your running system, this is up to your general configuration check your fstab.
forgot about those see below.
Last edited by V1del (2021-12-04 17:49:17)
Offline
It's systemd-gpt-auto-generator that mounts it. And the reason it mounts it is because you had created the /efi directory.
You get rid of it, you first need to disable and stop the mount and automount units, only afterwards you'll be able to delete the directory.
IIRC the units should be efi.automount and efi.mount, check by running:
$ systemctl list-units --type=automount
Offline
It's systemd-gpt-auto-generator that mounts it. And the reason it mounts it is because you had created the /efi directory.
You get rid of it, you first need to disable and stop the mount and automount units, only afterwards you'll be able to delete the directory.
IIRC the units should be efi.automount and efi.mount, check by running:$ systemctl list-units --type=automount
That was exactly it. Thanks so much!
Offline