What to do if a kernel module fails to load
I tried to upgrade my system from Ubuntu 14.04. My laptop froze for a few hours. Not even the pointer did anything. So I switched off by pressing the power button for a few seconds. This uncompleted installation is the origin of my problem. When I reboot the system, grub appears and then, the following message:
[FAILED] Failed to start Load Kernel Modules
See 'systemctl status systemd-modules-load.service' for details
Plus some other lines that end with a final:
Failed to start Load Kernel Modules
When I open a command line by pressing CTRL+ALT+F1 I'm able to enter
sudo systemctl status systemd-modules-load.service
and I get the following output.
status systemd-modules-load.service
If I repeat the systemctl
command, I get sometimes other process instead of 179, for example, 183.
Just in case it's needed,
sudo ls /lib/systemd/system/systemd-modules-load.service
gives me
/lib/system/systemd-modules-load
(written in green)
journalctl
outputs a lot of data. The red lines are the following ones.
First red line.
Second and third red line.
Fourth red line.
I'll really appreciate a little help here I don't know what to do next and i've searched the web for nothing
I found exactly what I needed in a discussion in ubuntuforums.org. I'm specifically looking for the command
dpkg --configure -a
The linked article above mentions four commands that may help resolve this problem and notes that they may need to be repeated "in no specific order".
apt-get update
dpkg --configure -a
apt-get dist-upgrade
apt-get -f install