Failed to load Kernel Module

I ran the updater yesterday and maybe it didn’t quite finish when I closed the laptop however after opening the laptop today it says during boot:

Failed to start Load Kernel Modules
Failed to Mount /boot/efi
Dependency Failed for local File System.

I do remember playing around with installing the RT Kernel yesterday as well so not sure if it has something to do with that.

I’d really appreciate assistance.

Thank you

Try to boot up the kernel you previously used.

Maybe finish it from live iso.

Good. Then you know how to switch back.

Thank you for the response. How do I go about that? Sorry I’m not great at the CLI…

If you haven’t removed the previously used kernel it should be avaible in the grub boot menu.
IIRC pressing ESC when booting will bring it up. Make your selection there.

Yes I tried that under advanced options
It looks like I must have removed other kernels on the past as it only gives me the current one being 5.11-rt plus fallback initramfs

Neither works…

5.11-rt is long EOL you should remove it.

  • boot from any manjaro iso
  • manjaro-chroot into your installation
  • install current and one lts kernel, see Manjaro Kernels - Manjaro
2 Likes

Thank you I will try that. Its strange as I am positive I had one if the most recent installed as I regularly update it…

Right so I think I managed to mount my encrypted drive and boot.

Checking on the kernel installed I get the following:

sh-5.1# mhwd-kernel -li
Currently running: 5.15.32-1-MANJARO (linux515)
The following kernels are installed in your system:
error: could not open file /var/lib/pacman/local/go-2:1.18.3-1/desc: No such file or directory
error: could not open file /var/lib/pacman/local/go-2:1.18.3-1/desc: No such file or directory
   * linux515-rt
sh-5.1# 

Any ideas?

for the errors:
sudo touch /var/lib/pacman/local/go-2:1.18.3-1/desc
sudo pacman -S go

Thanks a lot Brahma. This is what I get:

sh-5.1# sudo touch /var/lib/pacman/local/go-2:1.18.3-1/desc
sh-5.1# sudo pacman -S go
error: failed to init transaction (unable to lock database)
error: could not lock database: File exists
  if you're sure a package manager is not already
  running, you can remove /var/lib/pacman/db.lck

sudo rm /var/lib/pacman/db.lck
and try again the commands

Thanks done that and here is the output:

sh-5.1# sudo touch /var/lib/pacman/local/go-2:1.18.3-1/desc
sh-5.1# sudo pacman -S go
warning: go-2:1.18.3-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
error: could not open file /var/lib/pacman/local/go-2:1.18.3-1/files: No such file or directory
warning: could not fully load metadata for package go-2:1.18.3-1
error: failed to prepare transaction (invalid or corrupted package)

sudo touch /var/lib/pacman/local/go-2:1.18.3-1/files
sudo pacman -S go

One step further:

sh-5.1# sudo touch /var/lib/pacman/local/go-2:1.18.3-1/files
sh-5.1# sudo pacman -S go
warning: go-2:1.18.3-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) go-2:1.18.3-1

Total Installed Size:  409.08 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 go-2:1.18.3-1-x86_64.pkg.tar.zst failed to download
error: failed retrieving file 'go-2:1.18.3-1-x86_64.pkg.tar.zst' from mirror.fcix.net : Could not resolve host: mirror.fcix.net
warning: too many errors from mirror.fcix.net, skipping for the remainder of this transaction
error: failed retrieving file 'go-2:1.18.3-1-x86_64.pkg.tar.zst' from ftp.tsukuba.wide.ad.jp : Could not resolve host: ftp.tsukuba.wide.ad.jp
warning: too many errors from ftp.tsukuba.wide.ad.jp, skipping for the remainder of this transaction
error: failed retrieving file 'go-2:1.18.3-1-x86_64.pkg.tar.zst' from mirror.xenyth.net : Could not resolve host: mirror.xenyth.net
warning: too many errors from mirror.xenyth.net, skipping for the remainder of this transaction
error: failed retrieving file 'go-2:1.18.3-1-x86_64.pkg.tar.zst' from mirror.kku.ac.th : Could not resolve host: mirror.kku.ac.th
warning: too many errors from mirror.kku.ac.th, skipping for the remainder of this transaction
error: failed retrieving file 'go-2:1.18.3-1-x86_64.pkg.tar.zst' from mirrors.ocf.berkeley.edu : Could not resolve host: mirrors.ocf.berkeley.edu
warning: too many errors from mirrors.ocf.berkeley.edu, skipping for the remainder of this transaction
error: failed retrieving file 'go-2:1.18.3-1-x86_64.pkg.tar.zst' from mirror.ufro.cl : Could not resolve host: mirror.ufro.cl
warning: too many errors from mirror.ufro.cl, skipping for the remainder of this transaction
error: failed retrieving file 'go-2:1.18.3-1-x86_64.pkg.tar.zst' from manjaro.mirror.garr.it : Could not resolve host: manjaro.mirror.garr.it
warning: too many errors from manjaro.mirror.garr.it, 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.


are you connected to internet?

Yes I’m responding here from the same connection (via livecd)

were you connected to internet before you chrooted?
output from this:
sudo pacman-mirrors --fasttrack 5 && sudo pacman -Syyu

That might be the case, do I need to redo the chroot making sure I’m connected?
The output is instant, it’s like it’s not even pinging the servers… do you still want that output? It’s long…

Thank you :slight_smile:

if there were no errors/warnings then no… so you can post again output from:
mhwd-kernel -li