On boot getting error: file '/boot/vmlinuz-5.10-x86_64' not found. Fallbacks not working either

On boot getting

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

Been getting this error after updating the system with the GUI.

Then:

Failed to boot both default and fallback entries.

With update-grub I get:

grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map

I’ve tried chrooting in to update with no luck.

sudo su -
manjaro-chroot -a

There was a pending update that finished with one last file downloaded after I removed the lock file.

mhwd-li -li outputs:

Currently running: 5.15.32-1-MANJARO (linux515)
The following kernels are installed in your system:
   * linux510
   * linux515

Linux 5.10 doesn’t show up in grub and I can’t seem to find it on the menu.

sudo mkinitcpio -P gives

==> Building image from preset: /etc/mkinitcpio.d/linux510.preset: 'default'
  -> -k /boot/vmlinuz-5.10-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.10-x86_64.img
==> Starting build: 5.10.164-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.10-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux510.preset: 'fallback'
  -> -k /boot/vmlinuz-5.10-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.10-x86_64-fallback.img -S autodetect
==> Starting build: 5.10.164-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: qla2xxx
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.10-x86_64-fallback.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: 'default'
  -> -k /boot/vmlinuz-5.15-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.15-x86_64.img
==> ERROR: specified kernel image does not exist: `/boot/vmlinuz-5.15-x86_64'
==> Building image from preset: /etc/mkinitcpio.d/linux515.preset: 'fallback'
  -> -k /boot/vmlinuz-5.15-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.15-x86_64-fallback.img -S autodetect
==> ERROR: specified kernel image does not exist: `/boot/vmlinuz-5.15-x86_64'

inxi -Fza gives

12System:
  12Kernel 5.15.32-1-MANJARO 12arch x86_64 12bits 64 12compiler gcc 12v 11.2.0
    12parameters BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC misobasedir=manjaro
    misolabel=MANJARO_KDE_2126 quiet systemd.show_status=1 apparmor=1 security=apparmor
    driver=free nouveau.modeset=1 i915.modeset=1 radeon.modeset=1
  12Console N/A 12Distro Manjaro Linux 12base Arch Linux
12Machine:
  12Type Laptop 12System LENOVO 12product 20GBS00S00 12v ThinkPad 11e 3rd Gen 12serial <filter> 12Chassis
    12type 10 12serial <filter>
  12Mobo LENOVO 12model Intel powered classmate PC 12v SDK0K13467 WIN 12serial <filter>
    12UEFI-[Legacy] LENOVO 12v R0AET31W (1.14) 12date 12/20/2016
12Battery:
  12ID-1 BAT1 12charge 17.8 Wh (47.2%) 12condition 37.7/42.0 Wh (89.7%) 12volts 11.2 12min 11.2
    12model SMP LNV-00HW44 12type Li-poly 12serial <filter> 12status discharging
12CPU:
  12Info 12model Intel Celeron N3160 12socket CHV 12bits 64 12type MCP 12arch Airmont 12level v2 12built 2015-17
    12process Intel 14nm 12family 6 12model-id 0x4C (76) 12stepping 4 12microcode 0x411
  12Topology 12cpus 1x 12cores 4 12smt <unsupported> 12cache 12L1 224 KiB 12desc d-4x24 KiB; i-4x32 KiB
    12L2 2 MiB 12desc 2x1024 KiB
  12Speed (MHz) 12avg 852 12high 1259 12min/max 480/2240 12base/boost 1600/1660 12scaling
    12driver intel_cpufreq 12governor schedutil 12volts 3.6 V 12ext-clock 83 MHz 12cores 121 550 122 519 123 1259
    124 1080 12bogomips 12805
  12Flags ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
  12Vulnerabilities
  12Type itlb_multihit 12status Not affected
  12Type l1tf 12status Not affected
  12Type mds 12mitigation Clear CPU buffers; SMT disabled
  12Type meltdown 12mitigation PTI
  12Type spec_store_bypass 12status Not affected
  12Type spectre_v1 12mitigation usercopy/swapgs barriers and __user pointer sanitization
  12Type spectre_v2 12mitigation Retpolines, IBPB: conditional, IBRS_FW, STIBP: disabled, RSB filling
  12Type srbds 12status Not affected
  12Type tsx_async_abort 12status Not affected
