Hi everyone,

I am creating VM on Centos as a host and Ubuntu as VM , using KVM and Libvirt manger ..

When i execute following command :

virt-install --connect qemu:///system -n r1u1 -r 2047 --disk vol=rf/r1u1 --disk path=/home/devang/ubuntutest.iso,device=cdrom,bus=ide,perms=ro --vnc --noautoconsole os-type linux --os-variant ubuntujaunty --accelerate


I got Error :

Starting install...
internal error unsupported disk type 'vda'
Domain installation may not have been
successful. If it was, you can restart your domain
by running 'virsh start r1u1'; otherwise, please
restart your installation.
ERROR internal error unsupported disk type 'vda'
Traceback (most recent call last):
File "/usr/sbin/virt-install", line 861, in ?
main()
File "/usr/sbin/virt-install", line 759, in main
start_time, guest.start_install)
File "/usr/sbin/virt-install", line 814, in do_install
dom = install_func(conscb, progresscb, wait=(not wait))
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: internal error unsupported disk type 'vda'


So any suggestion plz.......

Thanks in advance.......

Hi Devang,
I think the virtio modules for the block device is not loaded. Another user faced a similar issue with the centos distribution
The same thing has also been mentioned in the last section
Backup your initrd before updating it. You will need to reboot the system to test this.
Good luck !