[CentOS-virt] virt-install failed while install windows2003 guest

rewing rewing at howfortune.com
Tue Dec 8 08:58:56 UTC 2009


Here's the procedure:
# qemu-img -f qcow2 /vm/win2k3.img 8G
# virt-install --connect qemu:///system -n win2k3 -r 512 --vcpus=1 -c /home/temp/win2003sp2ins.iso -f /vm/win2k3.img -s 4
--network=bridge:br0 --mac=00:ff:ff:ff:58:58 --noautoconsole --vnc --os-type=windows --os-variant=win2k3 --hvm --accelerate

And I get error as below:
Starting install...
internal error unable to start guest: qemu: could not open disk image /vm/win2k3.img
Domain installation may not have been
 successful.  If it was, you can restart your domain
 by running 'virsh start win2k3'; otherwise, please
 restart your installation.
ERROR    internal error unable to start guest: qemu: could not open disk image /vm/win2k3.img
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/lib64/python2.4/site-packages/libvirt.py", line 974, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: internal error unable to start guest: qemu: could not open disk image /vm/win2k3.img

any idea?


2009-12-08 



rewing 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos-virt/attachments/20091208/55c24500/attachment.html 


More information about the CentOS-virt mailing list