Score:0

How to start a Proxmox VM on Windows w/ Qemu

sa flag

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

Nikita Kipriyanov avatar
za flag
On the Proxmox VE, you can figure out the exact command it uses to run the VM: `qm showcmd <vmid>`. You can then adapt this command to your environment.
Marco Alka avatar
sa flag
@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
Score:1
za flag

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.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.