[xen-tools] Re: Question: Howto update the kernel for a domU image

Peter Baumann waste.manager at gmx.de
Thu May 17 11:41:21 CEST 2007


On Thu, May 17, 2007 at 10:28:43AM +0100, Steve Kemp wrote:
> 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!)

Ah. Nice. I didn't now about these scripts.
> 
-Peter





More information about the xen-tools-discuss mailing list