System crashed updating systemd, now kernel modules won't load
I was running Pacman -Syu and my system hung updating systemd. I rebooted and now get:
systemd[1]: Failed to start Load Kernel Modules
and then various other things fail and it dumps me into emergency mode.
It tells me to run:
systemctl status systemd-modules.service
and the output is:
systemd-modules-load.service - Load Kernel Modules
Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2016-10-05 03:48:03 UTC 4min 28s ago
Docs: man:systemd-modules-load.service(8)
man:modules-load.d(5)
Process: 267 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
Main PID: 267 (code=exited, status=1/FAILURE)
About this post
- Posted
- Archived
- Score
- 13 · 100% up
- Kind
- Text
- ID
- 55xpdf
11 comments
Reinstall the
linux*packages.Pacman is giving me an error couldn't load libcrpto.so, so installing or uninstalling things doesn't seem like an option.
It looks like you have the initramfs of the older kernel and a new kernel partially installed.
I would:
linuxwith the pacman from the iso using -r --root to specify the destination where everything is mounted./var/cache/pacman/pkgif you still have it).You dont say what system you are on but I had this problem RaspPi3. Its a problem with systemd update 231 v1-v4 (so far).
The libcrypto is located in the openssl package which u can extract an copy to the correct destination using either what /u/robotbaby said or with mc
you will probably need to extract libsystemd and systemd and maybe a few others which were installed at the sametime. you can check dates in pacman cache dir.
You can check for other files with problems by going to the lib directrory and bin directory and checking for zero sized files but its best to check the whole system for zero files as there where probles in share and /etc. I just went through all the cache files I downloaded that day.
I have tried the latest, systemd-231-4 fix, 2 days ago but crashed the PI again and I have not bothered looking at it.
(edited for corrections)