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.
VBoxManage converfromraw stdin to a fixed image?
-
baf
- Volunteer
- Posts: 829
- Joined: 27. Sep 2008, 06:18
- Primary OS: Mac OS X Leopard
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: linux,xp,win7
- Location: Luleå or Skellefteå, Sweden
Re: VBoxManage converfromraw stdin to a fixed image?
Code: Select all
sudo dd .... |VBoxManage convertfromraw stdin outf 40000000 --variant FixedSome say: "You learn as long as you live".
My way: "You live as long as you learn".
My way: "You live as long as you learn".