Working on Linux Mint 18.1, VirtualBox 5.0.40_Ubuntu.
I have a VDI file from a VirtualBox VM:
~/VirtualBox\ VMs/Win10x64/Win10x64.vdi
I've taken a Snapshot:
~/VirtualBox\ VMs/Win10x64/Snapshots/{GUID}.vdi
I want to mount the guest's HDD **from the snapshot**.
I can successfully mount the base VDI using
qemu-nbd
:
qemu-nbd -c /dev/nbd0 ~/VirtualBox\ VMs/Win10x64/Win10x64.vdi
But if I try with the Snapshot file:
qemu-nbd -c /dev/nbd0 ~/VirtualBox\ VMs/Win10x64/Snapshots/{GUID}.vdi
it fails with:
unsupported VDI image (non-NULL link UUID)
I did notice the --snapshot
parameter for qemu-nbd
but this doesn't seem to be the right thing.
How can I mount the HDD as it is in the snapshot?
**Edit #1**
I've also tried vdfuse
, but again, doesn't seem to be any way of "applying" the differencing disk.
Asked by Bridgey
(203 rep)
May 12, 2017, 02:24 PM
Last activity: May 6, 2025, 03:10 AM
Last activity: May 6, 2025, 03:10 AM