View previous topic :: View next topic |
Author |
Message |
shoebill_j n00b
Joined: 20 Nov 2023 Posts: 9
|
Posted: Mon Jan 08, 2024 2:02 pm Post subject: Kernel being seen as an older version. |
|
|
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 |
|
|
eeckwrk99 Apprentice
Joined: 14 Mar 2021 Posts: 231 Location: Gentoo forums
|
Posted: Mon Jan 08, 2024 2:05 pm Post subject: Re: Kernel being seen as an older version. |
|
|
Are you sure you actually booted 6.1.69? What do
Code: | $ uname -r
$ cat /proc/version |
print? |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5158 Location: Bavaria
|
Posted: Mon Jan 08, 2024 3:47 pm Post subject: Re: Kernel being seen as an older version. |
|
|
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 !
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 |
|
|
shoebill_j n00b
Joined: 20 Nov 2023 Posts: 9
|
Posted: Mon Jan 08, 2024 4:12 pm Post subject: Re: Kernel being seen as an older version. |
|
|
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 |
|
|
shoebill_j n00b
Joined: 20 Nov 2023 Posts: 9
|
Posted: Mon Jan 08, 2024 4:14 pm Post subject: Re: Kernel being seen as an older version. |
|
|
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 !
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! _________________ I highly recommend NOT executing "sudo rm -rf /*" |
|
Back to top |
|
|
eeckwrk99 Apprentice
Joined: 14 Mar 2021 Posts: 231 Location: Gentoo forums
|
Posted: Mon Jan 08, 2024 5:18 pm Post subject: Re: Kernel being seen as an older version. |
|
|
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 |
|
|
|