Contents
Updated on 2021-02-13
These instructions are taken from here and updated and formatted a bit by me. They assume that you are installing the server version of Ubuntu 10.04 and the release version of Citrix XenServer 5.6.
Install Ubuntu 10.04 onto XenServer 5.6
- Create a VM First create a VM in XenCenter using the other install media template.
- Install Ubuntu Install ubuntu to your liking and reboot into the new system.
- Get GeTTY running on hvc0
Tell getty to display on hvc0 (This does do the trick of getting a display on the console, but I am still unable to login or get any key-presses to work at all. I have to login via ssh to manage the system.)
sudo cp /etc/init/tty1.conf /etc/init/hvc0.conf
- Edit it to replace “tty1” with “hvc0”
sudo nano -w /etc/init/hvc0
- Create a link in /boot to itself
sudo ln -s . /boot/boot
- Install openssh-server
sudo apt-get update sudo apt-get install openssh-server
- Shutdown the VM
- Retrieve the UUID for the VM
Assuming your VM is named “ubuntu10”
xe vm-list name-label=ubuntu10 params=uuid
- Retrieve the VBD UUID This is the UUID for the storage attached to the VM
xe vm-disk-list uuid=<UUID-from-step8>
- Clear out the HVM boot policy
xe vm-param-set uuid=<UUID-from-step8> HVM-boot-policy=
- Set the PV bootloader to pygrub
xe vm-param-set uuid=<UUID-from-step8> PV-bootloader=pygrub
- Lastly, set the VBD for the VM to be bootable
xe vbd-param-set uuid=<VBD UUID-from-step9> bootable=true
- Start the VM and login If your console fails to appear, try connecting to the VM using SSH. If you missed the step about getting GeTTY to output to hvc0, the login prompt will never appear.
- Attach the xs-tools.iso to the VM and mount the imagesudo mount /dev/cdrom1 /mnt
- Install the XenServer tools
Make sure you use the proper file for your architecture (amd64 or i386). A quick “ls” will confirm the version of the utilities in your xs-tools.iso. File names may (will) differ.
sudo dpkg -i /mnt/Linux/xe-guest-utilities_5.5.901-562_i386.deb
- Unmount the iso image and then detach it in XenCenter
sudo umount /mnt
- Reboot the VM
You are now up and running. Update the system. The original author reports issues like XenCenter not displaying the NIC IP and no performance data.