Bugzilla will be upgraded to version 5.0 on December 2, 2018. The outage period for the upgrade will start at 0:00 UTC and have a duration of 12 hours
Bug 244498 - grubby error on kernel install
grubby error on kernel install
Product: Fedora
Classification: Fedora
Component: mkinitrd (Show other bugs)
All Linux
low Severity high
: ---
: ---
Assigned To: Peter Jones
Depends On:
  Show dependency treegraph
Reported: 2007-06-16 02:16 EDT by Neil Thompson
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-07-23 04:50:02 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Neil Thompson 2007-06-16 02:16:43 EDT
Description of problem:
When yum updating kernel to latest (2.6.21-1.3228.fc7), I get the following error -

Installing: kernel                       ####################### [25/71] 
grubby fatal error: unable to find a suitable template
and no grub entry is created for the kernel. 

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

This is on a system upgraded from FC6
Comment 1 Neil Thompson 2007-06-20 01:24:37 EDT
Something that may also pertain - when I upgraded from FC6, the grub entry was
incorrect after the upgrade; it was still pointing at the (then deleted) FC6
kernel.  Also, my boot partition was no longer used.  This was an anaconda upgrade.
Comment 2 Neil Thompson 2007-07-11 01:35:02 EDT
Ping...is there anyone out there?
Comment 3 Neil Thompson 2007-07-21 05:14:16 EDT
OK, it's happened again with kernel-

I'm not sure whether it's any use continuing entering stuff here as no-one seems
to be taking any notice. 
Comment 4 Neil Thompson 2007-07-23 04:50:02 EDT
This turned out to be caused by anaconda having messed up my partitions during
the upgrade - it totally ignored the presense of my /boot partition and created
a /boot directory on my / partition without updating grub.conf.  grubby was
reading grub.conf and trying to find vmlinuz.(whatever) directly under hd2 (/
partition) and failing with the "unable to find a suitable template" error. 

A more explanatory error message like "Unable to find kernel file -
/vmlinuz.(whatever)" would have helped.  I'll see if I can't patch up grubby to
display that message and update the bug with the patch.
Comment 5 Askar Ali Khan 2007-07-29 10:23:58 EDT
Got the same error when today I installed kernel update using 'yum -y update'

Kernel- has been installed but no grub enter created :-s, however
i can see the kernel files in /boot.

We are using kernel-xen but love to keep normal kernel for fallback and today we
lost that kernel entry from grub.conf :(


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