mitaka : Windows Server 2012 - Boot failed from CDROM (0004)

asked 2016-08-26 06:37:59 -0500

Michel gravatar image

Hi,

I am trying to create a Windows 2012 server image as described here : http://docs.openstack.org/image-guide/windows-image.html

[root@compute1 home]# virsh -c qemu:///system list
 Id    Name                           State
----------------------------------------------------
 23    instance-00000020              running
 24    instance-00000021              running
 28    instance-00000024              running

root@compute1 home]# virsh net-list --all
 Name                 State      Autostart     Persistent
----------------------------------------------------------
 default              active     no            yes

[root@compute1 home]# ls -lrt
total 3765548
-rw-r--r--. 1 root root     197120 Aug 26 09:32 ws2012.qcow2
-rw-r--r--. 1 qemu qemu 3694962688 Aug 26 10:35 9200.16384.WIN8_RTM.120725-1247_X64FRE_SERVER_EVAL_EN-US-HRM_SSS_X64FREE_EN-US_DV5.ISO
-rw-r--r--. 1 qemu qemu  160755712 Aug 26 10:38 virtio-win-0.1.102.iso

windows iso md5 seems ok :

md5sum 9200.16384.WIN8_RTM.120725-1247_X64FRE_SERVER_EVAL_EN-US-HRM_SSS_X64FREE_EN-US_DV5.ISO

8503997171f731d9bd1cb0b0edc31f3d

After lauching the virt-install :

virt-install --connect qemu:///system  --name ws2012 --ram 2048 --vcpus 2  --network network=default,model=virtio --disk path=ws2012.qcow2,format=qcow2,device=disk,bus=virtio --cdrom 9200.16384.WIN8_RTM.120725-1247_X64FRE_SERVER_EVAL_EN-US-HRM_SSS_X64FREE_EN-US_DV5.ISO --disk path=virtio-win-0.1.102.iso,device=cdrom --vnc --os-type windows --os-variant win2k8

I see in virt-manager :

Boot failed : Could not read from CDROM (code 0004)

Did I make something wrong ?

Thanks for your help !

Michel

edit retag flag offensive close merge delete

Comments

Seems some option missing in the command. Could you please try these steps

If that doesnt work,Install virt-manager & Try this

sunnyarora gravatar imagesunnyarora ( 2016-08-26 19:33:30 -0500 )edit