[xen-tools] Question: Howto update the kernel for a domU image
Peter Baumann
waste.manager at gmx.de
Thu May 17 10:57:24 CEST 2007
First, let me thank you for your nice xen-tools, which is a very
efficient way to create a domU.
But as I see it, there is no efficent way to upgrade the kernel used in
the domU, or do I miss something? I changed in the generated xen cfg
file the kernel and initrd statement to something like this:
kernel = '/boot/vmlinuz-hofmann-domU-latest'
ramdisk = '/boot/initrd-hofmann-domU-latest'
and both files are symlinks pointed to the newest debian kernel images:
ho140:/boot ls -al|grep hof
lrwxrwxrwx 1 root root 29 2007-02-28 10:17 initrd-hofmann-domU-latest -> initrd.img-2.6.18-4-xen-amd64
lrwxrwxrwx 1 root root 26 2007-02-28 10:17 vmlinuz-hofmann-domU-latest -> vmlinuz-2.6.18-4-xen-amd64
This works very well for updating the kernel. If debian ever releases a
new kernel with a new ABI, I only have to update the symlinks.
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?
-Peter
More information about the xen-tools-discuss
mailing list