root@svr-lab:~# qm config 199
agent: 1
balloon: 2048
bios: ovmf
boot: order=scsi0;ide2;net0;ide3
cores: 2
cpu: host
efidisk0: HVDisk-Lab:199/vm-199-disk-0.qcow2,efitype=4m,pre-enrolled-keys=1,size=528K
ide2: HVDisk-Lab:iso/WIN_SERVER_STD_CORE_2019_1809.18_64BIT_ENGLISH_Updated-AUG-2021.ISO,media=cdrom,size=5445092K
ide3: HVDisk-Lab:iso/virtio-win-0.1.225.iso,media=cdrom,size=519590K
lock: suspended
machine: pc-q35-7.1
memory: 4096
meta: creation-qemu=7.1.0,ctime=1672222113
name: Win-Server-2k19
net0: virtio=C2:XX:XX:61:XX:36,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
scsi0: HVDisk-Lab:199/vm-199-disk-1.qcow2,cache=writeback,iothread=1,size=64G
scsihw: virtio-scsi-single
smbios1: uuid=a9d8db75-5bfe-4ce5-a03e-994e7491834d
sockets: 1
vga: virtio
vmgenid: 3ea6d62a-bcb9-4ccd-a301-2fe5bb9b7ca5
I think the work-around is to useboot: order=scsi0;ide2;net0;ide3 ide2: HVDisk-Lab:iso/WIN_SERVER_STD_CORE_2019_1809.18_64BIT_ENGLISH_Updated-AUG-2021.ISO,media=cdrom,size=5445092K ide3: HVDisk-Lab:iso/virtio-win-0.1.225.iso,media=cdrom,size=519590K
ide0
and ide2
, not ide2
and ide3
. Change ide3
to ide0
for example.add the second cd-rom as ide0 and try againI have 2 CD-ROM drives, because I will need VirtIO drivers for install Win Server 2k19.
root@svr-lab:~# qm config 199
agent: 1
balloon: 2048
bios: ovmf
boot: order=scsi0;net0;ide0;ide1
cores: 2
cpu: host
efidisk0: HVDisk-Lab:199/vm-199-disk-0.qcow2,efitype=4m,pre-enrolled-keys=1,size=528K
ide0: HVDisk-Lab:iso/WIN_SERVER_STD_CORE_2019_1809.18_64BIT_ENGLISH_Updated-AUG-2021.ISO,media=cdrom,size=5445092K
ide1: HVDisk-Lab:iso/virtio-win-0.1.225.iso,media=cdrom,size=519590K
machine: pc-q35-7.1
memory: 4096
meta: creation-qemu=7.1.0,ctime=1672222113
name: Win-Server-2k19
net0: virtio=xx:xx:xx:xx:xx:36,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
scsi0: HVDisk-Lab:199/vm-199-disk-1.qcow2,cache=writeback,iothread=1,size=64G
scsihw: virtio-scsi-single
smbios1: uuid=a9d8db75-5bfe-4ce5-a03e-994e7491834d
sockets: 1
vga: virtio
vmgenid: 3ea6d62a-bcb9-4ccd-a301-2fe5bb9b7ca5
root@svr-lab:~# qm start 199
kvm: -device ide-cd,bus=ide.0,unit=1,drive=drive-ide1,id=ide1,bootindex=103: Can't create IDE unit 1, bus supports only 1 units
start failed: QEMU exited with code 1
root@svr-lab:~#
Don't use ide2 and ide3. Also, don't use ide0 and ide1. Either use ide0 and ide2 or use ide1 and ide3.Second tentative:
Code:root@svr-lab:~# qm config 199 agent: 1 balloon: 2048 bios: ovmf boot: order=scsi0;net0;ide0;ide1 cores: 2 cpu: host efidisk0: HVDisk-Lab:199/vm-199-disk-0.qcow2,efitype=4m,pre-enrolled-keys=1,size=528K ide0: HVDisk-Lab:iso/WIN_SERVER_STD_CORE_2019_1809.18_64BIT_ENGLISH_Updated-AUG-2021.ISO,media=cdrom,size=5445092K ide1: HVDisk-Lab:iso/virtio-win-0.1.225.iso,media=cdrom,size=519590K machine: pc-q35-7.1 memory: 4096 meta: creation-qemu=7.1.0,ctime=1672222113 name: Win-Server-2k19 net0: virtio=xx:xx:xx:xx:xx:36,bridge=vmbr0,firewall=1 numa: 0 ostype: win10 scsi0: HVDisk-Lab:199/vm-199-disk-1.qcow2,cache=writeback,iothread=1,size=64G scsihw: virtio-scsi-single smbios1: uuid=a9d8db75-5bfe-4ce5-a03e-994e7491834d sockets: 1 vga: virtio vmgenid: 3ea6d62a-bcb9-4ccd-a301-2fe5bb9b7ca5 root@svr-lab:~# qm start 199 kvm: -device ide-cd,bus=ide.0,unit=1,drive=drive-ide1,id=ide1,bootindex=103: Can't create IDE unit 1, bus supports only 1 units start failed: QEMU exited with code 1 root@svr-lab:~#
Any idea?
oot@svr-lab:~# qm config 199
agent: 1
balloon: 2048
bios: ovmf
boot: order=scsi0;net0;ide0;ide2
cores: 2
cpu: host
efidisk0: HVDisk-Lab:199/vm-199-disk-0.qcow2,efitype=4m,pre-enrolled-keys=1,size=528K
ide0: HVDisk-Lab:iso/WIN_SERVER_STD_CORE_2019_1809.18_64BIT_ENGLISH_Updated-AUG-2021.ISO,media=cdrom,size=5445092K
ide2: HVDisk-Lab:iso/virtio-win-0.1.225.iso,media=cdrom,size=519590K
machine: pc-q35-7.1
memory: 4096
meta: creation-qemu=7.1.0,ctime=1672222113
name: Win-Server-2k19
net0: virtio=xx:xx:xx:xx:xx:xx,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
scsi0: HVDisk-Lab:199/vm-199-disk-1.qcow2,cache=writeback,iothread=1,size=64G
scsihw: virtio-scsi-single
smbios1: uuid=a9d8db75-5bfe-4ce5-a03e-994e7491834d
sockets: 1
vga: virtio
vmgenid: 3ea6d62a-bcb9-4ccd-a301-2fe5bb9b7ca5
root@svr-lab:~#