Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel being seen as an older version.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
shoebill_j
n00b
n00b


Joined: 20 Nov 2023
Posts: 9

PostPosted: Mon Jan 08, 2024 2:02 pm    Post subject: Kernel being seen as an older version. Reply with quote

Basically,i updated my distribution kernel to 6.1.69 but programs like neofetch are still picking the kernel up as 6.1.67 and even the TTY login thinks i'm on 6.1.67. However, when i run "eselect kernel list" or simply go on the kernel's configuration it clearly says 6.1.69. How can i fix this issue? :(
_________________
I highly recommend NOT executing "sudo rm -rf /*"
Back to top
View user's profile Send private message
eeckwrk99
Apprentice
Apprentice


Joined: 14 Mar 2021
Posts: 232
Location: Gentoo forums

PostPosted: Mon Jan 08, 2024 2:05 pm    Post subject: Re: Kernel being seen as an older version. Reply with quote

Are you sure you actually booted 6.1.69? What do
Code:
$ uname -r
$ cat /proc/version

print?
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5167
Location: Bavaria

PostPosted: Mon Jan 08, 2024 3:47 pm    Post subject: Re: Kernel being seen as an older version. Reply with quote

shoebill_j wrote:
Basically,i updated my distribution kernel to 6.1.69 but programs like neofetch are still picking the kernel up as 6.1.67 and even the TTY login thinks i'm on 6.1.67. However, when i run "eselect kernel list" or simply go on the kernel's configuration it clearly says 6.1.69. How can i fix this issue? :(

"eselect kernel set X" will only change the softlink /usr/src/linux - it will not do anything else ! :lol:

What you need is another grub-mkconfig:
https://wiki.gentoo.org/wiki/GRUB#Installing_a_new_kernel
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
shoebill_j
n00b
n00b


Joined: 20 Nov 2023
Posts: 9

PostPosted: Mon Jan 08, 2024 4:12 pm    Post subject: Re: Kernel being seen as an older version. Reply with quote

eeckwrk99 wrote:
Are you sure you actually booted 6.1.69? What do
Code:
$ uname -r
$ cat /proc/version

print?


Turns out i was in fact on the wrong kernel (6.1.67) after running uname -r!

I just ran grub-mkconfig again, maybe the newly generated configuration won't gave me this this issue!
_________________
I highly recommend NOT executing "sudo rm -rf /*"


Last edited by shoebill_j on Mon Jan 08, 2024 4:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
shoebill_j
n00b
n00b


Joined: 20 Nov 2023
Posts: 9

PostPosted: Mon Jan 08, 2024 4:14 pm    Post subject: Re: Kernel being seen as an older version. Reply with quote

pietinger wrote:
shoebill_j wrote:
Basically,i updated my distribution kernel to 6.1.69 but programs like neofetch are still picking the kernel up as 6.1.67 and even the TTY login thinks i'm on 6.1.67. However, when i run "eselect kernel list" or simply go on the kernel's configuration it clearly says 6.1.69. How can i fix this issue? :(

"eselect kernel set X" will only change the softlink /usr/src/linux - it will not do anything else ! :lol:

What you need is another grub-mkconfig:
https://wiki.gentoo.org/wiki/GRUB#Installing_a_new_kernel


Thanks! I didn't know that eselect only changed the softlink haha! :lol:
_________________
I highly recommend NOT executing "sudo rm -rf /*"
Back to top
View user's profile Send private message
eeckwrk99
Apprentice
Apprentice


Joined: 14 Mar 2021
Posts: 232
Location: Gentoo forums

PostPosted: Mon Jan 08, 2024 5:18 pm    Post subject: Re: Kernel being seen as an older version. Reply with quote

shoebill_j wrote:
I just ran grub-mkconfig again, maybe the newly generated configuration won't gave me this this issue!

grub-mkconfig will print the kernel image(s) found. Pay attention to the output, you should see your 6.1.69 kernel in the list. On my system:
Code:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.6.10-gentoo-custom
[..]
Found linux image: /boot/vmlinuz-6.1.67-gentoo-custom
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum