9Advanced topics

9.16Configuring the hard disk vendor product data (VPD)

VirtualBox reports vendor product data for its virtual hard disks which consist of hard disk serial number, firmware revision and model number. These can be changed using the following commands:

VBoxManage setextradata "My VM" "VBoxInternal/Devices/ahci/0/Config/Port0/SerialNumber" "serial"

VBoxManage setextradata "My VM" "VBoxInternal/Devices/ahci/0/Config/Port0/FirmwareRevision" "firmware"

VBoxManage setextradata "My VM" "VBoxInternal/Devices/ahci/0/Config/Port0/ModelNumber" "model"

The serial number is a 20 byte alphanumeric string, the firmware revision an 8 byte alphanumeric string and the model number a 40 byte alphanumeric string. Instead of “Port0” (referring to the first port), specify the desired SATA hard disk port.

142

Page 142
Image 142
Sun Microsystems 3.0.0 user manual 16 Configuring the hard disk vendor product data VPD