Manjaro unable to boot (error: file '/boot/vmlinuz-5.7-x86_64' not found')

Hi, since an update yeserday Manjaro doesnt boot anymore. After the Grub Menu the text appears:

error: file ‘/boot/vmlinuz-5.7-x86_64’ not found
error: you need to load the kernel first.

Press any key to continue…

I tried the steps from this thread: https://forum.manjaro.org/t/boot-error-vmlinuz-5-6/2896

sudo manjaro-chroot -a ( type 1 if only one line appears )
rm -f /var/lib/pacman/db.lck
pacman -Syy 
pacman -Syu
mhwd-kernel -i linux57
exit ( quit chroot )

but it’s not working. Can anybody help me? Thank you for so far!

Welcome at the forum, @simande

Please, chroot again and apply following commands:

inxi -Fxxxza --no-host
sudo parted -l
efibootmgr -v
ls -la /boot

Post the output here, using the </> button in the forum editor to format the text.

Hi @Wollie, thank you for your reply.

now when i try to chroot (sudo manjaro-chroot -a) there comes the output

==> ERROR: You can't mount 0!

After manjaro-chroot -a you have to enter when asked and there is only one line:

1


(don’t ask why, it’s a bug)

but i’m not asked anything :frowning: right after the chroot-command the Error appears. It looks like this:

sudo manjaro-chroot -a
/usr/lib/manjaro-tools/util-mount.sh: line 23: /usr/bin/os-prober:Input/output error
==> ERROR: You can't mount 0!

Have you done anything after it was working succesful, last time?

Instead of using manjaro-chroot you could try the method desribed as

“Manually Identify and Prepare the Installed Partition(s)”

in this wiki entry and report when the error exactly occur.

No, I was just looking around in my files. I tried the steps from the question 2 weeks ago, I rebooted and now its no longer working. I will try those steps from the wiki.
Maybe a stupid question: is there a way to save my files and reinstall Manjaro? I am really overstrained with this…

Sure. Boot into live iso, mount / partition and copy all relevant files to a backup location. If you have a /home partition - do the same.

now I made my way back chrooting with sudo manjaro-chroot -a
after that i applied the commands with the following output:

Output 1:

[manjaro-gnome /]# inxi -Fxxxza --no-host
12System:    12Kernel 5.6.15-1-MANJARO x86_64 12bits 64 12compiler gcc 12v 10.1.0 
           12parameters BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC driver=free 
           nouveau.modeset=1 i915.modeset=1 radeon.modeset=1 misobasedir=manjaro 
           misolabel=MANJARO_GNOME_2003 quiet systemd.show_status=1 apparmor=1 security=apparmor 
           12Console N/A 12wm gnome-shell 12Distro Manjaro Linux 
12Machine:   12Type Laptop 12System LENOVO 12product 20FAS2G900 12v ThinkPad T460s 12serial <filter> 12Chassis 
           12type 10 12serial <filter> 
           12Mobo LENOVO 12model 20FAS2G900 12v SDK0J40697 WIN 12serial <filter> 12UEFI LENOVO 
           12v N1CET43W (1.11 ) 12date 04/14/2016 
12Battery:   12ID-1 BAT0 12charge 19.4 Wh 12condition 19.4/23.5 Wh (82%) 12volts 12.8/11.4 12model SMP 00HW023 
           12type Li-poly 12serial <filter> 12status Full 
           12ID-2 BAT1 12charge 15.2 Wh 12condition 15.2/26.3 Wh (58%) 12volts 12.7/11.4 
           12model SANYO 01AV405 12type Li-ion 12serial <filter> 12status Full 
12CPU:       12Topology Dual Core 12model Intel Core i7-6600U 12socket U3E1 12bits 64 12type MT MCP 
           12arch Skylake 12family 6 12model-id 4E (78) 12stepping 3 12microcode D6 12L1 cache 128 KiB 
           12L2 cache 4096 KiB 12L3 cache 4096 KiB 
           12flags avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 12bogomips 22408 
           12Speed 700 MHz 12min/max 400/3400 MHz 12base/boost 2600/8300 12volts 1.0 V 12ext-clock 100 MHz 
           12Core speeds (MHz) 121 700 122 700 123 700 124 700 
           12Vulnerabilities 12Type itlb_multihit 12status KVM: Vulnerable 
           12Type l1tf 12mitigation PTE Inversion 
           12Type mds 12mitigation Clear CPU buffers; SMT vulnerable 
           12Type meltdown 12mitigation PTI 
           12Type spec_store_bypass 
           12mitigation Speculative Store Bypass disabled via prctl and seccomp 
           12Type spectre_v1 12mitigation usercopy/swapgs barriers and __user pointer sanitization 
           12Type spectre_v2 12mitigation Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: 
           conditional, RSB filling 
           12Type tsx_async_abort 12mitigation Clear CPU buffers; SMT vulnerable 
12Graphics:  12Device-1 Intel Skylake GT2 [HD Graphics 520] 12vendor Lenovo 12driver i915 12v kernel 
           12bus ID 00:02.0 12chip ID 8086:1916 
           12Device-2 Chicony Integrated Camera 12type USB 12driver uvcvideo 12bus ID 1-8:5 
           12chip ID 04f2:b52c 12serial <filter> 
           12Display 12server X.org 1.20.8 12compositor gnome-shell 12driver intel 12unloaded modesetting 
           12alternate fbdev,vesa 12resolution <xdpyinfo missing> 
           12Message Advanced graphics data unavailable for root. 
12Audio:     12Device-1 Intel Sunrise Point-LP HD Audio 12vendor Lenovo 12driver snd_hda_intel 12v kernel 
           12bus ID 00:1f.3 12chip ID 8086:9d70 
           12Sound Server ALSA 12v k5.6.15-1-MANJARO 
12Network:   12Device-1 Intel Ethernet I219-LM 12vendor Lenovo 12driver e1000e 12v 3.2.6-k 12port efa0 
           12bus ID 00:1f.6 12chip ID 8086:156f 
           12IF enp0s31f6 12state down 12mac <filter> 
           12Device-2 Intel 12driver N/A 12port efa0 12bus ID 03:00.0 12chip ID 8086:093c 
           12Device-3 Intel Wireless 8260 12driver iwlwifi 12v kernel 12port efa0 12bus ID 04:00.0 
           12chip ID 8086:24f3 
           12IF wlp4s0 12state up 12mac <filter> 
12Drives:    12Local Storage 12total 961.37 GiB 12used 227.47 GiB (23.7%) 
           12SMART Message Required tool smartctl not installed. Check --recommends 
           12ID-1 /dev/nvme0n1 12vendor Samsung 12model MZSLW1T0HMLH-000L1 12size 953.87 GiB 12block size 
           12physical 512 B 12logical 512 B 12speed 31.6 Gb/s 12lanes 4 12serial <filter> 12rev 3L0QCXY7 
           12ID-2 /dev/sda 12type USB 12model Chipsbnk UDisk 12size 7.50 GiB 12block size 12physical 512 B 
           12logical 512 B 12serial <filter> 12rev 5.00 
12Partition: 12ID-1 / 12raw size 932.15 GiB 12size 916.52 GiB (98.32%) 12used 227.35 GiB (24.8%) 12fs ext4 
           12block size 4096 B 12dev /dev/nvme0n1p2 
12Swap:      12Alert No Swap data was found. 
12Sensors:   12System Temperatures 12cpu 41.0 C 12mobo N/A 
           12Fan Speeds (RPM) 12cpu 0 
12Info:      12Processes 203 12Uptime 5m 12Memory 19.42 GiB 12used 1.13 GiB (5.8%) 12Init systemd 12v 246 
           12Compilers 12gcc 10.2.0 12clang 10.0.1 12Packages 1428 12pacman 1427 12lib 432 12rpm 1 12flatpak 0 
           12Client Unknown Client: systemd 12inxi 3.1.05 

Output 2:

[manjaro-gnome /]# sudo parted -l
Model: Chipsbnk UDisk (scsi)
Disk /dev/sda: 8053MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 2      2773MB  2777MB  4194kB  primary               esp


Model: SAMSUNG MZSLW1T0HMLH-000L1 (nvme)
Disk /dev/nvme0n1: 1024GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name  Flags
 1      2097kB  317MB   315MB   fat32              boot, esp
 2      317MB   1001GB  1001GB  ext4
 3      1001GB  1024GB  23.0GB  swsusp             swap

Output 3:

[manjaro-gnome /]# efibootmgr -v
BootCurrent: 001B
Timeout: 2 seconds
BootOrder: 0017,0018,0019,001A,0003,001C,0002,0001,0000,0004,001B,0021
Boot0000  Linux Boot Manager	HD(1,GPT,8a72c8ec-d324-4c7d-8386-8277758d8ef1,0x800,0x80000)/File(\EFI\systemd\systemd-bootx64.efi)
Boot0001  Linux Boot Manager	HD(1,GPT,064db5bc-fece-4b37-ac54-75821331f312,0x800,0x100000)/File(\EFI\systemd\systemd-bootx64.efi)
Boot0002  Linux Boot Manager	HD(1,GPT,804b1e6b-3330-45af-96e1-7ca2dfbdfef9,0x800,0x100000)/File(\EFI\systemd\systemd-bootx64.efi)
Boot0003  antergos_grub	HD(1,GPT,d852f406-0281-4242-b566-bcfe355f695d,0x800,0x64000)/File(\EFI\antergos_grub\grubx64.efi)
Boot0004  Manjaro	HD(1,GPT,b2901da2-52f6-4a13-8c33-56c1c906a53d,0x1000,0x96000)/File(\EFI\Manjaro\grubx64.efi)
Boot0010  Setup	FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011  Boot Menu	FvFile(126a762d-5758-4fca-8531-201a7f57f850)
Boot0012  Diagnostic Splash Screen	FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
Boot0013  Lenovo Diagnostics	FvFile(3f7e615b-0d45-4f80-88dc-26b234958560)
Boot0014  Startup Interrupt Menu	FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)
Boot0015  Rescue and Recovery	FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)
Boot0016  MEBx Hot Key	FvFile(ac6fd56a-3d41-4efd-a1b9-870293811a28)
Boot0017* USB CD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot0018  USB FDD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0019  NVMe0	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a400)
Boot001A  ATA HDD0	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)
Boot001B* USB HDD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot001C  PCI LAN	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
Boot001D* IDER BOOT CDROM	PciRoot(0x0)/Pci(0x16,0x2)/Ata(0,1,0)
Boot001E* IDER BOOT Floppy	PciRoot(0x0)/Pci(0x16,0x2)/Ata(0,0,0)
Boot001F* ATA HDD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
Boot0020* ATAPI CD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
Boot0021* PCI LAN	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)

