Out of nowhere my ThinkPad started to show this error during boot:
Loading Linux linux error: file '/boot/vmlinuz-linux' not found. Loading inital ramdisk ... error: you need to load the kernel first. Press any key to continue...
I did not recall any problems during updates or anything like that. But this is probably what happened.
After a short google search I came across this post on the arch forums: https://bbs.archlinux.org/viewtopic.php?id=286193
What the person in the original post tried worked almost perfectly for me. I just had to change the partitions and also re-generated the grub config. With a usb live-system I was able to fix the problem.
Here are the commands I ran:
loadkeys de-latin1 mkdir /rescue # Mount "normal" linux partition (Most likely will vary on your system!) mount /dev/nvme0n1p3 /rescue # Mount boot (EFI System) partition (Most likely will vary on your system!) mount /dev/nvme0n1p1 /rescue/boot mount -t proc proc /rescue/proc mount -t sysfs sys /rescue sys mount -o bind /dev /rescue/dev mount -t devpts pts /rescue/dev/pts chroot /rescue /bin/bash # Just to be sure, run the update twice and also regenerate the grub-config pacman -Syu linux mkinitcpio -P pacman -Syu linux grub-mkconfig -o /boot/grub/grub.cfg shutdown -P # Now restart the system without booting from the usb stick
Doing pacman -Syu linux two times and re-generating the grub config might have been unnecessary, but it did not hurt in my case.
God bless the arch wiki and the arch community!