grubby fatal error: unable to find a suitable template

Josh Boyer jwboyer at redhat.com
Mon Dec 19 23:47:04 UTC 2011


On Mon, Dec 19, 2011 at 04:41:04PM -0700, Pete Zaitcev wrote:
> On Mon, 19 Dec 2011 17:56:42 -0500
> Steve Dickson <SteveD at redhat.com> wrote:
> 
> > Just curious if anybody else has seen this error and what they did about it...
> 
> Being extra super vigilant about grub.conf and studying GRUB 2.
> There's no cure, AFAIK.
> 
> Note that many of the BZs are not the cross like you're doing:
> e.g. I hit that in F16 on F16, Rawhide on Rawhide. Happens all
> the time these days.

They all have one thing in common: the initramfs isn't getting used.
Sometimes depmod is run and dracut isn't.  Sometimes dracut is run but
depmod hasn't been so the initramfs doesn't have any modules in it.  And
yet other times both of those are run just fine, but the initrd line
isn't added to the grub config.  I've personally seen the 'no suitable
template' error and it works just fine on reboot.

In all cases we've seen (except the rawhide one where dracut moved out
of /sbin), there are no error logs, nothing in /var/log/messages, and
nothing that would otherwise indicate a problem happened during the
%posttrans script.

The bugzillas aren't being ignored really.  They aren't _kernel_
problems, but we don't really know what the problem is.  If someone has
thoughts on it, I'd love to hear them.

josh


More information about the kernel mailing list