Skip to content

Instantly share code, notes, and snippets.

@reytech-dev
Created August 22, 2020 18:23

Revisions

  1. reytech-dev created this gist Aug 22, 2020.
    42 changes: 42 additions & 0 deletions error-vmlinux-x-x.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,42 @@
    # Steps to fix "error file '/boot/vmlinux-x.x-x86_64' not found (Manjaro)
    ### Great help: https://forum.manjaro.org/t/boot-error-vmlinuz-5-6/2896/3
    ### https://forum.manjaro.org/t/boot-error-vmlinuz-5-6/2896/2

    1. Create Live Stick with Manjaro
    - Download: https://manjaro.org/downloads/official/gnome/
    - Create bootstick: https://manjaro.org/support/firststeps/#making-a-live-system

    2. 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!!)
    3. Boot broken system with the live-system
    4. Open a terminal

    Option A (your main hdd is encrypted)
    - Decrypt and mount it
    - Mount your decrypted hdd to /mnt
    ```sh
    $ mount /dev/dm-x /mnt
    ```

    Option B (no encryption)
    ```sh
    $ sudo manjaro-chroot -a
    ```
    - If you get an error "Can't find mount point 0!", your hdd might be encrypted? Try Option A

    5. Run a package database update
    ```sh
    $ pacman -Syy
    ```

    6. Install package updates
    ```sh
    $ pacman -Syu
    ```
    - If you face any errors, cause you enabled timeshift backups. Run following command instead
    ```sh
    $ SKIP_AUTOSNAP= pacman -Syu
    ```

    7. Exit and reboot

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