Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub not installing latest kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
krullis
n00b
n00b


Joined: 17 Jun 2018
Posts: 5

PostPosted: Sun Jun 24, 2018 7:17 am    Post subject: grub not installing latest kernel Reply with quote

I need to install the latest kernel on my system as some options doesent seem to be found in sys-kernel/gentoo-sources that i think i need.
So I downloaded 4.17.2 from kernel.org.

I run make -j5; make modules_install; make install

After that i run
genkernel --luks --lvm --install initramfs

Code:

* Gentoo Linux Genkernel; Version 68
* Running with options: --luks --lvm --install initramfs

* Using genkernel.conf from /etc/genkernel.conf
* Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh ..
* Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load ..

* Linux Kernel 4.17.2 for x86_64...


genkernel seem to detect 4.17.2 then i run:
grub-mkconfig -o /boot/grub/grub.cfg
Code:
Generera konfigurationsfil för grub …
Hittade linux-avbildning: /boot/kernel-genkernel-x86_64-4.9.95-gentoo
Hittade initrd-avbildning: /boot/initramfs-genkernel-x86_64-4.9.95-gentoo
Hittade linux-avbildning: /boot/vmlinuz-4.17.2
Hittade initrd-avbildning: /boot/initramfs-genkernel-x86_64-4.17.2
Hittade linux-avbildning: /boot/vmlinuz-4.9.95-gentoo
Hittade initrd-avbildning: /boot/initramfs-genkernel-x86_64-4.9.95-gentoo
färdigt



And when i reboot the system it still says i run 4.9.95-gentoo. The grub menu doesent seem to add any new option to load the new kernel.
how can I fix this?
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21777
Location: here

PostPosted: Sun Jun 24, 2018 7:27 am    Post subject: Re: grub not installing latest kernel Reply with quote

krullis wrote:
And when i reboot the system it still says i run 4.9.95-gentoo. The grub menu doesent seem to add any new option to load the new kernel.
how can I fix this?

You are checked in submenu 'Advanced options for Gentoo GNU/Linux'?

Code:
Generera konfigurationsfil för grub …
Hittade linux-avbildning: /boot/kernel-genkernel-x86_64-4.9.95-gentoo
Hittade initrd-avbildning: /boot/initramfs-genkernel-x86_64-4.9.95-gentoo
Hittade linux-avbildning: /boot/vmlinuz-4.17.2
Hittade initrd-avbildning: /boot/initramfs-genkernel-x86_64-4.17.2
Hittade linux-avbildning: /boot/vmlinuz-4.9.95-gentoo
Hittade initrd-avbildning: /boot/initramfs-genkernel-x86_64-4.9.95-gentoo
färdigt

kernel 4.17.2 appear added in the grub but isn't the first to run
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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