Installing Ubuntu Server 10.04 As DomU On XenServer 5.5
Installing Ubuntu Server 10.04 As DomU On XenServer 5.5
5
Source document: http://www.aikidokatech.com/index.php?
option=com_content&view=article&id=65:ubuntu1004bxs56&catid=37:xen
Modification reason: Some steps in the Source Document is applicable only for XenServer 5.6 Beta; the
procedure below is totally applicable for XenServer 5.5
3. The console for the DomU in PV mode will be hvc0. You will need to tell getty to use this. Copy
the existing tty1.conf and edit it to replace "tty1" with "hvc0".
7. Retrieve the VBD UUID for the storage attached to the VM.
xe vm-disk-list uuid=<UUID>
12. Start the VM and login. If your console fails to appear or seems to hang, try closing and reopening
XenCenter.
13. Attach the xs-tools.iso to the VM and mount the image. Mount will claim /dev/cdrom1 does not
exist if it has not yet been attached to the VM in XenCenter.
14. 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 you xs-tools.iso. My file name my differ.
15. Now, the above .deb file is designed for Debian, so it does not install properly on Ubuntu. Fix the
installation using the following commands:
IMPORTANT NOTE ! ! !
If you ever update your kernel, please follow these steps after aptitude completes:
a) Record new grub.cfg information (follow Step 4)
b) Update PV*-args from XenServer’s console (follow Step 10)
c) Restart Ubuntu
These steps are necessary because, unlike the steps in the source document, we do not modify/patch
pygrub and GrubConf.py, so XenServer can’t automatically detect kernel changes.