Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VirtualBox Cannot register the hard disk already exists

Tags:

virtualbox

I created a virtual disk file VM_1_Ubuntu.vdi. Then I moved it into another folder. I tried to update VM settings (right click on virtual machine -> settings -> Storage -> Controller SATA tab, VM_1_Ubuntu.vdi path). I wanted to set a new path.

It says Cannot register the hard disk already exists

like image 435
Yan Khonski Avatar asked Oct 18 '22 07:10

Yan Khonski


People also ask

How do I fix VirtualBox UUID already exists?

Open up the Command Prompt. In both Windows 8 and Windows 7, it can be found by typing “cmd” into the Start Menu search box. If everything worked, you should see a message saying “UUID change to: …” and then the VirtualBox should work. All fixed!

What is a VirtualBox UUID?

The UUID is generated when you power on or reset the virtual machine. As long as you do not move or copy the virtual machine to another location, the UUID remains constant. Fore more read the documentation. You can use: VBoxManage list vms. to list all currently registered VMs with their settings, names and UUIDs.


1 Answers

I found a solution

File -> Virtual Media Manager -> Removed existing images (note, I removed them only from the registry).

I followed these steps.

http://www.webdesignblog.asia/software/virtualbox-moving-vdi-file-re-linking-guest/#sthash.1QOHeiw5.dpbs

After that I could update the path in the VM settings.

like image 115
Yan Khonski Avatar answered Oct 30 '22 14:10

Yan Khonski