Ubuntu 9.04 Xenserver 5.5 Template Paravirtualized

After reading many blogs, and trying for a while before succeeding, in creating an Ubuntu 9 pv template on xen, i have finally got it working, and have created a template which runs in PV mode, has the xentools installed and is avaliable for download for free.

So far ive spent a total of 30min tryin to install the 9.10 however since its native fs is ext4 pygrub doesn’t know how to mount it, it also uses grub2 which is still beta and support is a little limited, perhaps a dist upgrade would keep the existing fs and grub, i have not tried it yet, but i will shortly.

Isaac, thanks for your response, I download it the templates listed above (32-bit ver), am I supposed to merge both of them? The second file 7-Zip complained that it was an invalid Archive, so I’m downloading it again just in case it got corrupted during the download. On the meantime I imported the first template file, and boot the VM and noticed the Vm is only in CLI mode, can I bring up the GNOME desktop? I also just checked your how to install it and noticed you use the Server Version, is that why there is no GNOME desktop?

I want to say thanks for the template but I have one concern. With updates if I run them I will get the standard Ubuntu server updates. How can I get the updates for the kernel that will work with XenServer?

sudo aptitude forbid-version package_name should do the trick the package_name should be linux-image-server if its a 32bit distro,
or else in the grub config there is an entry which forces the xen kernel
in /boot/grub/menu.lst
## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
indomU=true

Are you able to assist a migration from Ubuntu 8.04 under VMware to Xenserver 5.5. We can export the machine in an image format and from what I’m gathering it’s a matter of changing the kernel. If your able to assist please let me know your fee for the project.