Page 1 of 1

VBoxManage converfromraw stdin to a fixed image?

Posted: 18. Aug 2009, 02:30
by haceat
When I do:
#sudo dd if=/dev/sda count=1000000 | VBoxManage convertfromraw stdin myimage.vdi 512000000

It works fine but creates a dynamic image. If I add "--variant Fixed" then it quickly gives:

Creating fixed image with size 512000000 bytes (512MB)...
Error while creating the disk image "myimage.vdi": VERR_INVALID_PARAMETER

So the message shows that it tried to create a fixed rather than dynamic image, but it always gives this VERR_INVALID_PARAMETER message.

Is it possible to use convertfromraw stdin AND make a fixed image? If so, how?

Thanks.

Re: VBoxManage converfromraw stdin to a fixed image?

Posted: 18. Aug 2009, 07:36
by baf

Code: Select all

sudo dd .... |VBoxManage convertfromraw   stdin outf 40000000  --variant Fixed
Seems to work for me. Exactly how do you call it and what your VBox Version?