Re: GRUB not displaying a new entry for a new custom linux kernel 13 October 2023, 08:09:49 Quote from: Ohio2 – on 05 August 2021, 19:03:15So 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 – 13 October 2023, 22:23:17 Not sure how you build your custom kernel (edit - most likely following the guide you link above ), 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. Last Edit: 14 October 2023, 01:30:06 by #######