Project

General

Profile

Support #489

Updated by Daniel Curtis over 9 years ago

h2. Configuring the BIOS DMI information 

 The DMI data VirtualBox provides to guests can be changed for a specific VM. Use the following commands to configure the DMI BIOS information. In case your VM is configured to use EFI firmware you need to replace pcbios by efi in the keys. 

 h3. DMI BIOS information (type 0) 

 * The following commands configure a VM for type 0 emulation 
 <pre> 
 VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSVendor" "BIOS Vendor" 
 VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSVersion" "BIOS Version" 
 VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSReleaseDate" "BIOS Release Date" 
 VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSReleaseMajor"    1 
 VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSReleaseMinor"    2 
 VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSFirmwareMajor" 3 
 VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSFirmwareMinor" 4 
 </pre> 

 h3. DMI system information (type 1) 

 * The following commands configure a VM for type 1 emulation 
 <pre> 
 VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiSystemVendor" "System Vendor" 
 VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiSystemProduct" "System Product" 
 VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiSystemVersion" "System Version" 
 VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiSystemSerial" "System Serial" 
 VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiSystemSKU" "System SKU" 
 VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiSystemFamily" "System Family" 
 VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiSystemUuid" "9852bf98-b83c-49db-a8de-182c42c7226b" 
 </pre> 

 h3. DMI board information (type 2) 

 * The following commands configure a VM for type 2 emulation 
 <pre> 
 VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiBoardVendor" "Board Vendor" 
 VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiBoardProduct" "Board Product" 
 VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiBoardVersion" "Board Version" 
 VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiBoardSerial" "Board Serial" 
 VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiBoardAssetTag" "Board Tag" 
 VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiBoardLocInChass" "Board Location" 
 VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiBoardBoardType" 10 
 </pre> 

 h3. DMI system enclosure or chassis (type 3) 

 * The following commands configure a VM for type 3 emulation 
 <pre> 
 VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiChassisVendor" "Chassis Vendor" 
 VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiChassisType" 3 
 VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiChassisVersion" "Chassis Version" 
 VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiChassisSerial" "Chassis Serial" 
 VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiChassisAssetTag" "Chassis Tag" 
 </pre> 

 h3. DMI processor information informatiion (type 4) 

 * The following commands configure a VM for type 4 emulation 
 <pre> 
 VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiProcManufacturer" "GenuineIntel" 
 VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiProcVersion" "Pentium(R) III" 
 </pre> 

 h3. DMI OEM strings (type 11) 

 * The following commands configure a VM for type 11 emulation 
 <pre> 
 VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiOEMVBoxVer" "vboxVer_1.2.3" 
 VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiOEMVBoxRev" "vboxRev_12345" 
 </pre> 

 If a DMI string is not set, the default value of VirtualBox is used. To set an empty string use "<EMPTY>". 

 Note that in the above list, all quoted parameters (DmiBIOSVendor, DmiBIOSVersion but not DmiBIOSReleaseMajor) are expected to be strings. If such a string is a valid number, the parameter is treated as number and the VM will most probably refuse to start with an VERR_CFGM_NOT_STRING error. In that case, use "string:<value>", for instance 
 <pre> 
 VBoxManage setextradata "VM name" "VBoxInternal/Devices/pcbios/0/Config/DmiSystemSerial" "string:1234" 
 </pre> 

 Changing this information can be necessary to provide the DMI information of the host to the guest to prevent Windows from asking for a new product key.  

 h2. Acquiring DMI information 

 * On Linux hosts the DMI BIOS information can be obtained with 
 <pre> 
 dmidecode -t0 
 </pre> 
 #* Example output: 
 <pre> 
 # dmidecode 2.12 
 SMBIOS 2.3 present. 

 Handle 0x0000, DMI type 0, 20 bytes 
 BIOS Information 
	 Vendor: American Megatrends Inc. 
	 Version: 1009.005                 
	 Release Date: 09/20/2005    EMAXS 
	 Address: 0xF0000 
	 Runtime Size: 64 kB 
	 ROM Size: 512 kB 
	 Characteristics: 
		 ISA is supported 
		 PCI is supported 
		 PNP is supported 
		 APM is supported 
		 BIOS is upgradeable 
		 BIOS shadowing is allowed 
		 ESCD support is available 
		 Boot from CD is supported 
		 Selectable boot is supported 
		 BIOS ROM is socketed 
		 EDD is supported 
		 5.25"/1.2 MB floppy services are supported (int 13h) 
		 3.5"/720 kB floppy services are supported (int 13h) 
		 3.5"/2.88 MB floppy services are supported (int 13h) 
		 Print screen service is supported (int 5h) 
		 8042 keyboard services are supported (int 9h) 
		 Serial services are supported (int 14h) 
		 Printer services are supported (int 17h) 
		 CGA/mono video services are supported (int 10h) 
		 ACPI is supported 
		 USB legacy is supported 
		 AGP is supported 
		 LS-120 boot is supported 
		 ATAPI Zip drive boot is supported 
		 BIOS boot specification is supported 
 </pre> 

 * And the DMI system information can be obtained with 
 <pre> 
 dmidecode -t1 
 </pre> 
 #* Example output: 
 <pre> 
 # dmidecode 2.12 
 SMBIOS 2.3 present. 

 Handle 0x0001, DMI type 1, 25 bytes 
 System Information 
	 Manufacturer: ASUSTeK Computer Inc. 
	 Product Name: K8V-MX 
	 Version:                      
	 Serial Number:                        
	 UUID: 8051E622-8EFE-E511-81A3-01F1D8C8E15F 
	 Wake-up Type: PCI PME# 
 </pre> 

 * And the DMI board information can be obtained with 
 <pre> 
 dmidecode -t2 
 </pre> 
 #* Example output: 
 <pre> 
 # dmidecode 2.12 
 SMBIOS 2.3 present. 

 Handle 0x0002, DMI type 2, 8 bytes 
 Base Board Information 
	 Manufacturer: ASUSTeK Computer Inc. 
	 Product Name: K8V-MX 
	 Version: Rev 1.XX 
	 Serial Number:              
 </pre>  

 * And the DMI system enclosure or chassis can be obtained with 
 <pre> 
 dmidecode -t3 
 </pre> 
 #* Example output: 
 <pre> 
 # dmidecode 2.12 
 SMBIOS 2.3 present. 

 Handle 0x0003, DMI type 3, 17 bytes 
 Chassis Information 
	 Manufacturer: emaxs 
	 Type: Mini Tower 
	 Lock: Not Present 
	 Version: SCEP 
	 Serial Number:                  
	 Asset Tag:                        
	 Boot-up State: Safe 
	 Power Supply State: Safe 
	 Thermal State: Safe 
	 Security Status: None 
	 OEM Information: 0x00000001 
 </pre> 

 * And the DMI processor information can be obtained with 
 <pre> 
 dmidecode -t4 
 </pre> 
 #* Example output: 
 <pre> 
 # dmidecode 2.12 
 SMBIOS 2.3 present. 

 Handle 0x0004, DMI type 4, 35 bytes 
 Processor Information 
	 Socket Designation: Socket 754 
	 Type: Central Processor 
	 Family: Athlon 64 
	 Manufacturer: AMD               
	 ID: C6 0F 02 20 AF FB 8B 17 
	 Signature: Family 15, Model 44, Stepping 2 
	 Flags: 
		 FPU (Floating-point unit on-chip) 
		 VME (Virtual mode extension) 
		 DE (Debugging extension) 
		 PSE (Page size extension) 
		 TSC (Time stamp counter) 
		 MSR (Model specific registers) 
		 PAE (Physical address extension) 
		 MCE (Machine check exception) 
		 CX8 (CMPXCHG8 instruction supported) 
		 APIC (On-chip APIC hardware supported) 
		 SEP (Fast system call) 
		 MTRR (Memory type range registers) 
		 PGE (Page global enable) 
		 MCA (Machine check architecture) 
		 CMOV (Conditional move instruction supported) 
		 PAT (Page attribute table) 
		 PSE-36 (36-bit page size extension) 
		 CLFSH (CLFLUSH instruction supported) 
		 MMX (MMX technology supported) 
		 FXSR (FXSAVE and FXSTOR instructions supported) 
		 SSE (Streaming SIMD extensions) 
		 SSE2 (Streaming SIMD extensions 2) 
	 Version: AMD Sempron(tm) Processor 3400+                      
	 Voltage: 1.5 V 
	 External Clock: 200 MHz 
	 Max Speed: 2200 MHz 
	 Current Speed: 2000 MHz 
	 Status: Populated, Enabled 
	 Upgrade: Socket 754 
	 L1 Cache Handle: 0x0005 
	 L2 Cache Handle: 0x0006 
	 L3 Cache Handle: Not Provided 
	 Serial Number: To Be Filled By O.E.M. 
	 Asset Tag: To Be Filled By O.E.M. 
	 Part Number: To Be Filled By O.E.M. 
 </pre> 

 * And the DMI OEM strings can be obtained with 
 <pre> 
 dmidecode -t11 
 </pre> 
 #* Example output: 
 <pre> 
 # dmidecode 2.12 
 SMBIOS 2.3 present. 

 Handle 0x002D, DMI type 11, 5 bytes 
 OEM Strings 
	 String 1: ASUSTeK Computer Inc. 
	 String 2:                 
	 String 3: 011BD8C8E25D 
 </pre> 

 h2. Resources 

 * https://www.virtualbox.org/manual/ch09.html#changedmi

Back