12Graphics:
  12Device-1 Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics
    12vendor Lenovo 12driver i915 12v kernel 12arch Gen-8 12process Intel 14nm 12built 2014-15 12ports 12active eDP-1
    12empty DP-1, DP-2, HDMI-A-1, HDMI-A-2 12bus-ID 00:02.0 12chip-ID 8086:22b1 12class-ID 0300
  12Device-2 Realtek Integrated Camera 12type USB 12driver uvcvideo 12bus-ID 1-3:2 12chip-ID 0bda:57e9
    12class-ID 0e02 12serial <filter>
  12Display 12server X.org 12v 1.21.1.6 12compositor kwin_x11 12driver 12X 12loaded modesetting
    12alternate fbdev,vesa 12dri crocus 12gpu i915 12tty 80x40
  12Monitor-1 eDP-1 12model ChiMei InnoLux 0x1132 12built 2013 12res 1366x768 12dpi 136 12gamma 1.2
    12size 256x144mm (10.08x5.67") 12diag 294mm (11.6") 12ratio 16:9 12modes 1366x768
  12API OpenGL 12Message GL data unavailable in console for root.
12Audio:
  12Device-1 Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series High Definition Audio
    12vendor Lenovo 12driver snd_hda_intel 12v kernel 12bus-ID 00:1b.0 12chip-ID 8086:2284 12class-ID 0403
  12Sound API ALSA 12v k5.15.32-1-MANJARO 12running yes
  12Sound Server-1 JACK 12v 1.9.21 12running no
  12Sound Server-2 PulseAudio 12v 16.1 12running yes
  12Sound Server-3 PipeWire 12v 0.3.64 12running yes
12Network:
  12Device-1 Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 12vendor Lenovo 12driver r8169
    12v kernel 12pcie 12gen 1 12speed 2.5 GT/s 12lanes 1 12port 1000 12bus-ID 02:00.0 12chip-ID 10ec:8168
    12class-ID 0200
  12IF enp2s0 12state down 12mac <filter>
  12Device-2 Intel Wireless 7265 12driver iwlwifi 12v kernel 12pcie 12gen 1 12speed 2.5 GT/s 12lanes 1
    12bus-ID 03:00.0 12chip-ID 8086:095b 12class-ID 0280
  12IF wlp3s0 12state up 12mac <filter>
12Bluetooth:
  12Device-1 Intel Bluetooth wireless interface 12type USB 12driver btusb 12v 0.8 12bus-ID 1-5:3
    12chip-ID 8087:0a2a 12class-ID e001
  12Report rfkill 12ID hci0 12rfk-id 1 12state up 12address see --recommends
12Drives:
  12Local Storage 12total 148.12 GiB 12used 53.16 GiB (35.9%)
  12ID-1 /dev/sda 12maj-min 8:0 12vendor SanDisk 12model SD8SN8U128G1001 12size 119.24 GiB 12block-size
    12physical 512 B 12logical 512 B 12sata 3.2 12speed 6.0 Gb/s 12type SSD 12serial <filter> 12rev 0001 12temp 34 C
  12SMART yes 12state enabled 12health PASSED 12on 72d 14h 12cycles 1748 12read 1.9 MiB 12written 973 KiB
    12Old-Age 12threshold 1
  12ID-2 /dev/sdb 12maj-min 8:16 12type USB 12model USB DISK 3.0 12size 28.88 GiB 12block-size 12physical 512 B
    12logical 512 B 12type N/A 12serial <filter> 12rev PMAP
  12SMART Message Unknown USB bridge. Flash drive/Unsupported enclosure?
12Partition:
  12ID-1 / 12raw-size 67.17 GiB 12size 65.56 GiB (97.61%) 12used 53.16 GiB (81.1%) 12fs ext4
    12block-size 4096 B 12dev /dev/sda3 12maj-min 8:3
12Swap:
  12Alert No swap data was found.
12Sensors:
  12System Temperatures 12cpu 54.0 C 12mobo 0.0 C
  12Fan Speeds (RPM) 12cpu 3829
12Info:
  12Processes 211 12Uptime 44m 12wakeups 2 12Memory 3.66 GiB 12used 2.94 GiB (80.5%) 12Init systemd 12v 252
  12default graphical 12tool systemctl 12Compilers 12gcc 12.2.1 12clang 15.0.7 12Packages 12pm pacman 12pkgs 1562
  12libs 369 12tools pamac 12pm flatpak 12pkgs 0 12Client 12inxi 3.3.24

Download a recent Manjaro live iso
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

If receive unable to lock database:

sudo rm /var/lib/pacman/db.lck

Judging that you run inxi inside chroot… I would say your root partition is just full and it cannot write the full image.

1 % → file system, also called metadata
5% → reserved space for root
5-10% → ext4 journal

67.17 - 11% = 59.78 GB

Now see what you have: used 53.16 GiB (81.1%)

