When you create an initram with dracut, it create a file named in this form: /boot/initramfs-{version}-gentoo.img. if you update grub.cfg with grub2-mkconfig, it doesn't recognize it. Reproducible: Always
Created attachment 365764 [details, diff] patch
I install kernels with "make install" from the sources dir and I don't have such problem, because "-gentoo" and "-hardened" are parts of the $version variable :P $ ls /boot/vmlinuz* /boot/vmlinuz-3.11.7-hardened-r1 /boot/vmlinuz-3.11.9-hardened /boot/vmlinuz-3.11.8-hardened-r1 $ sudo grep initramfs /boot/grub/grub.cfg initrd /initramfs-3.11.9-hardened.img initrd /initramfs-3.11.9-hardened.img initrd /initramfs-3.11.9-hardened.img initrd /initramfs-3.11.8-hardened-r1.img initrd /initramfs-3.11.8-hardened-r1.img initrd /initramfs-3.11.7-hardened-r1.img initrd /initramfs-3.11.7-hardened-r1.img
How is your kernel image named?
Also, what kernel sources are you using?
I believe my issue is related to this. When executing grub2-mkconfig -0 /boot/grub/grub.cfg I get outputs of Found linux image: /boot/kernel-genkernel-x86_64-3.7.9-gentoo Found initrd image: /boot/initramfs-genkernel-x86_64-3.7.9-gentoo Found linux image: /boot/kernel-genkernelv2-x86_64-3.7.9-gentoo but it does not find /boot/initramfs-genkernelv2-x86_64-3.7.9-gentoo I modified /etc/genkernel.conf KNAME="genkernelv2" while screwing with genkernel.conf to make sure that I didn't break anything, but grub2-mkconfig doesn't seem to like my naming convention. I renamed my files /boot/kernel-genkernel-x86_64-3.7.9-gentoo -> /boot/kernel-genkernel-x86_64-3.7.9-gentoo-safe /boot/initramfs-genkernel-x86_64-3.7.9-gentoo -> /boot/initramfs-genkernel-x86_64-3.7.9-gentoo-safe /boot/kernel-genkernelv2-x86_64-3.7.9-gentoo -> /boot/kernel-genkernel-x86_64-3.7.9-gentoo /boot/initramfs-genkernelv2-x86_64-3.7.9-gentoo -> /boot/initramfs-genkernel-x86_64-3.7.9-gentoo and everything seems to work fine, but I think it would be nice for grub2-mkconfig to support KNAME="" :P
(In reply to Kolhell from comment #5) That is bug 492774.