[Fedora-xen] Xen adventures (updating domU's kernel from dom0)

Ray Van Dolson rvandolson at esri.com
Fri Mar 6 22:43:53 UTC 2009


Hello all;

I have a RHEL 5.3 x86_64 dom0 and attempted to install Fedora 10 i386
as a domU.  This of course failed initially due to some kernel bugs,
but I was able to update to 2.6.18-133.el5virttest11xen from clalance's
repo at RH.

Now F10 i386 installs just fine, but of course I managed to neglect
using kickstart to force the use of the PAE kernel.  As a result, my
domU won't boot.

I could reinstall with KS but I thought now would be a good time to try
to get my hands dirty and attempt to replace the kernel myself from the
dom0.

After some trials and tribulations with conflicting VolGroup names, I
finally got my domU mounted under /mnt on dom0, copied in the PAE
kernel RPM's, chroot'd to /mnt and ran rpm -Uvh.  So far so good, but I
then get the following error:

# 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%]

Hmm, sure enough, /boot/grub/grub.conf wasn't updated!

Now, I'm guessing I could add the new entry myself and all would be
fine, but I'd like to understand why this isn't working... my theory is
that grubby is confused by the chroot environment somehow and unable to
properly locate my existing grub.conf file or templates?

Any thoughts on this?  A search hasn't yielded much in the way of
answers...

Thanks,
Ray




More information about the Fedora-xen mailing list