VirtualBox Error – Cannot register the DVD image because UUID already exists

I have been using Oracle VirtualBox for many years. It helped me many times to test and play with so many Linux operating systems.  I am maintaining a backup of all Virtual machine’s images in my local hard disk, so that I can avoid repeated installation of the same virtual machine over and over.

Lately, I was banging my head to the wall by getting the following error when try to load one of Virtual machine.

Failed to open virtual machine located in /home/sk/VirtualBox VMs/openSUSE 13.2/openSUSE 13.2.vbox.
Cannot register the DVD image '/usr/share/virtualbox/VBoxGuestAdditions.iso' {b058bc48-c451-4cff-9db0-d01c70e99c28} because a CD/DVD image '/usr/share/virtualbox/VBoxGuestAdditions.iso' with UUID {bb9b13c5-f90f-4589-b212-8b9e01f118f5} already exists.

VirtualBox - Error_002

Solution:

After some googling and digging, I resolved it.

To fix the above error, go into the directory where the Virtual Machine file is located and open the .VBOX file. It’s an XML file and you can open it using any graphical or text editing software such as Libre Office, Abiword, Vi, and nano etc.

Find the following lines:

[...]
<DVDImages>
        <Image uuid="{b058bc48-c451-4cff-9db0-d01c70e99c28}"
location="/usr/share/virtualbox/VBoxGuestAdditions.iso"/>
        

[...]

Delete all entries between <DVDImages> and </DVDImages> lines.

After deleting the contents, your .VBOX file look like below.

<DVDImages>
</DVDImages>

Save and close the file.

That’s it. Now, you can load the virtual machine without any issues.

That’s it.

You may also like...

  • Richard

    Awesome article. Thanks.

  • Groox

    Really helpful, thanks a lot. It’s really cool they made the .vbox file a plain xml file.

  • tomacades

    Works perfectly, thank you!

  • Javier Filgueira Mallea

    GREAT !!!! Thank you for sharing !!!!