On Thu May 17, 2007 at 10:57:24 +0200, Peter Baumann wrote:
> First, let me thank you for your nice xen-tools, which is a very
> efficient way to create a domU.
Thanks.
> But now to my problem. Inside each domU image, there is a copy of
> /lib/modules/2.6.18-4-xen-amd64, which is not updated with the kernel
> image. Is there a elegant way to do this? Or wouldn't it be better to
> have the whole kernel inside the domU, so the whole problem goes away?
You want to take a look in /usr/share/doc/xen-tools/examples
There are two scripts there:
1. setup-kernel-initrd: That will update /etc/xen/*.cfg with its
guess of the "best" kernel + initrd.
2. update-modules: That will copy modules from the host to each
guest. (NOTE: The guest shouldn't be running!)
I hope that solves both of your problems! As for putting the kernels
inside the domU image that isn't supported by Xen properly. There is
some support for it using the pygrub bootloader, but in all honesty
I've never managed to get that to work consistently.
Steve
--
Received on Thu May 17 2007 - 10:28:57 BST