VirtualBoxPassSMBIOS

From DrewWiki
Jump to navigation Jump to search

Need to see what this section was for from my notes...

VBoxManage setextradata win10 "VBoxInternal/Devices/acpi/0/Config/CustomTable" "/tmp/SLIC"
VBoxManage setextradata win10-vostro "VBoxInternal/Devices/acpi/0/Config/CustomTable" "/DATA/VirtualBox/Machines/win7-vostro/SLIC"

Gather this data from `dmidecode command`. Run the command to set configure in in the <vm-name>.vbox configuration file.

VBoxManage setextradata win10 "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSVendor" "Hewlett-Packard"
VBoxManage setextradata win10 "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSVersion" "68IAV Ver. F.61"
VBoxManage setextradata win10 "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSReleaseDate" "04/07/2015"
VBoxManage setextradata win10 "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSReleaseMajor" 15
VBoxManage setextradata win10 "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSReleaseMinor" 97
VBoxManage setextradata win10 "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSFirmwareMajor" 80
VBoxManage setextradata win10 "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSFirmwareMinor" 31

Gather this data from `dmidecode command`. Run the command to set configure in in the <vm-name>.vbox configuration file.

VBoxManage setextradata win10 "VBoxInternal/Devices/pcbios/0/Config/DmiSystemVendor" "Hewlett-Packard"
VBoxManage setextradata win10 "VBoxInternal/Devices/pcbios/0/Config/DmiSystemProduct" "Get from dmidecode"
VBoxManage setextradata win10 "VBoxInternal/Devices/pcbios/0/Config/DmiSystemVersion" "Get from dmidecode"
VBoxManage setextradata win10 "VBoxInternal/Devices/pcbios/0/Config/DmiSystemSerial" "Get from dmidecode"
VBoxManage setextradata win10 "VBoxInternal/Devices/pcbios/0/Config/DmiSystemFamily" "86-based PC"
VBoxManage setextradata win10 "VBoxInternal/Devices/pcbios/0/Config/DmiSystemUuid" "Get from dmidecode"

Example generated <vmname>.vbox configuration file:

