Mounting Windows VM volume in another VM

Hi,

A windows update borked my Windows VM, and now it won´t start properly anymore, even in restore or safe mode. I have restored a backup of the Windows VM, however it is a little old. I would now like to mount the volume of the borked volume to the restored windows vm (debian/fedora appvm would be fine as well, but I guess it would be easier to do in a windows vm with out of the box filesystem support) in order to get access to newer files that weren’t in the backup. However I have no idea how to do this. Can anyone help me?

in dom0:
sudo losetup -f /dev/qubes_dom0/vm-YOURWINDOWSVMNAME-root

it should give you a new block device called /dev/dm-XX that you can attach to other VMs like any other disk. Make a backup first. Good luck!

2 Likes

That worked, thanks a lot!