File /boot/vmlinuz-5.10-x86_64 not found, you need to load kernel first

error: file `/boot/vmlinuz-X.XX-x86_64’ not found.
error: you need to load the kernel first.

Press any key to continue…

So i installed the iso file and boot my system

I opened the terminal
I pasted ‘’‘sudo manjaro-chroot -a"’

grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
==> Mounting (ManjaroLinux) [/dev/sda1]
 --> mount: [/mnt]
mount: /mnt: /dev/sda1 already mounted on /mnt.
       dmesg(1) may have more information after failed mount system call.
mount: /mnt/sys: sys already mounted on /sys.
       dmesg(1) may have more information after failed mount system call.

I pasted

mhwd-kernel -li

The following kernels are installed in your system:
error: could not open file /var/lib/pacman/local/clang-15.0.7-2/desc: No such file or directory
   * linux515
error: could not open file /var/lib/pacman/local/clang-15.0.7-2/desc: No such file or directory

Please help

for the

from chroot run:

rm -r /var/lib/pacman/local/clang-15.0.7-2
pacman -S --dbonly clang

if no errors, rerun update:

pacman-mirrors --fasttrack 5 && pacman -Syyu

if no errors, and you are up to date, post output from:
mhwd-kernel -li && mhwd -l -li

rm: Invalid Option – ‘S’

run the commands one at a time:

rm -r /var/lib/pacman/local/clang-15.0.7-2

then:

pacman -S --dbonly clang

then continue with the update and the output

1 Like
resolving dependencies...
looking for conflicting packages...

Packages (1) clang-15.0.7-2

Total Installed Size:  194.90 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                     [####################################] 100%
(1/1) checking package integrity                                   [####################################] 100%
(1/1) loading package files                                        [####################################] 100%
:: Processing package changes...
Optional dependencies for clang
    openmp: OpenMP support in clang with -fopenmp
    python: for scan-view and git-clang-format [installed]
    llvm: referenced by some clang headers [installed]
ldconfig: File /usr/lib/libKF5Kirigami2.so.5.104.0 is empty, not checked.
ldconfig: File /usr/lib/libSDL2-2.0.so is empty, not checked.

....

ldconfig: File /usr/lib/libpoppler-cpp.so is empty, not checked.
ldconfig: file /usr/lib/libLLVM-15.so is truncated

:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Refreshing PackageKit...
Error connecting: Could not connect: No such file or directory
error: command failed to execute correctly

were there more ldconfig logs? post output from:
ldconfig
if there are too many than dont post it

There were more
The output was much that was why I put

In the output that I posted

your system is too messed up, so use this:

pacman -Qqn | pacman --overwrite=* -S -

hopefully the desc issue above will not cause problems

warning: python-webencodings-0.5.1-9 is up to date -- reinstalling
warning: python-wheel-0.38.4-1 is up to date -- reinstalling
warning: python-yaml-6.0-1 is up to date -- reinstalling
warning: qca-qt5-2.3.5-2 is up to date -- reinstalling
warning: qrencode-4.1.1-2 is up to date -- reinstalling
warning: qt5-base-5.15.8+kde+r185-1 is up to date -- reinstalling
warning: qt5-declarative-5.15.8+kde+r24-2 is up to date -- reinstalling
warning: qt5-graphicaleffects-5.15.8-1 is up to date -- reinstalling
warning: qt5-imageformats-5.15.8+kde+r9-1 is up to date -- reinstalling
warning: qt5-multimedia-5.15.8+kde+r2-1 is up to date -- reinstalling
warning: qt5-quickcontrols-5.15.8-1 is up to date -- reinstalling

 ...

                xorg-xdpyinfo-1.3.3-4  xorg-xhost-1.0.9-1  xorg-xinit-1.4.2-1  xorg-xkbcomp-1.4.6-1
                xorg-xkill-1.0.6-1  xorg-xmessage-1.0.6-1  xorg-xmodmap-1.0.11-1  xorg-xprop-1.2.6-1
                xorg-xrandr-1.5.2-1  xorg-xrdb-1.2.1-1  xorg-xset-1.2.5-1  xorg-xsetroot-1.1.3-1
                xorgproto-2022.2-1  xvidcore-1.3.7-2  xxhash-0.8.1-4  xz-5.4.2-1  yakuake-22.12.3-1
                zbar-0.23.90-1  zeromq-4.3.4-2  zimg-3.0.4-1  zlib-1:1.2.13-2  zsh-5.9-3
                zsh-autosuggestions-0.7.0-1  zsh-completions-0.34.0-3  zsh-history-substring-search-1.0.2-1
                zsh-syntax-highlighting-0.7.1-1  zsh-theme-powerlevel10k-1.17.0-1  zstd-1.5.4-1
                zvbi-0.2.41-1  zxing-cpp-2.0.0-2

Total Download Size:    147.92 MiB
Total Installed Size:  9019.90 MiB
Net Upgrade Size:       400.06 MiB

:: Proceed with installation? [Y/n]

yes proceed

1 Like
:: Retrieving packages...
 adobe-source-han-sans-cn-fonts-2.004-1-any.pkg.tar.zst failed to download
 Total (  1/267)                       147.9 MiB  4.01 GiB/s 00:00 [####################################] 100%
error: failed retrieving file 'adobe-source-han-sans-cn-fonts-2.004-1-any.pkg.tar.zst' from mnvoip.mm.fcix.net : Could not resolve host: mnvoip.mm.fcix.net
warning: too many errors from mnvoip.mm.fcix.net, skipping for the remainder of this transaction
error: failed retrieving file 'adobe-source-han-sans-cn-fonts-2.004-1-any.pkg.tar.zst' from download.nus.edu.sg : Could not resolve host: download.nus.edu.sg

...

warning: too many errors from mirror.aarnet.edu.au, skipping for the remainder of this transaction
error: failed retrieving file 'adobe-source-han-sans-cn-fonts-2.004-1-any.pkg.tar.zst' from mirror.kamtv.ru : Could not resolve host: mirror.kamtv.ru
warning: too many errors from mirror.kamtv.ru, skipping for the remainder of this transaction
warning: failed to retrieve some files
error: failed to commit transaction (invalid url for server)
Errors occurred, no packages were upgraded.

exit chroot:
exit
make sure you are connected to internet, open terminal, chroot again:
manjaro-chroot -a
refresh mirrors:

pacman-mirrors --fasttrack 5 && pacman -Syyu

then:

pacman -Qqn | pacman --overwrite=* -S -
2 Likes

The installation took some time.

Done. what next?

no errors? if no exit chroot and reboot and see

1 Like

It works perfectly. Thank you so much

post output from:
sudo ldconfig
it should return nothing…

and also try to reinstall some small package, to see if the desc issue from above was resolved too:
sudo pacman -S ark
and post output from it

I noticed that my laptop speaker isn’t functioning again and also the microphone . This was before the OS crash though. Nothing is wrong with the speaker. I don’t really know what caused it, Can you help me with that?

I should insert the flashdrive again and do this right?

no, you do it back from your system, no need to boot into live usb…
and for audio, try with different kernel, if you are running 5.15 try with the 6.1, and the 6.2…