SOLVED:Bootloader isn't executable booting XEN PV Guest with virtual-manager

Posted by user2284355 on Server Fault See other posts from Server Fault or by user2284355
Published on 2013-07-01T20:21:23Z Indexed on 2013/07/01 23:07 UTC
Read the original article Hit count: 953

Filed under:
|
|


I am going insane with an error I am encountering while trying to install a PV Guest of Debian Wheezy on a Ubuntu Server precise Xen default build with libvirt.


The steps I take with virt-manager are the following:
1.Net install via: http://ftp.es.debian.org/debian/dists/stable/main/installer-amd64/
2.Install process is flawless, installed via VNC over virt-manager
3.When the VM starts I get the following error:

Error starting domain: POST operation failed: xend_post: error from xen daemon: (xend.err "Bootloader isn't executable")

Most answers i have found on google say that I need to edit the VM's .cfg file and correct the path to pygrub but virt-manager does not seem to create this file (I have searched the entire drive with "find".

Another detail is that virsh list --all shows no VMs (Not even dom0) while the command xm list shows all of them.
Any help is much appreciated.

EDIT:

Connected remotely via virsh:
virsh -c xen+ssh://user@ip dumpxml vmname
Found line: /usr/bin/pygrub
ln -s /usr/lib/xen-4.1/bin/pygrub /usr/bin/pygrub
Now it works. If anyone can think of a better solution give me a shout.
Cheers

© Server Fault or respective owner

Related posts about xen

Related posts about libvirt