Page 1 of 1

Failed to open VM Error

Posted: 19. Apr 2012, 20:43
by MaxMaxwell
Hey Guy's,
I copied my VM from one drive to another before refreshing my workstation. However, now when I click the VM, I receive the following error message:

"Cannot register the DVD image '/usr/share/virtualbox/VBoxGuestAdditions.iso' {0fe1ba24-f623-405c-a7a9-8c157c9b0520} because a CD/DVD image '/usr/share/virtualbox/VBoxGuestAdditions.iso' with UUID {f6d59efd-7c5f-4679-bb0d-88b36ee6be50} already exists."

Details:

Result Code: NS_ERROR_INVALID_ARG (0x80070057)
Component: VirtualBox
Interface: IVirtualBox {c28be65f-1a8f-43b4-81f1-eb60cb516e66}

Thoughts?

The host is Ubuntu 11.04 natty and the VM guest is Win7 64bit.

Re: Failed to open VM Error

Posted: 19. Apr 2012, 20:56
by Perryg
Open the preferences and media manager. See if you can release and remove VBoxGuestAdditions.iso from there. If not them post the *.vbox file for the guest as an attachment.

Re: Failed to open VM Error

Posted: 19. Apr 2012, 21:18
by MaxMaxwell
Perryg wrote:Open the preferences and media manager. See if you can release and remove VBoxGuestAdditions.iso from there.
--- The images do not appear here. I do have one working version that I built from scratch following my refresh though.


Perryg wrote:If not them post the *.vbox file for the guest as an attachment.
--- How do I do this? Also, what will it do for me?

Re: Failed to open VM Error

Posted: 19. Apr 2012, 21:27
by Perryg
Perryg wrote:If not them post the *.vbox file for the guest as an attachment.

--- How do I do this? Also, what will it do for me?
You have a folder that has the control file (*.vbox) if the guest was created after 4.0 and the file will be located in your home folder > VirtualBox VMs > and name of the guest.
If created before it gets more complicated.

What will it do for you to post the files? Help in resolving your issue.

Re: Failed to open VM Error

Posted: 19. Apr 2012, 21:30
by MaxMaxwell
This is the message that I receive when I attempt to upload the .vbox file:

"The extension vbox is not allowed."

Re: Failed to open VM Error

Posted: 19. Apr 2012, 23:44
by Perryg
Change it to *.vbox.txt

Re: Failed to open VM Error

Posted: 20. Apr 2012, 02:13
by MaxMaxwell
Here you go...

Re: Failed to open VM Error

Posted: 20. Apr 2012, 02:23
by Perryg
<DVDImages>
<Image uuid="{0fe1ba24-f623-405c-a7a9-8c157c9b0520}" location="/usr/share/virtualbox/VBoxGuestAdditions.iso"/>
</DVDImages>

First make sure the guest is shut down (not saved state) and the VirtualBox program is not running.
Make a backup of this file in a safe place. Then edit the file and remove the line I have marked in red (close to the top of the file), leaving the <DVDImages> & </DVDImages> tags above and below. Save and see if it will allow you to start the guest.

It should look like this
<DVDImages>
</DVDImages>