Your kernel is missing ! (did you mount /boot ?)
Try reinstalling kernels in chroot with
mhwd-kernel -i ...

Welcome to the forum!

That is always the result of an interrupted update process. Please see the post below for how to recover from that. :arrow_down:

This let me boot back into the system. I think my admin password isn’t working? That’s probably better for another thread and after a reinstall of the original kernel I was using, but I thought I would ask in case anyone knew if it could be related?

Edit:

I was able to use the password reset tool to set the password. The lock screen had the same, but the admin was mixed up somehow.

Thank you everyone for the help.

I can’t uninstall the old kernel completely

   ~  sudo mhwd-kernel -i linux515                                      ✔ 
:: Synchronizing package databases...
 core                  161.7 KiB   272 KiB/s 00:01 [#######################] 100%
 extra                1857.5 KiB  5.50 MiB/s 00:00 [#######################] 100%
 community               7.5 MiB  10.7 MiB/s 00:01 [#######################] 100%
 multilib              169.6 KiB  2.07 MiB/s 00:00 [#######################] 100%
resolving dependencies...
looking for conflicting packages...

Packages (1) linux515-5.15.89-1

Total Installed Size:  104.64 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                     [#######################] 100%
(1/1) checking package integrity                   [#######################] 100%
(1/1) loading package files                        [#######################] 100%
(1/1) checking for file conflicts                  [#######################] 100%
error: failed to commit transaction (conflicting files)
linux515: /boot/linux515-x86_64.kver exists in filesystem
linux515: /usr/lib/modules/5.15.89-1-MANJARO/extramodules exists in filesystem
linux515: /usr/lib/modules/5.15.89-1-MANJARO/kernel/arch/x86/crypto/aegis128-aesni.ko.xz exists in filesystem
linux515: /usr/lib/modules/5.15.89-1-MANJARO/kernel/arch/x86/crypto/aesni-intel.ko.xz exists in filesystem
linux515: /usr/lib/modules/5.15.89-1-MANJARO/kernel/arch/x86/crypto/blowfish-x86_64.ko.xz exists in filesystem
linux515: /usr/lib/modules/5.15.89-1-MANJARO/kernel/arch/x86/crypto/camellia-aesni-avx-x86_64.ko.xz exists in filesystem
linux515: /usr/lib/modules/5.15.89-1-MANJARO/kernel/arch/x86/crypto/camellia-aesni-avx2.ko.xz exists in filesystem
linux515: /usr/lib/modules/5.15.89-1-MANJARO/kernel/arch/x86/crypto/camellia-x86_64.ko.xz exists in filesystem
linux515: /usr/lib/modules/5.15.89-1-MANJARO/kernel/arch/x86/crypto/cast5-avx-x86_64.ko.xz exists in filesystem
linux515: /usr/lib/modules/5.15.89-1-MANJARO/kernel/arch/x86/crypto/cast6-avx-x86_64.ko.xz exists in filesystem

...
...
...

linux515: /usr/lib/modules/5.15.89-1-MANJARO/kernel/drivers/cxl/cxl_acpi.ko.xz ex
ists in filesystem
linux515: /usr/lib/modules/5.15.89-1-MANJARO/kernel/drivers/cxl/cxl_pci.ko.xz exi
sts in filesystem
linux515: /usr/lib/modules/5.15.89-1-MANJARO/kernel/drivers/cxl/cxl_pmem.ko.xz ex
ists in filesystem
linux515: /usr/lib/modules/5.15.89-1-MANJARO/kernel/drivers/dax/device_dax.ko.xz
exists in filesystem
linux515: /usr/lib/modules/5.15.89-1-MANJARO/kernel/drivers/dax/hmem/dax_hmem.ko.
xz exists in filesystem
linux515: /usr/lib/modules/5.15.89-1-MANJARO/kernel/drivers/dax/kmem.ko.xz exists
in filesystem
linux515: /usr/lib/modules/5.15.89-1-MANJARO/kernel/drivers/dax/pmem/dax_pmem.ko.
xz exists in filesystem
linux515: /usr/lib/modules/5.15.89-1-MANJARO/kernel/drivers/dax/pmem/dax_pmem_com
pat.ko.xz exists in filesystem
linux515: /usr/lib/modules/5.15.89-1-MANJARO/kernel/drivers/dax/pmem/dax_pmem_cor
e.ko.xz exists in filesystem
linux515: /usr/lib/modules/5.15.89-1-MANJARO/kernel/drivers/dca/dca.ko.xz exists
in filesystem
linux515: /usr/lib/modules/5.15.89-1-MANJARO/kernelbase exists in filesystem
Errors occurred, no packages were upgraded.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.