Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel update+ GRUB2+ EFI
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
Vurdaan
n00b
n00b


Joined: 06 May 2018
Posts: 1

PostPosted: Sun May 06, 2018 12:46 pm    Post subject: Kernel update+ GRUB2+ EFI Reply with quote

Hello,
I just compiled again my kernel because I forgot to active sound drivers.

I did a
Code:
kernelkartel ~ # grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.9.95-gentoo-vurdaan-custom-V1
Found linux image: /boot/vmlinuz-4.9.95-gentoo-vurdaan-custom-V1.old
Found linux image: /boot/vmlinuz-4.9.95-gentoo-vurdaan-custom
Found Windows Boot Manager on /dev/sdd2@/EFI/Microsoft/Boot/bootmgfw.efi
done


But my system still boot on the last kernel

How to update entries with GRUB2 on EFI? thanks
Back to top
View user's profile Send private message
abduct
Apprentice
Apprentice


Joined: 19 Mar 2015
Posts: 203

PostPosted: Sun May 06, 2018 5:52 pm    Post subject: Reply with quote

I run the same command after compiling my kernel with genkernel and it works fine as you wanted.

I would start by using vim or your preferred editor to check to see what `grub-mkconfig' has done to your configuration file.

Another thing that might help debug is to view your grub settings in `/etc/default/grub' and perhaps specifically setting `GRUB_DISABLE_SUBMENU=y'

This will show all of your bootable kernels and recovery mode options on the main page of grub. Alternatively you can simply select the `advanced' option when booting to enter the submenu to see which kernels are listed without having to edit the `/etc/default/grub' options and regenerating your config.

Last thing to check is to see if `vmlinuz-4.9.95' is the kernel you have just compiled or if `grub-mkconfig' is just finding older kernels. The command should output a batch of messages for each kernel it finds in /boot, so if you have more then one kernel in /boot and it only displays one message, something else is happening.
Back to top
View user's profile Send private message
P.Kosunen
Guru
Guru


Joined: 21 Nov 2005
Posts: 309
Location: Finland

PostPosted: Mon May 07, 2018 11:21 am    Post subject: Reply with quote

What "fdisk -l" says. Is everything mounted, grub.conf only in one place?
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