XenServer 5.6: Kernel update for (paravirtualized) Ubuntu 10.04

I used jansipke’s great tutorial “Installing XenServer Tools on Ubuntu 10.04” to set up a paravirtualized Ubuntu 10.04 guest system (to enable support for the XenServer Tools) on a XenServer 5.6 host system.
Using this technique, it is important to update the host system after a kernel update in the guest system. In the simplest case, this could be achieved by rerunning jansipke’s makepv.sh script.
After installing the new kernel in the guest system, copy the information of the menuentry (usually the topmost) for the new kernel from /boot/grub/grub.cfg. The entry should look as follows:

menuentry 'Ubuntu, with Linux YOUR-KERNEL' --class ubuntu --class gnu-linux --class gnu --class os {
        insmod ext2
        set root='(hd0,1)'
        search --no-floppy --fs-uuid --set YOUR-UUID
        linux   /boot/vmlinuz-YOUR-KERNEL root=UUID=YOUR-UUID ro   quiet
        initrd  /boot/initrd.img-YOUR-KERNEL

Shut down the guest system and rerun the makepv.sh script for this guest system and paste the required information:

# ./makepv.sh YOUR-VM
Specify path to Kernel (e.g. /boot/vmlinuz...): /boot/vmlinuz-YOUR-KERNEL
Specify Kernel arguments (root=UUID=... ro quiet): root=UUID=YOUR-UUID ro   quiet
Specify path to ramdisk (e.g. /boot/initrd...): /boot/initrd.img-YOUR-KERNEL

After restarting the guest system the kernel should be up to date and the system should support paravirtualization as before.


  1. ricardo345

    This work for centos??

  2. Jan Jonas

    Hi ricardo345, unfortunately I’ve no experience with running CentOS guest systems on XenServer, but aren’t there VM templates for CentOS? For CentOS 5.5 Guests you may find any further information in this post http://community.citrix.com/display/xs/Configuring+CentOS+5.5+Guests+on+XenServer+5.5+and+5.6.

Leave a comment

Your email address will not be published. Required fields are marked *