[xen-tools-discuss] Updating kernel image on DomU
Girish Venkatasubramanian
girishvs at gmail.com
Fri Jan 23 16:18:18 CET 2009
Hello,
I have been using xen-tools for almost a week now - and it rocks.
Thanks for making this tool - it simplifies playing around with Xen.
I do have some questions about using this tool. I tried to find the
answers on the mailing list - but could not. Hence this email. (If I
am rehashing any issue which has been covered earlier and I missed it
in the mailing list - sorry.)
My Setup:
Debian etch 4.0r0 Host and guest - using one unified kernel (instead
of separate dom0/domU kernels) - no initrd for domU. The guest was
created using xen-tools with debootstrap switch. I am running
xen-tools version 2.8 (that was the default version when I used
apt-get)
1) Updating kernel images
To understand Xen better, I would like to add printk's in the Xen code
and recompile the unified kernel. To carry out these changes in the
domU image, is there anything I need to do, apart from copying the new
lib/modules/2.6.18.8-xen from the dom0 to the domU?
http://www.xen-tools.org/lists/xen-tools-discuss/May07/0272.html (a
previous thread which discusses this issue) talks about two scripts in
/usr/share/doc/xen-tools/examples/ - but I don't seem to have the
examples directory at all. Is this something which was added in
xen-tools releases later than 2.8?
2) Compiling new programs:
Can I loopback mount the domU disk image on some mount point in dom0,
chroot to it and compile new programs on the guest - instead of
booting up the domain and then compiling the programs?
Suggestions and advice appreciated.
Thanks
Girish
More information about the xen-tools-discuss
mailing list