VirtualBox设置Dell bios

获得BIOS信息后

! /bin/bash
VM_NAME="XP" # Name of your Virtual Machine
VSETED="VBoxManage setextradata $VM_NAME"
CFG_PATH="VBoxInternal/Devices/pcbios/0/Config"
$VSETED $CFG_PATH/DmiBIOSVendor       "Dell Inc."
$VSETED $CFG_PATH/DmiBIOSVersion      "A17"
$VSETED $CFG_PATH/DmiBIOSReleaseDate  "06/13/2007"
$VSETED $CFG_PATH/DmiBIOSReleaseMajor  2
$VSETED $CFG_PATH/DmiBIOSReleaseMinor  4
$VSETED $CFG_PATH/DmiBIOSFirmwareMajor 2
$VSETED $CFG_PATH/DmiBIOSFirmwareMinor 4
$VSETED $CFG_PATH/DmiSystemVendor     "Dell Inc."
$VSETED $CFG_PATH/DmiSystemProduct    "MM061"
$VSETED $CFG_PATH/DmiSystemVersion    "Dell Inc."
$VSETED $CFG_PATH/DmiSystemSerial     "AAAAAAA"
$VSETED $CFG_PATH/DmiSystemUuid       "AAAAAAAA-3400-1057-8048-AAAAAAAAAAAA"
$VSETED $CFG_PATH/DmiSystemFamily     "X86-based PC"

你可能感兴趣的:(XP,bash)