Installing Ubuntu Server 10.04 (32bit and 64bit) LTS
Ubuntu server 10.04(32bit and 64bit) LTS
This blog provides details on how to install Ubuntu on XenServer version 5.6.
This requires that the XenServer and the guest network have access to the internet; this is required because this is actually a network install and no CD ISO is required.
Listed below is an outline of the overall process:
1. Copy makeubuntu.sh script to the Pool Master (Download Script)
2. Execute makeubuntu.sh script to create Ubuntu Templates
3. Create an Ubuntu VM with the new templates.
4. Perform install and reboot.
5. Install XenTools.
1. Copy makeubuntu.sh to Master
Using WinSCP (or any SFTP client), copy makeubuntu.sh to the /root directory on the Pool Master.
2. Execute makeubuntu.sh to create the Ubuntu templates
In XenCenter, open the console tab of the master to get a bash prompt.Change the current working directory to /root by executing "cd ~".
Then make the "makeubuntu.sh" script executable by issuing "chmod +x makeubuntu.sh"
Execute the script by issuing "./makeubuntu.sh".
Two new VM templates will now have been created,, Ubuntu Server 32bit and 64bit
3. Create a new Virtual Machine from a new Ubuntu template.
Using the "New VM" wizard, create a new virtual machine using one of the new Ubuntu templates.
Notice that, by default all fields are pre-populated.
Because XenServer 5.6 does not support ext4, we tell the Ubuntu installer to use ext3 instead (see Advanced OS boot parameters).
Continue the wizard steps as normal.
After the wizard has completed, start the VM.
4. Perform Install and reboot.
The first boot will be the standard Ubuntu server installer.
If you want to get started quickly then just choose the default options. At this point this is a standard Ubuntu network installation.
Points to consider:
- Your VM needs network access to an Ubuntu mirror.
- The installer will pull down a large amount of data from the mirror to perform the install.
- LVM in the guest has been successfully achieved, soft raid has not been attempted.
- Do not use ext4 as the VM will not be able to boot. The installer will use ext3 by default. When the installer is finished, reboot.#
When the installer is finished, reboot.
After the reboot of the VM, login to your new Ubuntu operating system.
5. Install XenTools
Installing XenTools is very easy; attach the XenTools cdrom by selecting VM-> Install XenServer Tools.
Then become root by issuing "sudo su", then enter your password.
Mount the iso by issuing "mount /dev/cdrom /mnt".
If your Ubuntu install is i386, issue:
"dpkg -i /mnt/Linux/xe-guest-utilities*i386.deb"
"dpkg -i /mnt/Linux/xe-guest-utilities*amd64.deb"
Un-mount the cdrom by issuing "umount /mnt"
You will then notice that Suspend and XenMotion functionality will be enabled.
This concludes the steps needed to install a fully functional Ubuntu 10.04 server VM on XenServer 5.6.
Please note the following supportability disclaimer: Only OSs listed in the XenServer Virtual Machine Installation Guide are supported by Citrix Technical Support. The OS within this and related blogs are not supported and are installed at the users own risk.