Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Thank you koolhead17 for answering my question. Before I fixed the problem.I use the documents from Openstack to build my windows image,that use qcow2 for the disk.But the windows installer cannot find the image disk.So I use the raw format.

Blow is my step: 1. #kvm-img create -f raw windowsserver.img 10G 2. #kvm -m 1024 -cdrom cn_win_srv_2003_r2_enterprise_x64_with_sp2_vl_cd1.iso -drive file=windowsserver.img,if=virtio,boot=on -fda virtio-win-1.1.16.vfd -boot order=d,menu=on -usbdevice tablet -nographic -vnc :10 3. then select the first choose(DV/CD) 4. after that tap F6 5. choose"*To specify additional SCSI adaptes.......", 6. then choose a Red Hat VirtIO Disk Device Win2003/64-bit(if your machine is x86 choose the Win2003/32-bit,or xp choose the WinXP/32-bit) 7. install your system After the installing is done,you need to install your network interface driver. 8 kvm -m 1024 -drive file=windowsserver.img -cdrom virtio-win-0.1-22.iso -net nic,model=virtio -net user -boot order=c -usbdevice tablet -nographic -vnc :10 NOW You can upload this image. 9. glance add name="win2003X64" is_public=true container_format=ovf disk_format=raw < windowsserver.img