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
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.
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.