Virtualbox Modifying the serial number of the hard drive, etc. example

Source: Internet
Author: User

Recently installed a software for research, you need to use the hard drive serial number to verify. Before the other server has been installed, if you can change the current hard disk's serial number and the original server's hard disk to match the lack of a lot of registration-related trouble. According to this idea, I found it in VBox's help.

9.5.3. Configuring the hard disk Vendor product data (VPD)
VirtualBox reports vendor product data for it virtual hard disks which consist of hard disk serial
Number, firmware revision and model number. These can changed using the following commands:
Change serial number
Vboxmanage setextradata "My VM" "Vboxinternal/devices/ahci/0/config/port0/serialnumber" "Serial"
Change firmware version
Vboxmanage setextradata "My VM" "Vboxinternal/devices/ahci/0/config/port0/firmwarerevision" "firmware"
Change supplier information
Vboxmanage setextradata "My VM" "Vboxinternal/devices/ahci/0/config/port0/modelnumber" "Model"

The above command is for the SATA interface hard disk, "My VM" is the name of the virtual machine, the AHCI table is the type of the hard disk, Port0 represents the first hard disk.  If the IDE interface uses Primarymaster, Primaryslave, etc. to identify the hard disk, the type is piix3ide. For IDE interface Commands:

Vboxmanage setextradata "XP" "vboxinternal/devices/piix3ide/0/config/primarymaster/serialnumber "" 9ac00e9f "
Command meaning: Modify the virtual machine IDE's primary hard drive with the serial number 9ac00e9f

--------------------------------------------------------------------------------------------------------------- -------------==--

The above pro-test is feasible, but below. Virtualbox/machines/xp/xp. The XML file does not know where to find it. If any of the pro know, comment under tell me, thank you!!!

--------------------------------------------------------------------------------------------------------------- ----------------

After the command is executed, the configuration file corresponding to the virtual machine is modified. Virtualbox/machines/xp/xp. XML ", the corresponding settings are added under the <ExtraData> node, so you can actually modify the configuration file directly without the command, and the effect is the same.

<ExtraData>

<extradataitem name= "Gui/autoresizeguest" value= "on"/>

<extradataitem name= "Gui/fullscreen" value= "Off"/>

<extradataitem name= "gui/lastcloseaction" value= "PowerOff"/>

<extradataitem name= "gui/lastwindowpostion" value= "239,49,1024,816"/>

<extradataitem name= "gui/minitoolbaralignment" value= "Bottom"/>

<extradataitem name= "Gui/minitoolbarautohide" value= "on"/>

<extradataitem name= "Gui/savemountedatruntime" value= "yes"/>

<extradataitem name= "gui/seamless" value= "Off"/>

<extradataitem name= "Gui/showminitoolbar" value= "yes"/>

<extradataitem name= "Vboxinternal/devices/piix3ide/0/config/primaryslave/serialnumber" value= "9AC00E9F"/ >

</ExtraData>

Virtualbox Modifying the serial number of the hard drive, etc. example

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.