Hello, I have a huge problem.
I installed the latest update yesterday. I used “pamac-manager” to do so. The update removed the 6.19 kernel and installed the 7.0 kernel. The updater then asked me to restart so that all the updates would take effect.
After restarting, all boot entries have disappeared. The only option available is the EFI firmware interface.
I then booted a live system and switched to the existing system using “manjaro-chroot -a”.
After a few attempts, I discovered that mkinitcpio -P can no longer create kernel images.
I receive an error message for which I can find no information online.
[manjaro efi]# sudo mkinitcpio -P -v
==> Building image from preset: /etc/mkinitcpio.d/linux618.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
-> -v -k /efi/24ba410fa0004699934f8288629b0df4/6.18.26-1-MANJARO/linux -c /etc/mkinitcpio.conf -g /efi/24ba4
10fa0004699934f8288629b0df4/6.18.26-1-MANJARO/initrd
==> ERROR: Invalid option -k -- '/efi/24ba410fa0004699934f8288629b0df4/6.18.26-1-MANJARO/linux' must be readab
le
==> Building image from preset: /etc/mkinitcpio.d/linux618.preset: 'fallback'
==> Using configuration file: '/etc/mkinitcpio.conf'
-> -v -k /efi/24ba410fa0004699934f8288629b0df4/6.18.26-1-MANJARO/linux -c /etc/mkinitcpio.conf -g /efi/24ba4
10fa0004699934f8288629b0df4/6.18.26-1-MANJARO/initrd-fallback -S autodetect
==> ERROR: Invalid option -k -- '/efi/24ba410fa0004699934f8288629b0df4/6.18.26-1-MANJARO/linux' must be readable
==> Building image from preset: /etc/mkinitcpio.d/linux70.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
-> -v -k /efi/24ba410fa0004699934f8288629b0df4/7.0.3-1-MANJARO/linux -c /etc/mkinitcpio.conf -g /efi/24ba410
fa0004699934f8288629b0df4/7.0.3-1-MANJARO/initrd
==> ERROR: Invalid option -k -- '/efi/24ba410fa0004699934f8288629b0df4/7.0.3-1-MANJARO/linux' must be readable
==> Building image from preset: /etc/mkinitcpio.d/linux70.preset: 'fallback'
==> Using configuration file: '/etc/mkinitcpio.conf'
-> -v -k /efi/24ba410fa0004699934f8288629b0df4/7.0.3-1-MANJARO/linux -c /etc/mkinitcpio.conf -g /efi/24ba410
fa0004699934f8288629b0df4/7.0.3-1-MANJARO/initrd-fallback -S autodetect
==> ERROR: Invalid option -k -- '/efi/24ba410fa0004699934f8288629b0df4/7.0.3-1-MANJARO/linux' must be readable
The system starts with systemd-boot. I have an EFI partition and no boot partition.
bootctl status shows no entries.
mkinitcpio can’t create an image. All failed with the error message above,
Can anyone help me? Does anyone have any ideas? I really don’t feel like reinstalling the system. I’ve made so many changes over the years that I can hardly remember them all. They’d all be lost.
Mod edit: Screenshot removed and replaced with code-formatted text.