Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to upgrade to ~amd64 kernel from amd64 stable kernel?
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
mudspitease
n00b
n00b


Joined: 09 Mar 2025
Posts: 13

PostPosted: Fri Apr 25, 2025 1:10 pm    Post subject: How to upgrade to ~amd64 kernel from amd64 stable kernel? Reply with quote

Hello,

I am currently on the stable 6.12.21 amd64 kernel, and I want to upgrade to the unstable 6.14.3 amd64 kernel to test it out.

https://packages.gentoo.org/packages/sys-kernel/gentoo-sources

How do I do this? I have yet to find a comprehensive guide. I'm still new to Gentoo, so I want to make sure I learn this correctly.

Thanks!
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5624
Location: Bavaria

PostPosted: Fri Apr 25, 2025 1:21 pm    Post subject: Reply with quote

Just do option 2 of https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Selecting_a_convenient_kernel_version and then an "emerge -uUDv @world".

P.S.: Do you know how to handle the overtaking of your current kernel .config with "make oldconfig"? If not, this could help: https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration#Cheat_Sheets
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
mudspitease
n00b
n00b


Joined: 09 Mar 2025
Posts: 13

PostPosted: Fri Apr 25, 2025 3:49 pm    Post subject: Reply with quote

pietinger wrote:
Just do option 2 of https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Selecting_a_convenient_kernel_version and then an "emerge -uUDv @world".

P.S.: Do you know how to handle the overtaking of your current kernel .config with "make oldconfig"? If not, this could help: https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration#Cheat_Sheets


Thanks! That's helpful. I have it installed and symlinked, but my grub is not finding it when I do
Code:
sudo grub-mkconfig -o /boot/grub/grub.cfg


Here is the output:

Code:
james@gentoo ~ $ ls -l /usr/src
total 12
lrwxrwxrwx  1 root root   19 Apr 25 11:28 linux -> linux-6.14.3-gentoo
drwxr-xr-x 27 root root 4096 Apr 25 08:49 linux-6.12.21-gentoo
drwxr-xr-x 26 root root 4096 Apr 10 12:20 linux-6.12.21-gentoo-dist
drwxr-xr-x 27 root root 4096 Apr 25 11:21 linux-6.14.3-gentoo
james@gentoo ~ $ eselect kernel list
Available kernel symlink targets:
  [1]   linux-6.12.21-gentoo
  [2]   linux-6.12.21-gentoo-dist
  [3]   linux-6.14.3-gentoo *


Then I run grub mkconfig

Code:
james@gentoo ~ $ sudo grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/kernel-6.12.21-gentoo-gentoo-dist
Found initrd image: /boot/intel-uc.img /boot/amd-uc.img /boot/initramfs-6.12.21-gentoo-gentoo-dist.img
Found linux image: /boot/kernel-6.12.21-gentoo-dist
Found initrd image: /boot/intel-uc.img /boot/amd-uc.img /boot/initramfs-6.12.21-gentoo-dist.img
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done


I've done some research online about this, but I'm not sure how to rectify this.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5624
Location: Bavaria

PostPosted: Fri Apr 25, 2025 6:10 pm    Post subject: Reply with quote

It looks like you have not copied your new kernel to /boot with "make install"; so grub-mkconfig finds only your old kernel. Please read also my comment below the CheatSheet. Please dont do a symlink - you must copy the kernel to /boot.
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
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