Sorry - it was an EFI system - so different path is needed. /boot/efi/EFI/centos/grub.cfg
Jerry
On Tue, Feb 2, 2021 at 10:05 AM Jerry Geis jerry.geis@gmail.com wrote:
Hi - I am running CentOS 7 I tried to add a custom initrd and custom vmlinux
when I run grub2-mkconfig -o /boot/grub2/grub.cfg the custom files are not listed . when I reboot my entry for /etc/grub.d/40_custom is not listed either.
How do I get grub2-mkconfig to recognize my entries ? Is grub2-mkconfig only looking at installed kernels - How do I get it to see mine?
Thanks
Jerry