0

I'm trying to start a Proxmox VM using the qcow2 image on Windows using Qemu, however I can't figure out the correct parameters to start the machine.

Based on my settings in the Proxmox Web UI:

Serrver settings screenshot taken from Proxmox Web UI

I tried to run this CLI snippet:

PS > .\qemu-system-x86_64.exe -bios ./share/OVMF.fd -hda ./image/vm-103-disk-0.qcow2 -hdb ./image/vm-103-disk-1.qcow2 -machine type=q35

However, I'm stuck on a black screen:

enter image description here

Maru
  • 183
  • 1
  • 1
  • 8
  • 1
    On the Proxmox VE, you can figure out the exact command it uses to run the VM: `qm showcmd `. You can then adapt this command to your environment. – Nikita Kipriyanov Jan 29 '23 at 15:27
  • @NikitaKipriyanov If you wrote it as an answer, I'd have chosen it as the solution! I've been searching for exactly that and now it works! Thank you – Maru Jan 29 '23 at 16:22

1 Answers1

1

On the Proxmox VE, you can figure out the exact command it uses to run the VM:

qm showcmd <vmid>

(see the manual page)

You can then adapt this command to your environment. Things which likely need to be changed:

  • The storage back-end configuration
  • The networking settings
  • In Windows, all sockets have to be replaced with TCP listeners, at least VNC and QEMU Guest Agent socket. In other systems, at least you will need to update their path locations.
Nikita Kipriyanov
  • 10,947
  • 2
  • 24
  • 45