Output 4:

[manjaro-gnome /]# ls -la /boot
total 3124
drwxr-xr-x  5 root root    4096 Aug 29 13:49 .
drwxr-xr-x 17 root root    4096 Jun  3 11:40 ..
drwxr-xr-x  3 root root    4096 Jan  1  1970 efi
drwxr-xr-x  5 root root    4096 Aug 24 08:15 grub
-rw-r--r--  1 root root 3161088 Jun 16 19:50 intel-ucode.img
-rw-r--r--  1 root root      23 Aug 22 19:48 linux419-x86_64.kver
-rw-r--r--  1 root root      21 Aug 22 16:34 linux54-x86_64.kver
-rw-r--r--  1 root root      21 Aug 22 16:57 linux57-x86_64.kver
drwxr-xr-x  2 root root    4096 Jun  3 11:40 memtest86+

Your system is UEFI and disk is gpt. Please, boot the USB stick in UEFI mode by selecting the boot entry which starts with “UEFI” from your firmware.

It seems you used kernel 5.6 which is no longer supprted. Usually, your approach to chroot and install another kernel is just right way. Sometimes, mhwd-kernel does not work properly so why not testing it again with pacman:

sudo manjaro-chroot -a ( type 1 if only one line appears )
pacman.mirrors -f && pacman -Syyu
pacman -S linux57 linux57-headers linux57-extramodules
mkinitcpio -P
depmod -a
update-grub
exit ( quit chroot )

