Created attachment 1008661 [details] /boot/grub2/grub.cfg Description of problem: I'm unable to get the posttrans script of the kernel package to work as supposed and update the grub config file. Always when installing a kernel, I get the infamous "grubby fatal error: unable to find a suitable template" message. Updating the config with grub2-mkconfig works as supposed, but it's not automatic. *I have no idea on how to provide further diagnostic messages (if there are any) from grubby* Version-Release number of selected component (if applicable): grubby-8.35.8.fc21 grub-2.02-0.13.fc21 How reproducible: Always reproducible when installing a new kernel package. Steps to Reproduce: 1. yum install kernel 2. profit. Actual results: "grubby fatal error: unable to find a suitable template" is shown when running the kernel package posttrans script. Expected results: Successful updating of the /boot/grub2/grub.cfg file. Additional info: I'm attaching my actual grub.cfg. Also, I'm on a btrfs partition with subvolumes (/boot is in the same subvolume as root). Grub boots directly from this subvolume. This is a BIOS system.
Please attach /var/log/grubby
Created attachment 1009235 [details] /var/log/grubby Here's /var/log/grubby as requested. The btrfs scheme is the following: /dev/sdd3 (known as hd0,msdos3 by grub, per /boot/grub2/device.map) contains a btrfs filesystem, with nothing in the root subvolume (subvolid=0) except the root (subvolid=257) and home (subvolid=258) subvolumes. As I understand, grub access the vmlinuz images and other files by opening the main btrfs partition, and treating the subvolumes as folders. Grubby, however, doesn't recognize this path, as the system root (/) isn't the btrfs root (subvolid=0).
*** This bug has been marked as a duplicate of bug 864198 ***