FAQ: error: you need to load the kernel first

Problem

After an update you reboot and receive an error message that looks like this.

error: file `/boot/vmlinuz-4.19-x86_64' not found.
error: you need to load the kernel first.

Press any key to continue...

Solution

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/
  • 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
3 Likes

Forum kindly sponsored by