bootctl install
Copied "/usr/lib/systemd/boot/efi/systemd-bootx64.efi" to "/efi/EFI/systemd/systemd-bootx64.efi".
Copied "/usr/lib/systemd/boot/efi/systemd-bootx64.efi" to "/efi/EFI/BOOT/BOOTX64.EFI".
⚠️ Mount point '/efi' which backs the random seed file is world accessible, which is a security hole! ⚠️
⚠️ Random seed file '/efi/loader/random-seed' is world accessible, which is a security hole! ⚠️
Random seed file /efi/loader/random-seed successfully refreshed (32 bytes).
Created EFI boot entry "Linux Boot Manager".
deleted and recreated the efi partition (with gparted, FAT32 format, flag efi,boot)
mounted the partition in /mnt/efi
chroot
reinstalled the kernel (pacman -S linux)
installed systemd-boot (bootctl install)
entries are created, but at boot always the same error "Failed to execute /init (error -2)
It is getting far enough that I would suspect there is something wrong with your initrd.
However, rebuilding those doesn’t help. Often an error in the initrd is actually caused by an error on the system itself since the initrd is build by compressing certain files from the system into the initrd.
So, ultimately, all that logic leads us to…something is probably wrong with the system. Which is, of course, terribly unhelpful.
It is possible that whatever is causing this problem was introduced before the update but the update triggered rebuilding the initrds and, as a result, pulled in whatever the problem is/was.
Have you tried booting off the fallback entry? If that doesn’t work can you share the output of: