Can't start Windows 11 VM

yena

Renowned Member
Nov 18, 2011
373
4
83
Hello,
ona proxmox pve-manager/7.4-3/9002ab8a (running kernel: 5.15.102-1-pve),
i cant start Windows 11 VM:

swtpm_setup: Not overwriting existing state file.
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
stopping swtpm instance (pid 557321) due to QEMU startup error
TASK ERROR: start failed: QEMU exited with code 1
----------------------------------------------------------------
The Vm has a standard config file:
bios: ovmf
boot: order=ide0;ide2;net0;ide1
cores: 4
efidisk0: KVM:vm-188-disk-0,efitype=4m,pre-enrolled-keys=1,size=1M
ide0: KVM:vm-188-disk-1,cache=writeback,size=32G,ssd=1
ide1: local:iso/virtio-win-0.1.240.iso,media=cdrom,size=612812K
ide2: local:iso/Win11_English_x64.iso,media=cdrom,size=5369126K
machine: pc-q35-7.2
memory: 8192
meta: creation-qemu=7.2.0,ctime=1698745831
name: Test
net0: virtio=86:85:73:00:6D:5A,bridge=vmbr0,firewall=1
numa: 0
ostype: win11
scsihw: virtio-scsi-pci
smbios1: uuid=d071c97b-6802-499d-a6f2-d5acf73fb288
sockets: 1
tpmstate0: KVM:vm-188-disk-2,size=4M,version=v2.0
vmgenid: 3339b2b4-2a7e-4c55-a41a-c87e27c99a48
-----------------------------------------------------------------------------------------------------

Some ideas ?
Thanks!
 
With machine type q35 you can only have one IDE device per channel, so two IDE devices max in total. Connect the harddisk of the VM as "scsi" and use the virtio drivers ISO to install the virtio scsi driver during Windows install.
 
  • Like
Reactions: gurubert
  • Like
Reactions: yena
@fiona , just to be sure, what is specifically patched? With this patch Q35 will support more than 2 IDE devices or it will not allow to add more than 2 IDE devices to a Q35 VM?
It allows adding up to 4 IDE devices, because now, each device is added as unit=0 on a dedicated bus. Before, ide1 and ide3 would tried to be added as unit=1 of the bus, which works for i440fx, but q35 doesn't support.
 
  • Like
Reactions: yena and VictorSTS

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!