%all.entities; ]> August 2019 VBoxManage createmedium VBoxManage-createmedium 1 VBoxManage-createmedium create a new medium Oracle VM VirtualBox VBoxManage createmedium disk dvd floppy --filename=filename --size=megabytes --sizebyte=bytes --diffparent= UUID filename --format= VDI VMDK VHD --variant Standard,Fixed,Split2G,Stream,ESX,Formatted Description The VBoxManage createmedium command creates a new medium, such as a disk image file. For compatibility with earlier versions of &product-name;, you can use the createvdi and createhd commands instead of the createmedium command. disk | dvd | floppy Specifies the media type. The default value is disk. Specifies the absolute path name to a file on the host file system. Specifies the image capacity in one megabyte units. Specifies the image capacity in one byte units. Specifies the Universally Unique Identifier (UUID) or absolute path name of a differencing image parent file on the host file system. Use this file to share a base box disk image among VMs. Specifies the file format of the output file. Valid formats are VDI, VMDK, and VHD. The default format is VDI. Specifies the file format variant for the target medium, which is a comma-separated list of variants. Following are the valid values: Standard is the default disk image type, which has a dynamically allocated file size. Fixed uses a disk image that has a fixed file size. Split2G indicates that the disk image is split into 2GB segments. This value is for VMDK only. Stream optimizes the disk image for downloading. This value is for VMDK only. ESX is used for some VMWare products. This value is for VMDK only. Formatted For floppy images only. Formats the medium automatically. Note that not all variant combinations are valid. Specifying incompatible variant values in the list will produce an error message. Examples The following command creates a new disk image file called disk01.vdi. The file size is 1024 megabytes. $ VBoxManage createmedium --filename disk01.vdi --size 1024 The following command creates a new floppy disk image file called floppy01.vdi. The file size is 1 megabyte. $ VBoxManage createmedium floppy --filename floppy01.img --size 1