VirtualBox

Ticket #5037 (closed defect: worksforme)

Opened 5 years ago

Last modified 4 years ago

VBoxManage convertfromraw doesn't work as expected

Reported by: ajoe04 Owned by:
Priority: major 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

comment:1 Changed 4 years ago by klaus

  • Status changed from new to closed
  • Resolution set to worksforme

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.

www.oracle.com
ContactPrivacy policyTerms of Use