Hi,
I'm using the build-in xen with centOS5.5. The xen version here is
3.1.2-194.26.1.el5.
I have succeeded install Debian Lenny on-line with the address "
http://ftp.us.debian.org/debian/dists/lenny/main/installer-i386/ "
And my full command to setup Xen is "virt-install -n aaronXEN -r
256 --vcpus=2 --check-cpu --disk
path=/dev/mapper/crhGroup-aaronXEN --location
http://ftp.us.debian.org/debian/dists/lenny/main/installer-i386/"
I also want to install a uBuntu OS in my Xen. I've tried the on-line
address
"http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-i386/".
But it doesn't work.
It gives the error message below:
[root@CentOS-X ~]# virt-install -n uBuntu -r 256
--vcpus=2 --check-cpu --disk path=/dev/mapper/crhGroup-aaronXEN
--location
http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-i386/
--force
Starting install...
Retrieving file
MANIFEST...
| 885 B 00:00
ERROR Could not find a kernel path for virt type 'xen'
Domain installation may not have been
successful. If it was, you can restart your domain
by running 'virsh start uBuntu'; otherwise, please
restart your installation.
ERROR Could not find a kernel path for virt type 'xen'
Traceback (most recent call last):
File "/usr/sbin/virt-install", line 929, in ?
main()
File "/usr/sbin/virt-install", line 825, in main
start_time, guest.start_install)
File "/usr/sbin/virt-install", line 880, in do_install
dom = install_func(conscb, progresscb, wait=(not wait))
File "/usr/lib/python2.4/site-packages/virtinst/Guest.py",
line 626, in start_install
self._prepare_install(meter)
File "/usr/lib/python2.4/site-packages/virtinst/Guest.py",
line 679, in _prepare_install
meter = meter)
File
"/usr/lib/python2.4/site-packages/virtinst/DistroInstaller.py",
line 246, in prepare
self._prepare_kernel_and_initrd(guest, distro, meter)
File
"/usr/lib/python2.4/site-packages/virtinst/DistroInstaller.py",
line 194, in _prepare_kernel_and_initrd
type=self.os_type, distro=distro)
File "/usr/lib/python2.4/site-packages/virtinst/OSDistro.py",
line 137, in acquireKernel
scratchdir, type, distro)
File "/usr/lib/python2.4/site-packages/virtinst/OSDistro.py",
line 123, in _acquireMedia
return (store.acquireKernel(guest, fetcher, progresscb),
File "/usr/lib/python2.4/site-packages/virtinst/OSDistro.py",
line 413, in acquireKernel
raise ValueError(_("Could not find a kernel path for virt
type "
ValueError: Could not find a kernel path for virt type 'xen'
And how can I fix it?
|