Public bug reported:

Binary package hint: virt-manager

Create a DomU with virt-manager ends with :

Unable to complete install '<class 'libvirt.libvirtError'> 
virDomainCreateLinux() failed POST operation failed: xend_post: error from xen 
daemon: (xend.err "Error creating domain: (1, 'Internal error', 'Could not open 
kernel image (2 = No such file or directory)')")
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/create.py", line 652, in do_install
    dom = guest.start_install(False, meter = meter)
  File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 902, in 
start_install
    return self._do_install(consolecb, meter)
  File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 923, in 
_do_install
    self.domain = self.conn.createLinux(install_xml, 0)
  File "/usr/lib/python2.5/site-packages/libvirt.py", line 841, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', 
conn=self)
libvirtError: virDomainCreateLinux() failed POST operation failed: xend_post: 
error from xen daemon: (xend.err "Error creating domain: (1, 'Internal error', 
'Could not open kernel image (2 = No such file or directory)')")
'

In the log virt-manager wants to use /usr/lib/xen-default/hvmbootload as
a bootloader :

'loader': '/usr/lib/xen-default/boot/hvmloader'

but the real path is /usr/lib/xen/boot/hvmloader

make a symbolic link do the trick :

cd /usr/lib/
ln -s xen xen-default

Linux 2.6.24-23-xen #1 SMP Mon Jan 26 03:09:12 UTC 2009 x86_64 GNU/Linux

ii  libxen3                               3.3.0-1ubuntu7                library 
interface for Xen, a Virtual Machine
ii  linux-image-2.6.24-23-xen             2.6.24-23.48                  Linux 
kernel image for version 2.6.24 on Thi
ii  linux-ubuntu-modules-2.6.24-23-xen    2.6.24-23.37                  Ubuntu 
supplied Linux modules for version 2.
ii  python-xen-3.3                        3.3.0-1ubuntu7                python 
bindings for Xen, a Virtual Machine M
ii  xen-hypervisor-3.3                    3.3.0-1ubuntu7                The Xen 
Hypervisor for i386 and amd64.
ii  xen-utils-3.3                         3.3.0-1ubuntu7                XEN 
administrative tools
ii  virt-manager                          0.5.4-2ubuntu1                desktop 
application for managing virtual mac

** Affects: virt-manager (Ubuntu)
     Importance: Undecided
         Status: New

-- 
wrong default hvm bootloader path for xen
https://bugs.launchpad.net/bugs/334447
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to