1 | <?xml version='1.0' encoding='UTF-8'?>
|
---|
2 | <!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
|
---|
3 | <topic xml:lang="en-us" id="changedmi">
|
---|
4 | <title>Configuring the BIOS DMI Information</title>
|
---|
5 |
|
---|
6 | <body>
|
---|
7 | <p>The DMI data that <ph conkeyref="vbox-conkeyref-phrases/product-name"/> provides to guests can be changed for a
|
---|
8 | specific VM. Use the following commands to configure the DMI BIOS information. In case your VM is configured to
|
---|
9 | use EFI firmware you need to replace <codeph>pcbios</codeph> by <codeph>efi</codeph> in the keys. </p>
|
---|
10 | <ul>
|
---|
11 | <li>
|
---|
12 | <p>DMI BIOS information (type 0) </p>
|
---|
13 | <pre xml:space="preserve">$ VBoxManage setextradata <varname>VM-name</varname> \
|
---|
14 | "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSVendor" "BIOS Vendor"
|
---|
15 | $ VBoxManage setextradata <varname>VM-name</varname> \
|
---|
16 | "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSVersion" "BIOS Version"
|
---|
17 | $ VBoxManage setextradata <varname>VM-name</varname> \
|
---|
18 | "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSReleaseDate" "BIOS Release Date"
|
---|
19 | $ VBoxManage setextradata <varname>VM-name</varname> \
|
---|
20 | "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSReleaseMajor" 1
|
---|
21 | $ VBoxManage setextradata <varname>VM-name</varname> \
|
---|
22 | "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSReleaseMinor" 2
|
---|
23 | $ VBoxManage setextradata <varname>VM-name</varname> \
|
---|
24 | "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSFirmwareMajor" 3
|
---|
25 | $ VBoxManage setextradata <varname>VM-name</varname> \
|
---|
26 | "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSFirmwareMinor" 4</pre>
|
---|
27 | </li>
|
---|
28 | <li>
|
---|
29 | <p>DMI system information (type 1) </p>
|
---|
30 | <pre xml:space="preserve">$ VBoxManage setextradata <varname>VM-name</varname> \
|
---|
31 | "VBoxInternal/Devices/pcbios/0/Config/DmiSystemVendor" "System Vendor"
|
---|
32 | $ VBoxManage setextradata <varname>VM-name</varname> \
|
---|
33 | "VBoxInternal/Devices/pcbios/0/Config/DmiSystemProduct" "System Product"
|
---|
34 | $ VBoxManage setextradata <varname>VM-name</varname> \
|
---|
35 | "VBoxInternal/Devices/pcbios/0/Config/DmiSystemVersion" "System Version"
|
---|
36 | $ VBoxManage setextradata <varname>VM-name</varname> \
|
---|
37 | "VBoxInternal/Devices/pcbios/0/Config/DmiSystemSerial" "System Serial"
|
---|
38 | $ VBoxManage setextradata <varname>VM-name</varname> \
|
---|
39 | "VBoxInternal/Devices/pcbios/0/Config/DmiSystemSKU" "System SKU"
|
---|
40 | $ VBoxManage setextradata <varname>VM-name</varname> \
|
---|
41 | "VBoxInternal/Devices/pcbios/0/Config/DmiSystemFamily" "System Family"
|
---|
42 | $ VBoxManage setextradata <varname>VM-name</varname> \
|
---|
43 | "VBoxInternal/Devices/pcbios/0/Config/DmiSystemUuid" \
|
---|
44 | "9852bf98-b83c-49db-a8de-182c42c7226b"</pre>
|
---|
45 | </li>
|
---|
46 | <li>
|
---|
47 | <p>DMI board information (type 2) </p>
|
---|
48 | <pre xml:space="preserve">$ VBoxManage setextradata <varname>VM-name</varname> \
|
---|
49 | "VBoxInternal/Devices/pcbios/0/Config/DmiBoardVendor" "Board Vendor"
|
---|
50 | $ VBoxManage setextradata <varname>VM-name</varname> \
|
---|
51 | "VBoxInternal/Devices/pcbios/0/Config/DmiBoardProduct" "Board Product"
|
---|
52 | $ VBoxManage setextradata <varname>VM-name</varname> \
|
---|
53 | "VBoxInternal/Devices/pcbios/0/Config/DmiBoardVersion" "Board Version"
|
---|
54 | $ VBoxManage setextradata <varname>VM-name</varname> \
|
---|
55 | "VBoxInternal/Devices/pcbios/0/Config/DmiBoardSerial" "Board Serial"
|
---|
56 | $ VBoxManage setextradata <varname>VM-name</varname> \
|
---|
57 | "VBoxInternal/Devices/pcbios/0/Config/DmiBoardAssetTag" "Board Tag"
|
---|
58 | $ VBoxManage setextradata <varname>VM-name</varname> \
|
---|
59 | "VBoxInternal/Devices/pcbios/0/Config/DmiBoardLocInChass" "Board Location"
|
---|
60 | $ VBoxManage setextradata <varname>VM-name</varname> \
|
---|
61 | "VBoxInternal/Devices/pcbios/0/Config/DmiBoardBoardType" 10</pre>
|
---|
62 | </li>
|
---|
63 | <li>
|
---|
64 | <p>DMI system enclosure or chassis (type 3) </p>
|
---|
65 | <pre xml:space="preserve">$ VBoxManage setextradata <varname>VM-name</varname> \
|
---|
66 | "VBoxInternal/Devices/pcbios/0/Config/DmiChassisVendor" "Chassis Vendor"
|
---|
67 | $ VBoxManage setextradata <varname>VM-name</varname> \
|
---|
68 | "VBoxInternal/Devices/pcbios/0/Config/DmiChassisType" 3
|
---|
69 | $ VBoxManage setextradata <varname>VM-name</varname> \
|
---|
70 | "VBoxInternal/Devices/pcbios/0/Config/DmiChassisVersion" "Chassis Version"
|
---|
71 | $ VBoxManage setextradata <varname>VM-name</varname> \
|
---|
72 | "VBoxInternal/Devices/pcbios/0/Config/DmiChassisSerial" "Chassis Serial"
|
---|
73 | $ VBoxManage setextradata <varname>VM-name</varname> \
|
---|
74 | "VBoxInternal/Devices/pcbios/0/Config/DmiChassisAssetTag" "Chassis Tag"</pre>
|
---|
75 | </li>
|
---|
76 | <li>
|
---|
77 | <p>DMI processor information (type 4) </p>
|
---|
78 | <pre xml:space="preserve">$ VBoxManage setextradata <varname>VM-name</varname> \
|
---|
79 | "VBoxInternal/Devices/pcbios/0/Config/DmiProcManufacturer" "GenuineIntel"
|
---|
80 | $ VBoxManage setextradata <varname>VM-name</varname> \
|
---|
81 | "VBoxInternal/Devices/pcbios/0/Config/DmiProcVersion" "Pentium(R) III"</pre>
|
---|
82 | </li>
|
---|
83 | <li>
|
---|
84 | <p>DMI OEM strings (type 11) </p>
|
---|
85 | <pre xml:space="preserve">$ VBoxManage setextradata <varname>VM-name</varname> \
|
---|
86 | "VBoxInternal/Devices/pcbios/0/Config/DmiOEMVBoxVer" "vboxVer_1.2.3"
|
---|
87 | $ VBoxManage setextradata <varname>VM-name</varname> \
|
---|
88 | "VBoxInternal/Devices/pcbios/0/Config/DmiOEMVBoxRev" "vboxRev_12345"</pre>
|
---|
89 | </li>
|
---|
90 | </ul>
|
---|
91 | <p>If a DMI string is not set, the default value of <ph conkeyref="vbox-conkeyref-phrases/product-name"/> is used.
|
---|
92 | To set an empty string use <codeph>"<EMPTY>"</codeph>. </p>
|
---|
93 | <p>Note that in the above list, all quoted parameters (DmiBIOSVendor, DmiBIOSVersion but not DmiBIOSReleaseMajor)
|
---|
94 | are expected to be strings. If such a string is a valid number, the parameter is treated as number and the VM will
|
---|
95 | most probably refuse to start with an <codeph>VERR_CFGM_NOT_STRING</codeph> error. In that case, use
|
---|
96 | <codeph>"string:<varname>value</varname>"</codeph>. For example: </p>
|
---|
97 | <pre xml:space="preserve">$ VBoxManage setextradata <varname>VM-name</varname> \
|
---|
98 | "VBoxInternal/Devices/pcbios/0/Config/DmiSystemSerial" "string:1234"</pre>
|
---|
99 | <p>Changing this information can be necessary to provide the DMI information of the host to the guest to prevent
|
---|
100 | Windows from asking for a new product key. On Linux hosts, the DMI BIOS information can be obtained with the
|
---|
101 | following command: </p>
|
---|
102 | <pre xml:space="preserve">$ dmidecode -t0</pre>
|
---|
103 | <p>The DMI system information can be obtained as follows: </p>
|
---|
104 | <pre xml:space="preserve">$ dmidecode -t1</pre>
|
---|
105 | </body>
|
---|
106 |
|
---|
107 | </topic>
|
---|