XenTools On Ubuntu 10.04
XenTools On Ubuntu 10.04
04 LTS paravirtualised on
Citrix XenServer
How to get Ubuntu 10.04 installed on Citrix XenServer 5.5 Update 2, using PV instead
of HVM.
Due to Grub2 and ext4, Xen can't boot Ubuntu using PV.
Some places say to modify pygrub and GrubConf.py via patches; but from experience
this has resulted in failure on our XS setup. This means each VM must be told what to
boot via parameters set via the xe command-line tool.
Pre-requisites
XenServer 5.5 with console/SSH access
Ubuntu 10.04 ISO (this contains the “minimal virtual machine”, previously
JeOS)
Put the makepv.sh script (below) into /root/ on the XS host and make it
executable (chmod +x ~/.makepv.sh)
Procedure outline
Install minimal virtual machine onto Xen (HVM mode)
Add a Xen TTY
Make note of kernel boot options & parameters
Run script to set various VM options
Install XenServer Tools ISO
What to do
Create & Install
Create VM with desired options
Attach Ubuntu ISO
At Ubuntu boot prompt: choose language, press F4, choose install minimal
virtual machine
Follow on-screen instructions until disk partitioning stage
If using something other than ext3, you need to create a small (100M) ext3
partition for /boot
Make sure you choose the OpenSSH server package at the Software selection
screen so you can connect via PuTTY to copy-and-paste kernel boot options
later
Finish install, boot into VM