sky20080101

VirtualBox如何修改BIOS安装OEM版操作系统?

http://forum.ubuntu.org.cn/viewtopic.php?t=152051


解决之道:VirtualBox 配置虚拟机BIOS的方法如下:
VirtualBox帮助文件(9.13. 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:
VBoxManage setextradata "My VM" \
"VBoxInternal/Devices/pcbios/0/Config/DmiBIOSVendor" \
"Host BIOS Vendor"
VBoxManage setextradata "My VM" \
"VBoxInternal/Devices/pcbios/0/Config/DmiBIOSVersion" \
"Host BIOS Version"
VBoxManage setextradata "My VM" \
"VBoxInternal/Devices/pcbios/0/Config/DmiBIOSReleaseDate" \
"Host BIOS Release Date"
VBoxManage setextradata "My VM" \
"VBoxInternal/Devices/pcbios/0/Config/DmiBIOSReleaseMajor" \
1
VBoxManage setextradata "My VM" \
"VBoxInternal/Devices/pcbios/0/Config/DmiBIOSReleaseMinor" \
2
VBoxManage setextradata "My VM" \
"VBoxInternal/Devices/pcbios/0/Config/DmiBIOSFirmwareMajor" \
3
VBoxManage setextradata "My VM" \
"VBoxInternal/Devices/pcbios/0/Config/DmiBIOSFirmwareMinor" \
4
Use the following commands to configure the DMI System information:
VBoxManage setextradata "My VM" \
"VBoxInternal/Devices/pcbios/0/Config/DmiSystemVendor" \
"Host System Vendor"
VBoxManage setextradata "My VM" \
"VBoxInternal/Devices/pcbios/0/Config/DmiSystemProduct" \
"Host System Product Name"
VBoxManage setextradata "My VM" \
"VBoxInternal/Devices/pcbios/0/Config/DmiSystemVersion" \
"Host System Version"
VBoxManage setextradata "My VM" \
"VBoxInternal/Devices/pcbios/0/Config/DmiSystemSerial" \
"Host System Serial"
VBoxManage setextradata "My VM" \
"VBoxInternal/Devices/pcbios/0/Config/DmiSystemUuid" \
"Host System UUID"
VBoxManage setextradata "My VM" \
"VBoxInternal/Devices/pcbios/0/Config/DmiSystemFamily" \
"Host System Family"
If a DMI string is not set, the default value of VirtualBox is used. To set an empty string use "<EMPTY>".
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. On Linux hosts the DMI BIOS information can be obtained with 
dmidecode -t0
and the DMI system information can be obtained with 
dmidecode -t1 


=========================
以HP NC6000为例:

代码:
sudo dmidecode -t1

 

代码:
# dmidecode 2.9
SMBIOS 2.3 present.

Handle 0x0001, DMI type 1, 25 bytes
System Information
        Manufacturer: Hewlett-Packard
        Product Name: HP Compaq nc6000 (PC478US#ABA)  
        Version: F.14                      
        Serial Number: CNU427070N
        UUID: 7F4C6E7F-885B-D911-079C-6D9908205929
        Wake-up Type: Power Switch



修改:

代码:
VBoxManage setextradata "你的虚拟机名称" \
   "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSVendor" \
  "Hewlett-Packard"
VBoxManage setextradata "你的虚拟机名称" \
   "VBoxInternal/Devices/pcbios/0/Config/DmiSystemVendor" \
   "Hewlett-Packard"


其它牌子的机器类似方法。

_________________
HP Compaq NC6000
迅驰1.6G/512M-333/40G/无线/Ati M9600/14.1TFT 高分屏
Linux ubuntu 2.6.22-15-generic #1 SMP Tue Oct 21 23:47:12 GMT 2008 i686 GNU/Linux ->
Linux ubuntu 2.6.27-08-generic #1 SMP Thu Nov 6 17:33:54 UTC 2008 i686 GNU/Linux 

 

分类:

技术点:

相关文章:

  • 2021-12-07
  • 2021-12-06
  • 2021-07-14
  • 2021-10-03
  • 2022-02-08
  • 2021-11-09
  • 2021-07-14
猜你喜欢
  • 2022-12-23
  • 2021-06-07
  • 2021-12-06
  • 2021-12-17
  • 2021-11-17
  • 2021-05-15
  • 2021-10-17
相关资源
相似解决方案