"initramfs-<version" is one of the initramfs naming schemes that the gentoo Grub2 migration guide (http://www.gentoo.org/doc/en/grub2-migration.xml) recommends to allow grub2-mkconfig to pick up the image. However, the grub2 script /etc/grub.d/10_linux only accepts "initramfs-<version>.img", which I think is a copy paste error from the initrd entries (none of the other initramfs options have a trailing ".img"). Reproducible: Always Steps to Reproduce: 1. dracut initramfs-<version> <version> 2. grub2-mkconfig -o /boot/grub2/grub.conf 3. Actual Results: Initramfs is not detected, and the generated grub.conf doesn't use it. Expected Results: The initramfs should be detected. I've attached a patch, but it's literally a four-character fix.
Created attachment 355800 [details, diff] A patch for 10_linux to resolve the issue Changes the initramfs search option "initramfs-${alt-version}.img", which I believe is an error, to "initramfs-${alt-version}".
This is a problem with the migration guide; we don't need to add yet another permutation to the list of files in 10_linux.
Created attachment 356002 [details, diff] grub2 migration patch
Docs team: Please apply the patch from comment 3 to the grub2 migration guide.
Thanks, committed