Also, you should delete the efibootmgr entries no longer needed. Chevk for exact syntax with

man efibootmgr

Thanks for your help so far!

After installing linux57 the screen crashes and says »somethnig went wrong«. I did select the Manjaro Boot Entry (Boot0004) and now the system was able to boot correctly. Back in my old system i rebooted and the problem was the same as at the beginning…

I repeated tho whole process. The output of pacman -Syyu was

:: Starting full system upgrade...
 there is nothing to do

This time i could (re-)install linux57, install linux57. When trying to install linux57-extramodules the output was:

error: could not open file /var/lib/pacman/local/dunstify-1.5.0-1.0/desc: Structure needs cleaning
error: could not open file /var/lib/pacman/local/linux-latest-5.7-2/desc: Bad message
looking for conflicting packages...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: linux57-nvidia-340xx and linux-nvidia-390xx are in conflict

Nevertheless I continiued your list. mkinitcpio -P worked. The output of depmod -a was:

depmod: ERROR: could not open directory /lib/modules/5.6.15-1-MANJARO: No such file or directory
depmod: FATAL: could not search modules: No such file or directory

Then I rebooted again and selected the Manjaro Boot Entry again and I could start the system again. But as I tried to update the system with sudo pacman -Syu an infinite number of error messages occur, like this:

