Hello, yesterday an update was taking too long, so I cancelled it without thinking about it much. Now whenever I try to boot Manjaro, I get these errors:
error: file '/boot/vmlinuz-5.10-x86_64' not found.
error: you need to load the kernel first.
How can I fix it?
The easiest way to resolve this issue is re-install your kernels by following these steps. If you receive any errors while follwing these steps, you should stop and open a help topic before proceeding.
Download a recent Manjaro live iso from https://manjaro.org/get-manjaro/ 2
Write the ISO to a usb device as in the same way you would if you were planning to install Manjaro
Boot off the ISO
Open a terminal
In the terminal, type:
sudo manjaro-chroot -a
(Please note that if there is only one Linux system detected, you would need to enter 1 instead of 0 after running this command)
This should bring you to a prompt that looks like this: #
From the # prompt, type this to reinstall your kernels:
sudo pacman -Syu $(pacman -Qq | grep -i "^linux[0-9]")
Reboot
2 Likes