You are not logged in.
I installed bootctl with bootctl install, but when I booting only appears reboot into firmware interface option. I have these errors with bootctl:
linux: /boot/efi//vmlinuz-linux-zen (No such file or directory)
initrd: /boot/efi//initramfs-linux-zen.img (No such file or directory)The problem is apparently because the kernel location, but what I should to do in this case?
/boot/efi/loader/entries/arch.conf
title Arch Linux
linux /vmlinuz-linux-zen
initrd /initramfs-linux-zen.img
options root=UUID=<UUID value> rw/boot/efi/loader/loader.conf
timeout 10
console-mode max
editor no
default arch.confLast edited by FrancisArcher_60 (2025-02-23 14:02:37)
Offline
Why are you mounting the EFI system partition to /boot/efi instead of /boot?
As stated in Arch boot process#Feature comparison, systemd-boot:
Can only launch binaries from the ESP it is installed to or from the Extended Boot Loader Partition (XBOOTLDR partition) on the same disk.
Those bootctl errors show the issue. There are no such files in the EFI system partition.
Offline
Why are you mounting the EFI system partition to /boot/efi instead of /boot?
As stated in Arch boot process#Feature comparison, systemd-boot:
https://wiki.archlinux.org/title/Arch_boot_process#Feature_comparison wrote:Can only launch binaries from the ESP it is installed to or from the Extended Boot Loader Partition (XBOOTLDR partition) on the same disk.
Those bootctl errors show the issue. There are no such files in the EFI system partition.
But first I mount the root partition that have the kernels and efi empty folder in /boot, so I can't to mount it in /boot
And these documentation says that /boot/efi Is a valid mountpoint, and is supported by systemd boot
Last edited by FrancisArcher_60 (2025-02-23 12:51:27)
Offline
But first I mount the root partition that have the kernels and efi empty folder in /boot, so I can't to mount it in /boot
1. Unmount /boot/efi,
2. Delete the empty /boot/efi directory,
3. Move all files from /boot/ to a safe place (another directory),
4. Mount the ESP to /boot,
5. Move the previously backed-up files to /boot/ (which is where the ESP is now mounted).
6. Update your /etc/fstab.
And these documentation says that /boot/efi Is a valid mountpoint, and is supported by systemd boot
Sure, it's "supported", but systemd-boot still requires access to the the kernel and initramfs which by default are in /boot (i.e. not the EFI system partition in your case). Unless you want go through the hassle of https://wiki.archlinux.org/title/EFI_sy … unt_points, I suggest simply mounting the ESP to /boot.
Offline
Fine, thanks it works
Offline
When I exec sudo pacman -Syu after to update all, appears this : Failed to create unit file 'run/systemd/generator/boot.mount' , as It already exists. Duplicate entry in '/etc/fstab'?
This matters? Or Is not important?
Last edited by FrancisArcher_60 (2025-02-23 16:06:35)
Offline
Do you have two entries for /boot in /etc/fstab?
Offline