Sun Virtualbox User Manual

Page 109

8 VBoxManage reference format Allow to choose a file format for the output file different from the file format of the input file. remember Keep the destination image registered after it was successfully written.

Note: For compatibility with earlier versions of VirtualBox, the “clonevdi” command is also supported and mapped internally to the “clonehd” command.

8.15 VBoxManage convertfromraw (was convertdd) This command converts a raw disk image to a VirtualBox Disk Image (VDI) file. The syntax is as follows: VBoxManage convertfromraw

VBoxManage convertfromraw

[-static] [-format VDI|VMDK|VHD] <filename> <outputfile> stdin [-static] [-format VDI|VMDK|VHD] <outputfile> <bytes>

where the parameters mean: static Create a fixed-sized image. The default is to create a dynamically expanding image. format Select the disk image format to create. Default is VDI. The second form forces VBoxManage to read the content for the disk image from standard input (useful for using that command in a pipe). Note: For compatibility with earlier versions of VirtualBox, the “convertdd” command is also supported and mapped internally to the “convertfromraw” command.

8.16 VBoxManage addiscsidisk The addiscsidisk command attaches an iSCSI network storage unit to VirtualBox. The iSCSI target can then be made available to and used by a virtual machine as though it were a standard write-through virtual disk image. This command has the following syntax:

109


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.