Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Adding configuration to GRUB2
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
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 2772

PostPosted: Sun Apr 24, 2016 3:42 am    Post subject: Adding configuration to GRUB2 Reply with quote

Hi, ALL,
Is it possible to add the configuration with the newly compiled kernel to GRUB2 existing configuration?

Its interface is completely changed and I'm now completely lost...

Thank you.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2613

PostPosted: Sun Apr 24, 2016 8:41 am    Post subject: Reply with quote

Are you looking for grub2-mkconfig -o /boot/grub/grub.cfg?
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 2772

PostPosted: Sun Apr 24, 2016 12:53 pm    Post subject: Reply with quote

charles17,
If I have

vmlinuz-x.x.x
vmlinuz-y.y.y

Does it generate 2 lines for me to select on reboot? Because I'm looking for 2 entries in the grub menu to select to boot to.

Thank you.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2613

PostPosted: Sun Apr 24, 2016 4:52 pm    Post subject: Reply with quote

It creates boot entries for all kernels found in /boot
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 2772

PostPosted: Sun Apr 24, 2016 5:52 pm    Post subject: Reply with quote

charles17,
Apparently it didn't I ran this command and when I rebooted, I saw only one line to select for the gub.
When I checked, it is the latest kernel - no old kernel configuration was present to select.

Luckily the new kernel booted successfully and I can now remove the old configuration...

Thank you.
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