beautypg.com

14 vboxmanage showhdinfo, 15 vboxmanage createhd, Vboxmanage createhd – Sun Microsystems VIRTUALBOX VERSION 3.1.0_BETA2 User Manual

Page 125

background image

8 VBoxManage reference

storagectl

Name of the storage controller. Mandatory.

port

Port number to which the medium has to be attached/detached/modified.

Mandatory.

device

Device Number to which the medium has to be attached/detached/modified.

Mandatory.

type

Define the type of the drive to which the medium is being attached/detached/modified.

medium

Allows to specify if the DVD/Floppy drive or Harddisk is to be completly

detached (none) or just an empty DVD/Floppy drive needs to be attached (emp-
tydrive). If uuid, filename or host: is specified then it is attached to the
storage controller at the specified port and device number.

passthrough

With this, you can enable DVD writing support (currently experimental;

see chapter

5.7

,

Writing CDs and DVDs using the host drive

, page

85

).

forceunmount

If this option is specified then you can unmount the DVD/CD/Floppy

or mount a new DVD/CD/Floppy even if the previous one is locked down by the
guest for reading.

Note: The option “–medium none” doesn’t work when the VM is running
because you can’t remove DVD/Floppy Drives or Harddisks when the VM is
running.

8.14 VBoxManage showhdinfo

This command shows information about a virtual hard disk image, notably its size, its
size on disk, its type and the VM it is in use by.

Note: For compatibility with earlier versions of VirtualBox, the “showvdiinfo”
command is also supported and mapped internally to the “showhdinfo” com-
mand.

8.15 VBoxManage createhd

This command creates a new virtual hard disk image. The syntax is as follows:

125