You are not logged in.
Hello,
Yesterday I was trying to 'fix' my Linux:
While running $pacman -Syu it kept asking me if I wanted to replace a bunch of *proto files for one xorg file.
I basically followed the following forum: https://bbs.archlinux.org/viewtopic.php?id=234361.
In a nutshell-> I deleted libxfont. Manually installed libxfont2. Also changed SigLevel = Required DatabaseOptional to SigLevel = Never in pacman.conf
After running $pacman -Syu once again, everything updated without any hitches and all was right with the world. I then proceeded to turn off my laptop...
Only to find this mess this morning when I started it back up again:
Loading Kernel Module Failure SnapShot
I then ran the $systemctl status systemd-modules-load.service and found that it failed to find the alias of crypto_user .
crypto_user is found inside bluez.conf inside my /usr/lib/modules-load.d/ directory. (/etc/modules-load.d is empty).
__ALSO__
No peripheral devices (Second Screen, keyboard, mouse etc.) are detected and working.
pacman -Syu / -S * does not work at all. It keeps throwing a long list for each Mirror saying:
error: failed retrieving file 'multilib.db' from mirror.whatever: Could not resolve host: mirror.whatever
startx for gnome also does not work and outputs te following:
startx(xorg) Terminal Output
If anyone can, please help me resolve these issues. I really need this laptop!
Thank you.
Last edited by HeindT19921216 (2018-03-11 14:59:32)
Offline
Hello,
First thought : Look in /var/log/pacman.log if something went wrong
Second thought : have you done a kernel upgrade during this last upgrade. Maybe the kernel install went wrong, so try to reinstall the linux package.
I say that because yesterday i had a different problem, pacman bug in the middle of a big upgrade (with kernel upgrade) because of retroarch package (maybe i need to investgate) and don't do post install hook. Immediatly my computer crash, so you can imagine the next boot was epic.
Luckily i was able to boot in rescue mode (edit the linux line in grub by adding systemd.unit=rescue.target ) and the linux package was in cache (no module so no network). So in did a pacman -S --force linux to reinstall the kernel and redo the post install hook. After that my pc was able to boot gnome with network and i had to reinstall manually all the package left unconfigure.
Different story but you have one big luck visibly : a bash acces !!! saving you a chroot.
good luck
Offline
Welcome to the forum.
You're running the 4.10.10 kernel - you probably forgot to mount the /boot partition during the update and are now running a kernel much different than the installed one.
Also please replace the oversized images with thumbnails or link (see the forum stickes)
Offline
Welcome to the forum.
You're running the 4.10.10 kernel - you probably forgot to mount the /boot partition during the update and are now running a kernel much different than the installed one.
Also please replace the oversized images with thumbnails or link (see the forum stickes)
Thanks man. Will do.
You are absolutley right -> uname -r & pacman -Q linux are not the same.
Can you tell me how I can rectify this mistake?
Is there any way I can do it without having to create a liveUSB and using chroot to mount the /boot and then run the pacman update again? (If that would even work)
Thanks again!
Offline
If you can still boot the kernel (eg. using the fallback initramfs) - otherwise you'll have to do it offline, see https://wiki.archlinux.org/index.php/Pa … _rebooting
Offline
This is where I am at now...
$uname -a --> 4.10.10-1-ARCH
$pacman -Q linux --> linux 4.15.7-1
Using pacman -S linux has worked. All I think I have to do is mount /boot like you said and update it once more...
However, my /etc/fstab is completely empty. How do I create a /boot that I can mount?
Entering $blkid shows me /dev/sda1 & /dev/sda2.
Should I use the PARTUUID of sda1 to create the /boot?
To look something like this:
#
<device> <dir> <type> <options> <dump><fsck>
PARTUUID=d0d0d110-0a71-4ed6-936a-304969ea36af /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed.... 0 2
Last edited by HeindT19921216 (2018-03-10 16:15:58)
Offline
Hello,
I keep getting failed to load kernel modules at startup. Any assistance would be appreciated. Thanks in advance.
● 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 Sat 2018-03-10 16:44:58 UTC; 22min ago
Docs: man:systemd-modules-load.service(8)
man:modules-load.d(5)
Process: 209 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
Main PID: 209 (code=exited, status=1/FAILURE)
Mar 10 16:44:57 archlinux systemd-modules-load[209]: Inserted module 'crypto_user'
Mar 10 16:44:57 archlinux systemd-modules-load[209]: Failed to find module 'vboxguest'
Mar 10 16:44:57 archlinux systemd-modules-load[209]: Failed to find module 'vboxsf'
Mar 10 16:44:58 archlinux systemd-modules-load[209]: Inserted module 'vboxvideo'
Mar 10 16:44:58 archlinux systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Mar 10 16:44:58 archlinux systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Mar 10 16:44:58 archlinux systemd[1]: Failed to start Load Kernel Modules.
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
@archlinux ~]$ ls -al /etc/modules-load.d/
total 8
drwxr-xr-x 2 root root 4096 Feb 22 09:31 .
drwxr-xr-x 63 root root 4096 Mar 10 16:32 ..
Offline
@archuser198, please don't hijack this thread. You issue is vbox-related.
@HeindT19921216,
lsblk -f
Offline
You could use the output of `genfstab -U /` then remove any spurious entries seems it is missing pseudotype entries for bpf,efivars and fuse.gvfsd-fuse at least.
edit:
grammar remove spurious needs
edit:
`genfstab -t PARTUUID /` for PARTUUID's instead of UUID's
Last edited by loqs (2018-03-10 17:26:34)
Offline
Hi guys, thanks for all of your comments and help.
I was able to fix the problem by using chroot and mounting all the needed parts from a liveUSB. Then just updated linux again.
This was the most helpful for the process: Proper Way to Prepare chroot to Recover a Broken Linux. --> Also run mkinitcpio -p linux before exit.
Offline
Pacman#Pacman_crashes_during_an_upgrade and Change_root did not cover your needs?
Offline