8 VBoxManage 8.22 VBoxManage clonehd This command duplicates a registered virtual hard disk image to a new image file with a new unique identifier (UUID). The new image can be transferred to another host system or imported into VirtualBox again using the Virtual Media Manager see chapter 5.3, The Virtual Media Man- ager, page 74 and chapter 5.6, Cloning disk images, page 79. The syntax is as follows: VBoxManage clonehd uuid|filename outputfile [--format VDI|VMDK|VHD|RAW|other] [--variant Standard,Fixed,Split2G,Stream,ESX] [--existing] where the parameters mean: format Allow to choose a file format for the output file different from the file format of the input file. variant Allow to choose a file format variant for the output file. It is a comma-separated list of variant flags. Not all combinations are supported, and specifying inconsistent flags will result in an error message. existing Perform the clone operation to an already existing destination medium. Only the por- tion of the source medium which fits into the destination medium is copied. This means if the destination medium is smaller than the source only a part of it is copied, and if the destination medium is larger than the source the remaining part of the destination medium is unchanged. Note: For compatibility with earlier versions of VirtualBox, the “clonevdi” command is also supported and mapped internally to the “clonehd” command. 8.23 VBoxManage convertfromraw This command converts a raw disk image to a VirtualBox Disk Image (VDI) file. The syntax is as follows: VBoxManage convertfromraw filename outputfile [--format VDI|VMDK|VHD] [--variant Standard,Fixed,Split2G,Stream,ESX] VBoxManage convertfromraw stdin outputfile bytes [--format VDI|VMDK|VHD] [--variant Standard,Fixed,Split2G,Stream,ESX] where the parameters mean: format Select the disk image format to create. Default is VDI. variant Allow to choose a file format variant for the output file. It is a comma-separated list of variant flags. Not all combinations are supported, and specifying inconsistent flags will result in an error message. 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. 124
Previous Page Next Page