VBoxManage converfromraw stdin to a fixed image?
Posted: 18. Aug 2009, 02:30
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.
#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.