grubby fatal error: unable to find a suitable template (Xen)

Ray Van Dolson rayvd at bludgeon.org
Tue Mar 10 06:43:17 UTC 2009


Hi, I'm trying to update the kernel on a powered-off domU by mounting
the image via loopback on the dom0 host, chroot'ing and doing an rpm
-Uvh on the kernel files.

This post[1] has a bit more information.

In short, the kernel seems to install alright, but grubby complains:

# rpm -Uvh --force kernel-PAE-*.rpm
warning: kernel-PAE-2.6.27.19-170.2.35.fc10.i686.rpm: Header V3 DSA signature: NOKEY, key ID 4ebfc273
Preparing...                ########################################### [100%]
   1:kernel-PAE             ########################################### [ 50%]
grubby fatal error: unable to find a suitable template
   2:kernel-PAE-devel       ########################################### [100%]

My guess is this is because I'm in a chroot environment, and grubby
must either be finding my dom0's grub.conf file or is confused about
something else related to the fact that I'm not in the "true" domU
environment.

My question is: is there a "right" way to do this sort of thing?  I
think I can just edit the grub.conf file by hand and everything will
work OK, but maybe there's a way I can tell grubby to do what it needs
to do and see the correct templates and such to update grub.conf on
its own.

Didn't really get a response on the fedora-xen list.  I'm not sure if
this is a bug or not, but thought I'd throw it out here first before
filing something against mkinitrd.

Thanks much,
Ray

[1]: https://www.redhat.com/archives/fedora-xen/2009-March/msg00016.html




More information about the users mailing list