File: changevpd.dita

package info (click to toggle)
virtualbox 7.1.12-dfsg-2
  • links: PTS, VCS
  • area: contrib
  • in suites: sid
  • size: 565,672 kB
  • sloc: ansic: 2,330,854; cpp: 2,193,228; asm: 230,777; python: 223,895; xml: 86,771; sh: 25,541; makefile: 8,158; perl: 5,697; java: 5,337; cs: 4,872; pascal: 1,782; javascript: 1,692; objc: 1,131; lex: 931; php: 906; sed: 899; yacc: 707
file content (42 lines) | stat: -rw-r--r-- 2,840 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic xml:lang="en-us" id="changevpd">
  <title>Configuring the Hard Disk Vendor Product Data (VPD)</title>
  
  <body>
    <p><ph conkeyref="vbox-conkeyref-phrases/product-name"/> 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: </p>
    <pre xml:space="preserve">$ VBoxManage setextradata <varname>VM-name</varname> \
"VBoxInternal/Devices/ahci/0/Config/Port0/SerialNumber" "serial"
$ VBoxManage setextradata <varname>VM-name</varname> \
"VBoxInternal/Devices/ahci/0/Config/Port0/FirmwareRevision" "firmware"
$ VBoxManage setextradata <varname>VM-name</varname> \
"VBoxInternal/Devices/ahci/0/Config/Port0/ModelNumber" "model"</pre>
    <p>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
            required SATA hard disk port. </p>
    <p>The above commands apply to virtual machines with an AHCI (SATA) controller. The commands for virtual machines
            with an IDE controller are: </p>
    <pre xml:space="preserve">$ VBoxManage setextradata <varname>VM-name</varname> \
"VBoxInternal/Devices/piix3ide/0/Config/PrimaryMaster/SerialNumber" "serial"
$ VBoxManage setextradata <varname>VM-name</varname> \
"VBoxInternal/Devices/piix3ide/0/Config/PrimaryMaster/FirmwareRevision" "firmware"
$ VBoxManage setextradata <varname>VM-name</varname> \
"VBoxInternal/Devices/piix3ide/0/Config/PrimaryMaster/ModelNumber" "model"</pre>
    <p>For hard disks, you can mark the drive as having a nonrotational medium by using the following command: </p>
    <pre xml:space="preserve">$ VBoxManage setextradata <varname>VM-name</varname> \
"VBoxInternal/Devices/ahci/0/Config/Port0/NonRotational" "1"</pre>
    <p>Additional three parameters are needed for CD/DVD drives to report the vendor product data: </p>
    <pre xml:space="preserve">$ VBoxManage setextradata <varname>VM-name</varname> \
"VBoxInternal/Devices/ahci/0/Config/Port0/ATAPIVendorId" "vendor"
VBoxManage setextradata <varname>VM-name</varname> \
"VBoxInternal/Devices/ahci/0/Config/Port0/ATAPIProductId" "product"
VBoxManage setextradata <varname>VM-name</varname> \
"VBoxInternal/Devices/ahci/0/Config/Port0/ATAPIRevision" "revision"</pre>
    <p>The vendor id is an 8 byte alphanumeric string, the product id an 16 byte alphanumeric string and the revision a
            4 byte alphanumeric string. Instead of Port0, referring to the first port, specify the required SATA hard
            disk port. </p>
  </body>
  
</topic>