I installed kernel-x86_64 2.6.32.26-174.1.xendom0.el6.
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>
main()
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
self._prepare_install(meter)
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