drew@drew-laptop:~/VirtualBox VMs/win10-base$ cat win10-base.vbox
<?xml version="1.0"?>
<!--
** DO NOT EDIT THIS FILE.
** If you make changes to this file while any VirtualBox related application
** is running, your changes will be overwritten later, without taking effect.
** Use VBoxManage or the VirtualBox Manager GUI to make changes.
-->
<VirtualBox xmlns="http://www.virtualbox.org/" version="1.15-linux">
  <Machine uuid="{655c712d-b85f-4cf4-a13f-61e0a1aac4d0}" name="win10-base" OSType="Windows10_64" snapshotFolder="Snapshots" lastStateChange="2017-11-27T04:21:15Z">
    <MediaRegistry>
      <HardDisks>
        <HardDisk uuid="{706a3b56-3316-4aa9-8939-66218b8db38b}" location="win10-base.vdi" format="VDI" type="Normal"/>
      </HardDisks>
      <DVDImages>
        <Image uuid="{63bb1569-8854-4d54-ad89-018fdab0922c}" location="/usr/share/virtualbox/VBoxGuestAdditions.iso"/>
      </DVDImages>
    </MediaRegistry>
    <ExtraData>
      <ExtraDataItem name="GUI/LastCloseAction" value="PowerOff"/>
      <ExtraDataItem name="GUI/LastGuestSizeHint" value="1208,723"/>
      <ExtraDataItem name="GUI/LastNormalWindowPosition" value="325,110,1208,723"/>
      <ExtraDataItem name="GUI/MenuBar/Enabled" value="false"/>
      <ExtraDataItem name="GUI/RestrictedRuntimeMenus" value="Debug"/>
      <ExtraDataItem name="GUI/StatusBar/Enabled" value="false"/>
      <ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/DmiBIOSFirmwareMajor" value="80"/>
      <ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/DmiBIOSFirmwareMinor" value="31"/>
      <ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/DmiBIOSReleaseDate" value="04/07/2015"/>
      <ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/DmiBIOSReleaseMajor" value="15"/>
      <ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/DmiBIOSReleaseMinor" value="97"/>
      <ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/DmiBIOSVendor" value="Hewlett-Packard"/>
      <ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/DmiBIOSVersion" value="68IAV Ver. F.61"/>
      <ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/DmiSystemFamily" value="86-based PC"/>
      <ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/DmiSystemProduct" value="blanked out"/>
      <ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/DmiSystemSerial" value="blanked out"/>
      <ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/DmiSystemUuid" value="blanked out"/>
      <ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/DmiSystemVendor" value="Hewlett-Packard"/>
      <ExtraDataItem name="VBoxInternal/Devices/pcbios/0/Config/DmiSystemVersion" value="blanked out"/>
    </ExtraData>
    <Hardware>
      <CPU count="4">
        <PAE enabled="false"/>
        <LongMode enabled="true"/>
        <HardwareVirtExLargePages enabled="false"/>
      </CPU>
      <Memory RAMSize="4096"/>
      <HID Pointing="USBTablet"/>
      <Paravirt provider="Default"/>
      <Display VRAMSize="256" accelerate3D="true" accelerate2DVideo="true"/>
      <VideoCapture fps="25" options="ac_enabled=false"/>
      <RemoteDisplay enabled="false"/>
      <BIOS>
        <IOAPIC enabled="true"/>
      </BIOS>
      <USB>
        <Controllers>
          <Controller name="XHCI" type="XHCI"/>
        </Controllers>
      </USB>
      <Network>
        <Adapter slot="0" enabled="true" MACAddress="080027C8BBE0" cable="true" type="82540EM">
          <NAT/>
        </Adapter>
      </Network>
      <AudioAdapter controller="HDA" driver="Pulse" enabled="true" enabledIn="false"/>
      <SharedFolders>
        <SharedFolder name="drew" hostPath="/home/drew" writable="false" autoMount="true"/>
      </SharedFolders>
      <Clipboard mode="Bidirectional"/>
      <DragAndDrop mode="Bidirectional"/>
      <GuestProperties>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxControl.exe" value="5.2.0r118431" timestamp="1511756115058796000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxCredProv.dll" value="-" timestamp="1511756115088816000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxDisp.dll" value="-" timestamp="1511756115063026000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxGINA.dll" value="-" timestamp="1511756115088680000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxGuest.sys" value="5.2.0r118431" timestamp="1511756115093796000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxHook.dll" value="5.2.0r118431" timestamp="1511756115062748000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxMRXNP.dll" value="5.2.0r118431" timestamp="1511756115088479000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxMouse.sys" value="5.2.0r118431" timestamp="1511756115094491000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGL.dll" value="-" timestamp="1511756115091528000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLarrayspu.dll" value="-" timestamp="1511756115090401000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLcrutil.dll" value="-" timestamp="1511756115090580000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLerrorspu.dll" value="-" timestamp="1511756115090738000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLfeedbackspu.dll" value="-" timestamp="1511756115091302000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLpackspu.dll" value="-" timestamp="1511756115090975000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLpassthroughspu.dll" value="-" timestamp="1511756115091148000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxSF.sys" value="5.2.0r118431" timestamp="1511756115094891000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxService.exe" value="5.2.0r118431" timestamp="1511756115075609000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxTray.exe" value="5.2.0r118431" timestamp="1511756115074486000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxVideo.sys" value="-" timestamp="1511756115095091000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/HostVerLastChecked" value="5.2.0" timestamp="1511756152059149000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/InstallDir" value="C:/Program Files/Oracle/VirtualBox Guest Additions" timestamp="1511756115050231000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Revision" value="118431" timestamp="1511756115050114000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Version" value="5.2.0" timestamp="1511756115049082000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/VersionExt" value="5.2.0" timestamp="1511756115050023000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/0/MAC" value="080027C8BBE0" timestamp="1511756115110837000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/0/Status" value="Up" timestamp="1511756115110772000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/0/V4/Broadcast" value="255.255.255.255" timestamp="1511756115110647000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/0/V4/IP" value="10.0.2.15" timestamp="1511756115110560000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/0/V4/Netmask" value="255.255.255.0" timestamp="1511756115110706000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/Count" value="1" timestamp="1511756472195004000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/OS/Product" value="Windows 10" timestamp="1511756115048193000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/OS/Release" value="10.0.16299" timestamp="1511756115048448000" flags=""/>
        <GuestProperty name="/VirtualBox/HostInfo/GUI/LanguageID" value="en_US" timestamp="1511756476303456000" flags=""/>
      </GuestProperties>
    </Hardware>
    <StorageControllers>
      <StorageController name="SATA" type="AHCI" PortCount="3" useHostIOCache="false" Bootable="true" IDE0MasterEmulationPort="0" IDE0SlaveEmulationPort="1" IDE1MasterEmulationPort="2" IDE1SlaveEmulationPort="3">
        <AttachedDevice passthrough="false" type="DVD" hotpluggable="false" port="1" device="0">
          <Image uuid="{63bb1569-8854-4d54-ad89-018fdab0922c}"/>
        </AttachedDevice>
        <AttachedDevice nonrotational="true" type="HardDisk" hotpluggable="false" port="0" device="0">
          <Image uuid="{706a3b56-3316-4aa9-8939-66218b8db38b}"/>
        </AttachedDevice>
      </StorageController>
    </StorageControllers>
  </Machine>
</VirtualBox>