![](https://seccdn.libravatar.org/avatar/49cb915af8be4fe9eab238c594dee035.jpg?s=120&d=mm&r=g)
Am 09.02.21 um 15:08 schrieb Michael Kasimir:
Hi,
In VirtualBox:
i do not work with virtual box, always use qemu/kvm + virtmanager. but as i know qemu tools should be able to c onvert a virtualbox image to a qcow or raw image, both is easy to mount in linux, then you are able to copy files in, then (if virtual box did not work with raw images) you have to convert back, or start it with virt manager + qemu. here some commands to gave you a idea: =================================== first of all STOP your emulation!! then: ========================================= convert a image with qemu-img maybe look here: https://dannyda.com/2020/06/25/how-to-use-qemu-img-command-to-convert-betwee... =========================================== mounting a qcow image: modprobe nbd max_part=8 qemu-nbd --connect=/dev/nbd0 db1_old.qcow2 # as example, mount first partition mount /dev/nbd0p1 /mnt/ release the image: umount /mnt/ qemu-nbd --disconnect /dev/nbd0 =========================================== mount a raw image / raw disk: losetup -f /dev/loop0 losetup -P /dev/loop0 yourimage.img fdisk -l /dev/loop0 from this output look what partition you want to mount: (here second partition): mount /dev/loop0p2 /path/to/emty/directory/ copy now something in or out umount /path/to/emty/directory/ losetup -d /dev/loop0 ================================== start your emulation ================================== simoN -- www.becherer.de