[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Problem creating xen paravirtual guest

  • To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: akshayakarle@xxxxxxxxx
  • Date: Fri, 30 Sep 2011 23:44:32 -0700 (PDT)
  • Delivery-date: Fri, 30 Sep 2011 23:46:06 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=ieWyQOyZW13qjdw7hdGviaON26d4KSESt7DFDnqa+rE5CyU/x022vD9yKfwxSzPWzZnS7HqEWPyvt5QC3o39pKd+gnGtfWqlVEkboVFUDG0m/NWMGJXllz0wvexqSu1ZGfTOHKGk5CrtWW/r+RBANL1ZwOPA13VtMzxKQjkQC1Q=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi all,
I installed kernel-x86_64
x86_64 on cent os 6 x86_64 and got xen-4.0.1 working on it. I have been able to create full virtual systems with virt-install and virt-manager, but when I tried creating paravirtual domu cent os 5 x86_64 I am getting the following error:

ERROR    Could not find a kernel path for virt type 'xen'
Domain installation does not appear to have been
 successful.  If it was, you can restart your domain
 by running 'virsh start cent'; otherwise, please
 restart your installation.
ERROR    Could not find a kernel path for virt type 'xen'
Traceback (most recent call last):
  File "/usr/bin/virt-install", line 1054, in <module>
  File "/usr/bin/virt-install", line 936, in main
    start_time, guest.start_install)
  File "/usr/bin/virt-install", line 978, in do_install
    dom = install_func(conscb, progresscb, wait=(not wait))
  File "/usr/lib/python2.6/site- packages/virtinst/Guest.py", line 971, in start_install
  File "/usr/lib/python2.6/site- packages/virtinst/Guest.py", line 772, in _prepare_install
    meter = meter)
  File "/usr/lib/python2.6/site- packages/virtinst/ DistroInstaller.py", line 252, in prepare
    self._prepare_kernel_and_ initrd(guest, distro, meter)
  File "/usr/lib/python2.6/site- packages/virtinst/ DistroInstaller.py", line 194, in _prepare_kernel_and_initrd
    type=self.os_type, distro=distro)
  File "/usr/lib/python2.6/site- packages/virtinst/OSDistro.py" , line 144, in acquireKernel
    scratchdir, type, distro)
  File "/usr/lib/python2.6/site- packages/virtinst/OSDistro.py" , line 130, in _acquireMedia
    return (store.acquireKernel(guest, fetcher, progresscb),
  File "/usr/lib/python2.6/site- packages/virtinst/OSDistro.py" , line 429, in acquireKernel
    "'%s'" % self.type))
ValueError: Could not find a kernel path for virt type 'xen'

I created the virtual machine using virt-install using the following command:
virt-install -n cent5 -r 256 -l http://mirror.centos.org/ centos/5/os/x86_64/images/xen/ --disk path=/home/aks/vm/cent.img -p

Hope you can help me out.
Thanks in advance,
Akshay Karle

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.