Oracle VirtualBox Problem Solving case

Source: Internet
Author: User

Oracle VirtualBox Problem Solving case

1. When the VM is turned on, the hard disk UUID already exists:
Error message:

Cannot register the hard disk 'f: \ VirtualBox VMs \ cl-11r2-rac2 \ cl-11r2-rac2.vdi '{cc59aac5-a2e6-4f39-b441-04d1ff29acd2} because a hard disk' F: \ VirtualBox VMs \ cl-11r2-rac1 \ cl-11r2-rac1.vdi 'with UUID {cc59aac5-a2e6-4f39-b441-04d1ff29acd2} already exists.

Solution:

Go to the installation directory of cmd cd to VirtualBox:

Cd C: \ Program Files \ Oracle \ VirtualBox

Specify the physical file (vbox Virtual Disk File) and run the following command:

VBoxManage internalcommands sethduuid "F: \ VirtualBox VMs \ cl-11r2-rac2 \ cl-11r2-rac2.vdi"
UUID changed to: 7db19c60-8c71-456b-a81c-d263a4988230

After the change is successful, delete * in the vbox Virtual Disk File directory *. vbox-prev file and C: \ Users \ Administrator \. virtualBox in VirtualBox. xml and VirtualBox. xml-prev file, use NotePad to open *. modify the following information in the vbox file:

<MediaRegistry>
<HardDisks>
<HardDisk uuid = "{bfdcadf6-b88d-4224-a5ff-673f1ca3f413}" location = "cl-11r2-rac2.vdi" format = "VDI" type = "Normal"/>
Changed:
<HardDisk uuid = "{7db19c60-8c71-456b-a81c-d263a4988230}" location = "cl-11r2-rac2.vdi" format = "VDI" type = "Normal"/>
</HardDisks> <DVDImages/> <FloppyImages/>
</MediaRegistry>

Locate the </StorageControllers> node.
<AttachedDevice type = "HardDisk" port = "0" device = "0">
<Image uuid = "{bfdcadf6-b88d-4224-a5ff-673f1ca3f413}"/> to: <Image uuid = "{7db19c60-8c71-456b-a81c-d263a4988230}"/>
</AttachedDevice>

When there are multiple disks, pay attention to the disk sequence. Generally, the port of the VM's primary disk is "0 ";
Delete C: \ Users \ Administrator \. virtualBox in VirtualBox. xml and VirtualBox. xml-prev file, because by default, the virtual machine will read these two files when opening, update and synchronize *. vbox and *. the vbox-prev file will overwrite the modified content and the modification will be invalid.

VirtualBox modifies the Virtual Machine disk VDI size

How to solve 0x000000C4 error in Windows 8.1 installation in VirtualBox

Use Virtualbox in Ubuntu 12.10 to install Win7

Complete Windows XP installation using VirtualBox Virtual Machine in Ubuntu

Install Ubuntu 13.10 On VirtualBox Virtual Machine

Install the Virtual Machine Software VirtualBox 4.3.10 on Ubuntu

VirtualBox details: click here
VirtualBox: click here

This article permanently updates the link address:

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.