Bug 1207390
Summary: | Unable to find a suitable template | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Bernardo Donadio <bcdonadio> | ||||||
Component: | grubby | Assignee: | Peter Jones <pjones> | ||||||
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 21 | CC: | bcdonadio, bcl, pjones | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2015-04-01 23:54:24 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
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 *** |
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.