Installing Ubuntu 10.04 on XenServer 6.0.2 with guest tools

In a previous article a couple of years ago I wrote about the possibility to install the XenServer guest tools on Ubuntu 10.04. The situation has changed for the better with the release of XenServer 6, which supports Ubuntu 10.04 out of the box. Since a lot of people are still referencing the original article I thought it was time to tell you about the improvements in XenServer 6 and a very much simplified way to install Ubuntu 10.04 with guest tools.

Start with the installation of a new VM (Menu -> VM -> New VM…) and select Ubuntu Lucid Lynx 10.04, either 32 or 64 bit version:

In the next screen use the URL http://archive.ubuntu.net/ubuntu. XenServer will append the correct version to the URL, in this case it will transform the URL into http://archive.ubuntu.net/ubuntu/dists/lucid:

Enter through the next screens and install the OS on the VM. When the VM is booted up with a fresh install of Ubuntu 10.04, you should go to the general tab of the VM and note the text next to “Virtualization state”. If the guest tools are installed, it will tell you which version it is. If not, it provides you with a link to install the guest tools. Click this link. This will load a virtual CD-ROM with the guest tools on it and switches to the console view of the VM. Log in with your credentials and perform the following:

sudo mount /dev/xvdd /mnt
sudo /mnt/Linux/install.sh
sudo reboot

Leave a Reply

Your email will not be published. Name and Email fields are required.