*.img

tirk

New Member
Sep 24, 2024
29
1
3
Hello, how to load an IMG image disk into the VM?
qm importdisk 100 XXXXXX.img local ???
I don't remember how it was done
 
IMG image

There is no standard expectation of what is inside that file. So there is no standard command that works in any case.

You already tried qm importdisk. Why not show us the output of that command? Also add file XXXXXX.img. (Please use [code]...[/code] for this kind of console output.)

The capabiltities of that import command is documented in man qm, but that one is not easy to grok...

PVE native is pvesm import (and man pvesm) which might also help.
 
There is no standard expectation of what is inside that file. So there is no standard command that works in any case.

You already tried qm importdisk. Why not show us the output of that command? Also add file XXXXXX.img. (Please use [code]...[/code] for this kind of console output.)

The capabiltities of that import command is documented in man qm, but that one is not easy to grok...

PVE native is pvesm import (and man pvesm) which might also help.
qm disk import 111 OPNsense.img local
non-existent or non-regular

I don't know what I'm doing wrong
 
qm disk import 111 OPNsense.img local
non-existent or non-regular

Please copy-n-paste the full unmodified command and the full output here. Use [code]...[/code] for this kind of console output. I am not nitpicking here, we have seen cases where an manual replicate posted was just not what the user did execute.

I am not sure what the error message means, I've never encountered that one.
  • does the file "OPNsense.img" exist? As already requested: I want to see the output of file OPNsense.img
  • does the VM 111 exist? If not: this command imports a file as a new disk into an existing VM. You you need to create it in beforehand of course...
 
Please copy-n-paste the full unmodified command and the full output here. Use [code]...[/code] for this kind of console output. I am not nitpicking here, we have seen cases where an manual replicate posted was just not what the user did execute.

I am not sure what the error message means, I've never encountered that one.
  • does the file "OPNsense.img" exist? As already requested: I want to see the output of file OPNsense.img
  • does the VM 111 exist? If not: this command imports a file as a new disk into an existing VM. You you need to create it in beforehand of course...
If the vm 111 and the img image uploaded in iso images exist locally