Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]GRUB2 detect new 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
EugeneTheJeep
Tux's lil' helper
Tux's lil' helper


Joined: 17 May 2017
Posts: 101

PostPosted: Sat May 20, 2017 6:48 pm    Post subject: [solved]GRUB2 detect new Kernel Reply with quote

Hi, I was wondering how to get bootloader to boot new kernel.

I have 4.9.16 installed and configured/compiled/installed 4.4.52.

after making & installing new kernel I ran
Code:
grub-mkconfig -o /boot/grub/grub.cfg

which output
Code:
Found linux image: /boot/vmlinuz-4.4.52-gentoo


/boot/grub/grub.cfg contents:
https://paste.pound-python.org/show/PTRk91CIa96L5kxUzceX/

after rebooting, grub only shows menu selection for 4.9.16

uname -r returns
Code:
4.9.16-gentoo


Thanks


Last edited by EugeneTheJeep on Sun May 21, 2017 9:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
EugeneTheJeep
Tux's lil' helper
Tux's lil' helper


Joined: 17 May 2017
Posts: 101

PostPosted: Sat May 20, 2017 8:20 pm    Post subject: Reply with quote

/dev/sda2 was not mounted to /boot.

4.4.52 was installed on /dev/sda4 in /boot directory

mounted /dev/sda2 to /boot and reran the following:

Code:

cd /usr/src/linux
make modules_install
make install
grub-mkconfig -o /boot/grub/grub.cfg


it found both kernels

rebooted, menu entry for new kernel was there, & it boots just fine
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