How to add VM from raw file stored on disk

Aug 3, 2020
1
0
6
78
I downloaded a freebsd raw file to directory on the disk ( /var/lib/vz/images/) and cannot find out how to create a new vm from that file using proxmox GUI.

Is there not way to do that?
 
Importing disks will be available in the GUI soon. At the moment, you have to do the following:
  1. Create a new VM in the GUI, say with VM ID 100
  2. Directly remove the disk of that VM in the hardware view of the VM
  3. Run qm importdisk 100 /path/to/your/freebsd/image.raw local, where you can replace local with a storage of your choice. This will add it as unused disk to the VM
  4. Go to the hardware view of the VM, look for the unused disk and double click to attach it
  5. Make sure that the correct boot order is configured in the Options view of the VM
You can find some more information on the migration wiki page and on the qm man page.
 
Last edited:

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!