Configuring 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 "VM name"
"VBoxInternal/Devices/ahci/0/Config/Port0/SerialNumber" "serial"
VBoxManage setextradata "VM name"
"VBoxInternal/Devices/ahci/0/Config/Port0/FirmwareRevision" "firmware"
VBoxManage setextradata "VM name"
"VBoxInternal/Devices/ahci/0/Config/Port0/ModelNumber" "model"
注意有ide控制器和achi控制器的区别,上面的是achi的,ide用piix3ide