View previous topic :: View next topic |
Author |
Message |
mudspitease n00b

Joined: 09 Mar 2025 Posts: 13
|
Posted: Fri Apr 25, 2025 1:10 pm Post subject: How to upgrade to ~amd64 kernel from amd64 stable kernel? |
|
|
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 |
|
 |
pietinger Moderator

Joined: 17 Oct 2006 Posts: 5624 Location: Bavaria
|
|
Back to top |
|
 |
mudspitease n00b

Joined: 09 Mar 2025 Posts: 13
|
Posted: Fri Apr 25, 2025 3:49 pm Post subject: |
|
|
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 |
|
 |
pietinger Moderator

Joined: 17 Oct 2006 Posts: 5624 Location: Bavaria
|
Posted: Fri Apr 25, 2025 6:10 pm Post subject: |
|
|
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 |
|
 |
|