I have a qcow2 image file that contains a Luks encrypted LVM volume. This VM doesn't have (I don't want it to have) any internet connectivity, so, when I start it, I use "-nic none" but I need to send a file into this vm. So, the option was to use "guestmount" to be able to mount the image and put the files somewere inside the mounted image!
Now, when I use the following command:
Code: Select all
$ sudo guestmount -a Storage/Software/Linux/LinuxVirtPool/Debian-10.0.0 --key "ID":key:my_paintext_password -m /dev/sda5 /media/psysc0rpi0n/tmpmount/
Code: Select all
libguestfs: error: mount_options: mount exited with status 32: mount: /sysroot: unknown filesystem type 'crypto_LUKS'.
guestmount: ‘/dev/sda5’ could not be mounted.
guestmount: Did you mean to mount one of these filesystems?
guestmount: /dev/sda1 (ext2)