vbox-img convert Snapshot: VERR_VD_INVALID_TYPE

Discussions related to using VirtualBox on Linux hosts.
Post Reply
940607
Posts: 57
Joined: 24. Sep 2012, 10:32
Primary OS: MS Windows 10
VBox Version: OSE other
Guest OSses: Archlinux
Location: Russia

vbox-img convert Snapshot: VERR_VD_INVALID_TYPE

Post by 940607 »

Hi.
I need to pipe a snapshot image using raw output format. The only tool that supports writing to stdout is vbox-img, but it cannot open snapshot images.
VBoxManage can open snapshot images, but it cannot pipe them.

I'm stuck, please help.

Code: Select all

[vboxuser@ok-1t Snapshots]$ vbox-img convert --srcfilename "{5b2b311d-c9ab-4c3b-94ff-0791b9cd3004}.vdi" --stdout --srcformat VDI --dstformat RAW >/dev/null
vbox-img: error: Error while opening source image: Invalid image type. (VERR_VD_INVALID_TYPE)
Post Reply