How to run qcow2 file in proxmox

ameyanetworks

New Member
May 18, 2020
3
0
1
44
Hi,

I very new to Proxmox and am trying to create a VM with .qcow2 file. Can anyone suggest how to do this?
 
hi,

create an empty VM and use:

Code:
       qm importdisk <vmid> <source> <storage> [OPTIONS]

       Import an external disk image as an unused disk in a VM. The image format has to be supported by qemu-img(1).

       <vmid>: <integer> (1 - N)
           The (unique) ID of the VM.

       <source>: <string>
           Path to the disk image to import

       <storage>: <string>
           Target storage ID

       --format <qcow2 | raw | vmdk>
           Target format

example: qm importdisk 100 /path/to/your/qcow2/file local --format qcow2
 
Hi Oguz,

Thanks for your support, I have imported the file and can you please suggest what needs to be done next? because when am trying to boot it is saying no boot device found.

Regards,
Ramki (Ameya Networks)
 
in the VM options part of the GUI, there should be "Boot Order". in there select the imported disk as the first boot option and then you should be able to boot it
 

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!