error: invalid name for database entry './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/mt2131.h'
error: could not parse package description file './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/mt2131.h' from db 'extra'
error: invalid name for database entry './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/mt2131_priv.h'
error: could not parse package description file './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/mt2131_priv.h' from db 'extra'
error: invalid name for database entry './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/mt2266.h'
error: could not parse package description file './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/mt2266.h' from db 'extra'
error: invalid name for database entry './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/mxl301rf.h'
error: could not parse package description file './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/mxl301rf.h' from db 'extra'
error: invalid name for database entry './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/mxl5005s.h'
error: could not parse package description file './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/mxl5005s.h' from db 'extra'
error: invalid name for database entry './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/mxl5007t.h'
error: could not parse package description file './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/mxl5007t.h' from db 'extra'
error: invalid name for database entry './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/qm1d1b0004.h'
error: could not parse package description file './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/qm1d1b0004.h' from db 'extra'
error: invalid name for database entry './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/qm1d1c0042.h'
error: could not parse package description file './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/qm1d1c0042.h' from db 'extra'
error: invalid name for database entry './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/qt1010.h'
error: could not parse package description file './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/qt1010.h' from db 'extra'
error: invalid name for database entry './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/qt1010_priv.h'
error: could not parse package description file './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/qt1010_priv.h' from db 'extra'
error: invalid name for database entry './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/r820t.h'
error: could not parse package description file './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/r820t.h' from db 'extra'
error: invalid name for database entry './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/si2157.h'
error: could not parse package description file './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/si2157.h' from db 'extra'
error: invalid name for database entry './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/si2157_priv.h'
error: could not parse package description file './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/si2157_priv.h' from db 'extra'
error: invalid name for database entry './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/tda18212.h'
error: could not parse package description file './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/tda18212.h' from db 'extra'
error: invalid name for database entry './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/tda18218.h'
error: could not parse package description file './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/tda18218.h' from db 'extra'
error: invalid name for database entry './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/tda18218_priv.h'
error: could not parse package description file './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/tda18218_priv.h' from db 'extra'
error: invalid name for database entry './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/tda18250.h'
error: could not parse package description file './usr/lib/modules/5.7.17-2-MANJARO/build/drivers/media/tuners/tda18250.h' from db 'extra'

now I am afraid to reboot the system… Do you have an idea what to do next?

I noticed that everytime I try to install something now the phrases

error: could not open file /var/lib/pacman/local/dunstify-1.5.0-1.0/desc: Structure needs cleaning
error: could not open file /var/lib/pacman/local/linux-latest-5.7-2/desc: Bad message

occur. For example:

sudo pacman -S inkscape
warning: inkscape-1.0-5 is up to date -- reinstalling
resolving dependencies...
error: could not open file /var/lib/pacman/local/dunstify-1.5.0-1.0/desc: Structure needs cleaning
error: could not open file /var/lib/pacman/local/linux-latest-5.7-2/desc: Bad message
looking for conflicting packages...

Packages (1) inkscape-1.0-5

Total Download Size:    17,86 MiB
Total Installed Size:  154,35 MiB
Net Upgrade Size:        0,00 MiB

:: Proceed with installation? [Y/n]