Skip to content

Instantly share code, notes, and snippets.

@reytech-dev
Created August 22, 2020 18:23
Show Gist options
  • Select an option

  • Save reytech-dev/9ff4f4f71205f0efa2d4b972477ea62b to your computer and use it in GitHub Desktop.

Select an option

Save reytech-dev/9ff4f4f71205f0efa2d4b972477ea62b to your computer and use it in GitHub Desktop.
Steps to fix 'error file /boot/vmlinuz-x.x not found'

Steps to fix "error file '/boot/vmlinux-x.x-x86_64' not found (Manjaro)

  1. Create Live Stick with Manjaro
  1. Change UEFI Settings on your broken system: Boot > Secure Boot > Other OS (You can also disable UEFI, but make sure to re-enable it after you are done here!!)
  2. Boot broken system with the live-system
  3. Open a terminal

Option A (your main hdd is encrypted)

  • Decrypt and mount it
  • Mount your decrypted hdd to /mnt
$ mount /dev/dm-x /mnt

Option B (no encryption)

$ sudo manjaro-chroot -a
  • If you get an error "Can't find mount point 0!", your hdd might be encrypted? Try Option A
  1. Run a package database update
$ pacman -Syy
  1. Install package updates
$ pacman -Syu
  • If you face any errors, cause you enabled timeshift backups. Run following command instead
$ SKIP_AUTOSNAP= pacman -Syu
  1. Exit and reboot

  2. Turn on your UEFI if you disabled it, or change it back to its original setting, to enable a proper check during startup!

@tyashin
Copy link

tyashin commented Jun 8, 2025

Well, Manjaro nuked itself while normal update, no power outages, just normal reboot after update (which Manjaro has asked for).
It's hard to trust this OS any more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment