You are not logged in.
Pages: 1
After updating the xfce have been crashed and when I restart the machine I got
Falied to load kernel modules
This is the output of
I'm on my tablet so I will put only the error part of the output
system to status systemd-modules-load.service
Loaded: loaded(/usr/lib/systems/system/system-modules-load.service; static; vendor:disabled)
Last edited by nasser (2016-11-06 23:29:52)
Offline
What are the output of uname -a and pacman -Q linux ?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
What are the output of uname -a and pacman -Q linux ?
Linux NasserLaptop 4.8.4-1ARCH #1SMP PREEMPT Sat Oct 22 18:26:57 CEST 2016 x86_64 GNU/Linux
Where "NasserLaptop" is my hostname
[]4.8.6-1[/]
Last edited by nasser (2016-11-05 17:56:37)
Offline
What I am trying to do is prove the running kernel is the same as the installed kernel. You are running the 4.8.4-1 kernel. Now if you could run that second command to get the version of the installed kernel
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
What I am trying to do is prove the running kernel is the same as the installed kernel. You are running the 4.8.4-1 kernel. Now if you could run that second command to get the version of the installed kernel
Sorry the tablet wouldn't write
Now this is the pacman -Q Linux
linux 4.8.6-1
Offline
Now I have two kernels What should I do ??
Offline
You have a mismatch, which is why you can't load your modules. Which is a result of /boot not being mounted when you updated.
Chroot in and make sure everything is mounted correctly and reinstall linux.
Offline
So there is the problem. The bootloader is starting 4.8.4-1, but you have installed 4.8.6-1. When the new kernel was installed, the modules for 4.8.4 were removed; now it cannot find its modules.
What probably happened is that the boot partition was not mounted on /boot when you upgraded the kernel. This means the ne kernel never found its way to the boot partition.
Check to see if the boot partition is mounted on /boot with the mount command. If it is not mounted:
Mount the boot partition on /boot
Instal the linux package using pacman -S linux
Fix your /etc/fstab file to auto mount /boot
unmount /boot
Look in /boot for any files -- it should be empty, but will probably have the wayward kernel and initrd that were written there when the boot partition was not mounted.
reboot
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
So there is the problem. The bootloader is starting 4.8.4-1, but you have installed 4.8.6-1. When the new kernel was installed, the modules for 4.8.4 were removed; now it cannot find its modules.
What probably happened is that the boot partition was not mounted on /boot when you upgraded the kernel. This means the ne kernel never found its way to the boot partition.
Check to see if the boot partition is mounted on /boot with the mount command. If it is not mounted:
Mount the boot partition on /boot
Instal the linux package using pacman -S linux
Fix your /etc/fstab file to auto mount /boot
unmount /boot
Look in /boot for any files -- it should be empty, but will probably have the wayward kernel and initrd that were written there when the boot partition was not mounted.
reboot
Well it's mounted
/dev/sda1 on /boot type ext4 (re,relatime,data=ordered)
Offline
That doesn't mean it was when you upgraded...
Offline
I have umount it and mount it again
And used
pacman -S linux
But nothing happened
Offline
Define "nothing"
Edit
What is the output of ls -l /boot/vmlinuz-linux
Last edited by ewaller (2016-11-05 18:41:30)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Define "nothing"
Still have the same problem
Offline
See my edit. Also, what is the output of ls -l /boot/vmlinuz-linux and the full output of mount
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
See my edit. Also, what is the output of ls -l /boot/vmlinuz-linux and the full output of mount
mount
ls -l /boot/vmlinuz-linux
-rw-r--r-- 1 root root 4798240 Oct 31 17:52 /boot/vmlinuz-linux
Last edited by nasser (2016-11-05 19:34:12)
Offline
Don't post images of text, paste the actual text. And if you do post an image, read the Code of Conduct and only post thumbnails http://wiki.archlinux.org/index.php/Cod … s_and_code
You haven't fixed anything.
Offline
I have edited it, Thx
In my last reply
Now It should be more helpful I guess
Last edited by nasser (2016-11-05 19:58:14)
Offline
I have solved ,Thank to u guys
I have booted from USB then remounting the partitions as in installation then generate fstab file and edit it to add /boot then arch-chroot and
pacman -S linux
The problem was that boot partition didn't mount correctly and I have to edit fstab file to add it
Offline
Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.
Offline
Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.
Thx, Done
Offline
Pages: 1