You are not logged in.

#1 2017-10-20 09:25:45

snovik
Member
Registered: 2012-05-06
Posts: 140

[SOLVED] uname -r is different from pacman -Q linux

I somehow ended up with different linux versions in uname and pacman and cannot break the loop.

My uname is 4.13.4-1 and pacman is 4.13.7-1 and the system cannot boot: cannot load crc32 driver, failed to mount, etc.

If I manually downgrade the pacman version to 4.13.4-1, then I can boot the system but not the xserver (i can get to tty at least). This is because nvidia drivers break down as they require 4.13.7-1 (disagrees about version of symbol module_layout linux) and I cannot downgrade them manually due to circular dependency between them and the kernel version

So my question is - how can I properly upgrade the the linux kernel to make my uname happy.

I am using EFI / GRUB. I have tried already grub-install / grub-mkconfig / mkinitcpio - p. I cannot get on 4.13.7-1. Something is missing somewhere to solve the crc32 error

Last edited by snovik (2017-10-20 10:04:53)

Offline

#2 2017-10-20 09:37:29

rbaj
Member
Registered: 2016-01-27
Posts: 36

Re: [SOLVED] uname -r is different from pacman -Q linux

I had this problem recently. For me it was because /boot wasn't mounted properly when I upgraded the kernel. This fixed it for me:

Boot into a liveCD mount your system partition to /mnt mount your /boot resp. ESP partition on /mnt/boot chroot in, reinstall the linux package, fix your fstab so that your  ESP is always mounted to /boot so you won't have to do this again.

This is the thread: https://bbs.archlinux.org/viewtopic.php?id=231065

Offline

#3 2017-10-20 09:57:35

snovik
Member
Registered: 2012-05-06
Posts: 140

Re: [SOLVED] uname -r is different from pacman -Q linux

Please help me because I tried that as well and keep on failing. So my steps:
1. boot into LiveCD
2. mount /dev/sda2 /mnt (my system partition with arch)
3. mount /dev/sda1 /boot (EFI partition)
4. arch-chroot /mnt
5. pacman -S linux
6. added /dev/sda1 /boot vfat
7. reboot

And I am back to my crc32 error at boot

Offline

#4 2017-10-20 10:04:12

snovik
Member
Registered: 2012-05-06
Posts: 140

Re: [SOLVED] uname -r is different from pacman -Q linux

Solved: mount /dev/sda1 /mnt/boot

smile typos

Offline

#5 2017-10-20 13:12:22

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: [SOLVED] uname -r is different from pacman -Q linux

Don't forget to fix your /etc/fstab so this doesn't happen again.


Matt

"It is very difficult to educate the educated."

Offline

Board footer

Powered by FluxBB