On Mon, Oct 23, 2023 at 03:53:37PM +0000, Maximilian Kirschner wrote:
Is it possible that this error occcurs because my root partition is encryped with LUKS. If the virtual file system tries to mount the /root of my host system, this will not work. Is this the case? Does libguestfs mount the /root of the host system? And if so, do you know a workaround for systems with encrypted disks?
It's not to do with LUKS. Just about everyone uses LUKS and libguestfs works fine. It's a bug in the Ubuntu package, try:
I'm afraid looks like however libguestfs was built, it is severly broken. You might want to file an Ubuntu bug if it's the official package, or else try rebuilding the dpkg from source and see if that works.
Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v