VirtualBox

Opened 15 years ago

Closed 14 years ago

#5037 closed defect (worksforme)

VBoxManage convertfromraw doesn't work as expected

Reported by: ajoe04 Owned by:
Component: VMM/RAW Version: VirtualBox 3.0.6
Keywords: vboxmanage convertfromraw Cc:
Guest type: Windows Host type: Linux

Description

Setup:
Ubuntu 9.04 on an USB-Stick with VirtualBox 3.06 install.
/dev/sda source that should be migrated.
/ANOTHER_USB_DRIVE/OutPutFile.vdi where the target File is located.

From the wiki: http://www.virtualbox.org/wiki/Migrate_Windows[[BR]] I tried the command:

VBoxManage convertfromraw /dev/sda OutPutFile.vdi 120034123776

But this doesn't work, gives the error:
Syntax error: Invalid parameter '120034123776'

What works is:

dd if=/dev/sda | VBoxManage convertfromraw stdin OutPutFile.vdi 120034123776

Please, change the documentation of Migrate_Windows and VBoxManage -help to explain in more detail what to do. And please also allow to use the command
VBoxManage convertfromraw /dev/sda OutPutFile.vdi 120034123776
directly.

Change History (1)

comment:1 by Klaus Espenlaub, 14 years ago

Resolution: worksforme
Status: newclosed

I'm a little confused. The only thing missing on Migrate_Windows was a pretty obvious "convertfromraw" in the VBoxManage command line. It always said what to use if converting from another image or straight from a drive.

The help output of "VBoxManage convertfromraw" always said that the size parameter is only applicable to the variant reading from stdin.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use