[SOLVED] Problem importing qcow2 to proxmox

1nspy

New Member
Oct 31, 2020
8
2
3
35
Hello,

Currently, on my PC, I have a VM standing in VirtualBox. My main goal is to import this one to my Proxmox server. But it seems that I am not able to do that :/.
I exported the VM to OVF 1.0 Format and extracted the .ova file.
1604171739103.png
I sent the ".vmdk" to my proxmox server, and imported the VM thanks to this command :
Code:
qm importdisk 101 PrivEsc-Linux-disk001.vmdk Local_Main -format qcow2
...
Successfully imported disk as 'unused0:Local_Main:vm-101-disk-0'

Then, on proxmox web interface, I activated the Hard Disk :

1604172248897.png


Then, when I start the VM, I cannot boot, and it loops :
1604172358789.png

Do you have any idea of what's happening ?

Thanks a lot.
 
I found the problem...
In Options menu -> Boot Order = scsi1 ... and that boot.

Sorry ^^
 
Last edited:
Great that you could solve it!

For potential future migrations, note that there is
  • qm importdisk - import a single disk image to a PVE VM
  • qm importovf - tries to recreate the whole VM automatically, including multiple disks
So if you have an .OVF file, you could use the second command to have less manual work and headache :)