Bug 751268 - Upgrading or reinstalling kernel throw error message "grubby fatal error: unable to find a suitable template"
Summary: Upgrading or reinstalling kernel throw error message "grubby fatal error: una...
Status: CLOSED DUPLICATE of bug 730357
Alias: None
Product: Fedora
Classification: Fedora
Component: grubby
Version: 16
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2011-11-04 06:29 UTC by Jaroslav Pulchart
Modified: 2011-11-25 15:24 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2011-11-25 15:24:44 UTC
Type: ---

Attachments (Terms of Use)
reinstall log (1.40 KB, text/plain)
2011-11-04 06:29 UTC, Jaroslav Pulchart
no flags Details
grub2 menu.lst post-transaction (749 bytes, text/plain)
2011-11-05 00:08 UTC, Julian Sikorski
no flags Details
proper file (5.37 KB, text/plain)
2011-11-05 00:09 UTC, Julian Sikorski
no flags Details
Newer grub.cfg (2.58 KB, text/plain)
2011-11-14 08:10 UTC, Julian Sikorski
no flags Details

Description Jaroslav Pulchart 2011-11-04 06:29:08 UTC
Description of problem:
Upgrading or reinstalling kernel throw this error message "grubby fatal error: unable to find a suitable template"

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. boot to older kernel (for example 3.1.0-5)
2. reinstall the new kernel (for example 3.1.0-7) by this command
   $ yum reinstall kernel -y 2>&1 | tee reinstall.log
Actual results:
reinstall.log include this error message: "grubby fatal error: unable to find a suitable template"

Expected results:
kernel upgrade/reinstall without error

Additional info:
tested on 2x nodes i686 and x86_64, booth of them were upgraded from F15 to F16

Comment 1 Jaroslav Pulchart 2011-11-04 06:29:48 UTC
Created attachment 531700 [details]
reinstall log

Comment 2 Julian Sikorski 2011-11-05 00:08:02 UTC
Created attachment 531862 [details]
grub2 menu.lst post-transaction

I just hit the same problem. Yet, the new grub config seems fine, saving for the lack of failsafe entry for the new kernel.

Comment 3 Julian Sikorski 2011-11-05 00:09:51 UTC
Created attachment 531863 [details]
proper file

Comment 4 Jaroslav Pulchart 2011-11-05 08:04:32 UTC
Yes, "failsafe" entry is missing. 

I'm also "confused" from 
printing 'Loading Fedora (3.1.0-1.fc16.x86_64)' in each boot even if the kernel version is different:

menuentry 'Fedora (3.1.0-7.fc16.x86_64)' --class fedora --class gnu-linux --class gnu --class os {
  echo 'Loading Fedora (3.1.0-1.fc16.x86_64)'

Comment 5 Jaroslav Pulchart 2011-11-06 08:15:48 UTC
I created 2x new bugs about grub.cfg: 751604, 751603

I don't know is they are relative to this issue or not.

Comment 6 Julian Sikorski 2011-11-14 08:10:51 UTC
Created attachment 533453 [details]
Newer grub.cfg

Even with no failsafe entries in grub.cfg at the start of the transaction this issue still happens.
And same as in comment 4, the "Loading Fedora" line announces an incorrect kernel.

Comment 7 Mads Kiilerich 2011-11-25 15:24:44 UTC

*** This bug has been marked as a duplicate of bug 730357 ***

Note You need to log in before you can comment on or make changes to this bug.