Skip to main content
Topic: Re: GRUB not displaying a new entry for a new custom linux kernel (Read 257 times) previous topic - next topic - Topic derived from GRUB not displaying a...
0 Members and 1 Guest are viewing this topic.

Re: GRUB not displaying a new entry for a new custom linux kernel

So i compiled a Linux kernel, installed it, ran mkinitcpio (all via this guide here https://wiki.archlinux.org/title/Kernel/Traditional_compilation), ran grub-mkconfig -o /boot/grub/grub.cfg, it detected my new linux kernel, rebooted, and, no new kernel.

I am having the same problem! GRUB seems to be detecting everything for me as well but when I check "/boot/grub/grub.cfg", it does not seem to have created an entry for my custom kernel!

 

Re: Re: GRUB not displaying a new entry for a new custom linux kernel

Reply #1
Not sure how you build your custom kernel (edit - most likely following the guide you link above  ;D ), but whenever I have done so I started with the PKGBUILD and related files for either the system kernel from the repos or some version from the AUR, and built a modified kernel like that, altering the source / config / PKGBUILD as required then building it with makepkg. This creates a kernel package that can be installed as usual, and mkinitcpio and Grub have worked as expected. Probably if you are building a kernel in another manner, looking at some similar PKGBUILD's could help identify what steps need to be taken.