xen vytvorenie virtualnej masiny problem

Sekcia: Aplikácie & Desktop 10.01.2011 | 22:18
cvaldo   Návštevník
Caute toto mi vyhodilo pri tvorbe virtualnej masiny cez xen.Neviem co s tym.
Diki za pomoc


Unable to complete install 'libvirt.libvirtError POST operation failed: xend_post: error from xen daemon: (xend.err "Error creating domain: (2, 'Invalid kernel', 'xc_dom_find_loader: no loader found\\n')")
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/create.py", line 724, in do_install
dom = guest.start_install(False, meter = meter)
File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 541, in start_install
return self._do_install(consolecb, meter, removeOld, wait)
File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 633, in _do_install
self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib/python2.4/site-packages/libvirt.py", line 974, in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: POST operation failed: xend_post: error from xen daemon: (xend.err "Error creating domain: (2, 'Invalid kernel', 'xc_dom_find_loader: no loader found\\n')")
'
    • Re: xen vytvorenie virtualnej masiny problem 10.01.2011 | 22:33
      Avatar Tomáš Srnka Barz čo, už asi všetko  Administrátor
      co ti vypise: uname -a ?
      Dlho som robil linuxos.sk, neskôr založil vpsFree.cz, posledných pár rokov ako tech. riaditeľ vo Websupporte
      • Re: xen vytvorenie virtualnej masiny problem 10.01.2011 | 22:45
        cvaldo   Návštevník
        Linux localhost.localdomain 2.6.18-92.el5xen #1 SMP Tue Jun 10 19:55:54 EDT 2008 i686 i686 i386 GNU/Linux
    • Re: xen vytvorenie virtualnej masiny problem 11.01.2011 | 12:41
      Avatar samox86 arch, debian  Administrátor
      aky mas konfigurak?
      na paravirtualizaciu ti staci toto:

      # cat debian.cfg
      kernel = "/boot/domU/vmlinuz-2.6.35"
      root = "/dev/xvda1 console=hvc0"
      memory = 512
      name = "debian_64"
      vif = [ 'mac=00:22:15:27:73:22' ]
      extra="3"
      disk = ['phy:/dev/vg1/debian,xvda1,w',
      'phy:/dev/vg1/swap_debian,xvda2,w']

      a potom spustit z konzoly
      # xm create -c debian.cfg


      kernel pre domU si mozes stihanut tu, netusim ci pojde na redhate, na debiane funguje urcite:

      64bit: http://stacklet.com/sites/default/files/xen3/kernel/xenU/2.6.35.8/linux-2.6.35.8-xenU.x86-64.tar.bz2

      32bit: http://stacklet.com/sites/default/files/xen3/kernel/xenU/2.6.35.8/linux-2.6.35.8-xenU.x86.tar.bz2
      lnx.sk - virtualne servery; Lnx@Lnx.sk