Currently XenServer has a problem starting a new Ubuntu 14.04 image. There is a problem with one of the Python scripts it uses to start machines. This should be fixed by an update soon, but for now it’s a really easy fix to perform real quick. Thanks to for the quick instructions.

In XenCenter, head over to the console of the server and log in.

Edit the file in question to fix the line:

vi /usr/lib/python2.4/site-packages/grub/

In vi, head down to line 428. You can do this quickly by typing “:428” and pressing enter. Then press “i” or the insert key to start editing.

Change this line:

if arg.strip() == "${saved_entry}":

to say:

if arg.strip() == "${saved_entry}" or arg.strip() == "${next_entry}":

Save and quit (Press ESC and type “:wq”), and you’re done. The Ubuntu 14.04 machine should now start.