Xenserver 6.2 doesn't support Ubuntu 14.x by default.
To get Ubuntu 14.x installed a  small modification is needed on Xenserver.
Please follow the steps when installling Ubuntu 14.x with Template on Xenserver 6.2.

TEMPLATE_UUID=`xe template-list name-label="Ubuntu Lucid Lynx 10.04 (64-bit)" params=uuid --minimal`
NEW_TEMPLATE_UUID=`xe vm-clone uuid=$TEMPLATE_UUID new-name-label="Ubuntu Trusty 14.04 (64-bit)"`
xe template-param-set other-config:default_template=true other-config:debian-release=trusty uuid=$NEW_TEMPLATE_UUID

Once above is done. Follow these steps:
  1. Login to the XenServer via ssh
  2. Copy the file you're about to edit as a backup:
    cp /usr/lib/python2.4/site-packages/grub/GrubConf.py /usr/lib/python2.4/site-packages/grub/GrubConf.py.bak
  3. vi /usr/lib/python2.4/site-packages/grub/GrubConf.py
  4. Modify line 428 (Press Esc, type 428, Shift-g)
  5. Insert (i): or arg.strip() == "${next_entry}"
    to the line: 
    if arg.strip() == "${saved_entry}":
    so the line looks like this:
    if arg.strip() == "${saved_entry}" or arg.strip() == "${next_entry}":
  6. Save and exit (Esc :wq)
In XenCenter start the “New VM? wizard and select the new template then choose a suitable mirror for the URL from where you can get the Ubuntu. 

You are done!

Was this answer helpful? 121 Users Found This Useful (175 Votes)