grubby fatal error: unable to find a suitable template

Eric Paris eparis at redhat.com
Tue Dec 20 15:50:15 UTC 2011


On Tue, 2011-12-20 at 09:35 -0500, Don Zickus wrote:
> On Mon, Dec 19, 2011 at 05:56:42PM -0500, Steve Dickson wrote:

> > # rpm -ihv  kernel-3.2.0-0.rc6.git0.1.pnfsdlexp.fc16.x86_64.rpm           
> > Preparing...                ########################################### [100%]  
> >    1:kernel                 ########################################### [100%]  
> > grubby fatal error: unable to find a suitable template
> > # uname -r
> > 3.1.5-6.fc16.x86_64
> 
> My experience with the upgrading to F16 was the new grub2 was causing the
> problems.  However, the way the install scripts were written, they update
> both grub.conf (grub1) and grub2.cfg (grub2).  grub.conf is updated
> correctly, it is just the grub2.cfg isn't (in fact it is empty, hence the
> warning).  Because my system still uses grub1 in the bootloader (not sure
> how to force it to use grub2), everything boots fine for me (for now :-/
> ).  So I just ignore the warning.

My box had the exact opposite problem, I'm not using grub2.  On upgrade
to F16 grub1 (/boot/grub/grub.conf) was blank but grub2
(/boot/grub2/grub.cfg) worked just fine.  Deleting grub.conf caused it
to stop whining about being unable to find a template and now all is
well.

In my case (and Don's it sounds like) this was completely cosmetic...

-Eric



More information about the kernel mailing list