I am not sure if this is a systemd issue (like order of loading modules) or a video driver issue. It does seem like every time
- I update boot-related stuff from a chrooted environment using my Arch ISO USB Stick, everything works.
- It is when I update from a running native system that things go sour AND I think when boot-related things are in that update.
I changed root (
arch-chroot) into the machine and tried to rebuild the kernel with
mkinitcpio -p linux. I get the following error:
ERROR: '/lib/modules/4.4.5-1-ARCH' is not a valid kernel module directory
uname -r (check kernel version) yields
The folders in
Obviously when the kernel version numbers do not match the module version numbers, this is not good. Why would this happen? This would mean there is a problem with the way the system updates itself (pacman). Or did I do something wrong?
pacman -Qo /lib/modules/4.5.0-1-ARCH (check package owner) yields
/usr/lib/modules/4.5.0-1-ARCH/ is owned by linux 4.5-1 /usr/lib/modules/4.5.0-1-ARCH/ is owned by linux-headers 4.5-1
If you give me suggestions in the comments, I'll try to be prompt at adding information.
When Problem Happens
yaourt -Syau --noconfirm and rebooting, upon next boot my screen resolution gets messed up (appears the driver is working) and USB devices (keyboard+mouse) become nonresponsive. Could this be due to Grub?
Error after grub boot screen is
- Failure to Load Kernel Modules
- Bootloader is Grub 2
- OS Arch Linux
- Graphics GeForce 9500 GT (rev a1) with driver nouveau (acquired using
lspci -v | grep VGA -A 10)
I can chroot into this machine by booting from an Arch ISO USB stick. Maybe it is helpful to know that I have recovered the system by waiting a few days for another update and then updating the system from a chrooted environment. Suddenly, everything starts working again. This has happened three times already. It just happened today and it is getting irritating.