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 {
recordfail
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.
2 responses to “XenServer 5.6: Kernel update for (paravirtualized) Ubuntu 10.04”
This work for centos??
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.