<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16809" name=GENERATOR><LINK
href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}"
rel=stylesheet></HEAD>
<BODY style="FONT-SIZE: 10pt; MARGIN: 10px; FONT-FAMILY: verdana">
<DIV><FONT face=Verdana size=2>Here's the procedure:</FONT></DIV>
<DIV># qemu-img -f qcow2 /vm/win2k3.img 8G</DIV>
<DIV><FONT face=Verdana size=2>
<DIV># virt-install --connect qemu:///system -n win2k3 -r 512 --vcpus=1 -c /home/temp/win2003sp2ins.iso
-f /vm/win2k3.img -s 4</DIV>
<DIV>--network=bridge:br0 --mac=00:ff:ff:ff:58:58 --noautoconsole --vnc --os-type=windows --os-variant=win2k3 --hvm --accelerate</DIV>
<DIV> </DIV>
<DIV>And I get error as below:</DIV>
<DIV>
<DIV>Starting install...</DIV>
<DIV>internal error unable to start guest: qemu: could not open disk image /vm/win2k3.img</DIV>
<DIV></DIV>
<DIV>Domain installation may not have been</DIV>
<DIV> successful. If it was, you can restart your domain</DIV>
<DIV> by running 'virsh start win2k3'; otherwise, please</DIV>
<DIV> restart your installation.</DIV>
<DIV>ERROR internal error unable to start guest: qemu: could not open disk image /vm/win2k3.img</DIV>
<DIV>Traceback (most recent call last):</DIV>
<DIV> File "/usr/sbin/virt-install", line 861, in ?</DIV>
<DIV> main()</DIV>
<DIV> File "/usr/sbin/virt-install", line 759, in main</DIV>
<DIV> start_time, guest.start_install)</DIV>
<DIV> File "/usr/sbin/virt-install", line 814, in do_install</DIV>
<DIV> dom = install_func(conscb, progresscb, wait=(not wait))</DIV>
<DIV> File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 541, in start_install</DIV>
<DIV> return self._do_install(consolecb, meter, removeOld, wait)</DIV>
<DIV> File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 633, in _do_install</DIV>
<DIV> self.domain = self.conn.createLinux(install_xml, 0)</DIV>
<DIV> File "/usr/lib64/python2.4/site-packages/libvirt.py", line 974, in createLinux</DIV>
<DIV> if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)</DIV>
<DIV>libvirtError: internal error unable to start guest: qemu: could not open disk image /vm/win2k3.img</DIV>
<DIV> </DIV>
<DIV>any idea?</DIV></DIV></FONT></DIV>
<DIV align=left><FONT color=#c0c0c0></FONT> </DIV>
<DIV align=left><FONT face=Verdana color=#c0c0c0 size=2></FONT> </DIV>
<DIV align=left><FONT face=Verdana color=#c0c0c0 size=2>2009-12-08
</FONT></DIV><FONT face=Verdana size=2>
<HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2>
<DIV><FONT face=Verdana color=#c0c0c0 size=2><SPAN>rewing</SPAN>
</FONT></DIV></FONT></BODY></HTML>