VM Inaccessible
VM Inaccessible
I am running VB 4.2.14 r86644 Windows 7 guest on Max OSX 10.7.5 host
VB reports that my VM is inaccessible with the following error message:
Cannot attach medium '/Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso' {b686ed09-ccd1-45ae-9d8d-ab9ff460aa75}: medium is already associated with the current state of machine uuid {a83543e2-6b84-490a-b081-91f10dbae1c2}!.
Result Code:
VBOX_E_OBJECT_IN_USE (0x80BB000C)
Component:
Medium
Interface:
IMedium {29989373-b111-4654-8493-2e1176cba890}
I assume the VM closed without being shut down properly. The Virtual media Manager shows no hard drive, although it does show VBoxGuestAdditions.iso.
I am able to locate the VDI file, which is dated July 3.
How do I recover?
VB reports that my VM is inaccessible with the following error message:
Cannot attach medium '/Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso' {b686ed09-ccd1-45ae-9d8d-ab9ff460aa75}: medium is already associated with the current state of machine uuid {a83543e2-6b84-490a-b081-91f10dbae1c2}!.
Result Code:
VBOX_E_OBJECT_IN_USE (0x80BB000C)
Component:
Medium
Interface:
IMedium {29989373-b111-4654-8493-2e1176cba890}
I assume the VM closed without being shut down properly. The Virtual media Manager shows no hard drive, although it does show VBoxGuestAdditions.iso.
I am able to locate the VDI file, which is dated July 3.
How do I recover?
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: VM Inaccessible
The error message does not carry that implication. Just like on a real PC, a CD remains in the drive until you specifically eject it. Suspending / powering down / restarting the PC does not eject the CD.IFChicago wrote: I assume the VM closed without being shut down properly.
That said, VirtualBox shouldn't mind the same (read only) ISO file being mounted by multiple VMs. It has however been known to get confused if the ISO image changes while still mounted but keeps the same name and location. One way to get this error is to update the VirtualBox software while a VM is suspended with the old GAs ISO still mounted in its drive.
The cure is normally quite easy: go to File | Virtual Media Manager and force the old VBoxGuestAdditions.iso file to be Released and then Removed (but when asked: don't delete the physical file). You may need to discard the saved state of any VM which was suspended when VBox was updated, as that saved state is now orphaned.
Re: VM Inaccessible
I went to File>Virtual Media Manager>Optical Disks and removed the VBoxGuestAdditions.iso. After restarting VirtualBox I get the same error message and the VBoxGuestAdditions.iso is restored.
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: VM Inaccessible
I've never seen VirtualBox restore a medium which you removed. Normally it couldn't because it wouldn't know the path. I guess it's possible that VBoxGuestAdditions.iso is somehow being treated as a special case.
In that case the next thing I would try is discarding the saved states of all VMs.
If that doesn't work then please find out what VM correponds with the {a83543e2-6b84-490a-b081-91f10dbae1c2} VM-UUID (look in VirtualBox.xml), find the .vbox file for that VM, zip it and post it here as an attachment.
In that case the next thing I would try is discarding the saved states of all VMs.
If that doesn't work then please find out what VM correponds with the {a83543e2-6b84-490a-b081-91f10dbae1c2} VM-UUID (look in VirtualBox.xml), find the .vbox file for that VM, zip it and post it here as an attachment.
Re: VM Inaccessible
How do I do that?n that case the next thing I would try is discarding the saved states of all VMs.
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: VM Inaccessible
To delete the saved state just locate the Snapshots folder with the .sav file in your VirtualBox VM folder for the guest you are having trouble with. The other thing you could do is set up a new Windows 7 guest with a different name and just attach the .vdi you found instead of creating a new .vdi.IFChicago wrote:How do I do that?n that case the next thing I would try is discarding the saved states of all VMs.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: VM Inaccessible
To delete a saved state, right click the VM in the GUI and select "Delete saved state".
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: VM Inaccessible
sure, if you want to do it the easy waympack wrote:To delete a saved state, right click the VM in the GUI and select "Delete saved state".
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
Re: VM Inaccessible
When I right-click on the VM in the GUI, the "discard saved state" option is greyed out.To delete a saved state, right click the VM in the GUI and select "Delete saved state".
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: VM Inaccessible
that means there is no saved state.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: VM Inaccessible
Do you have more than one VM? If yes then make sure none of them have a saved state.
If you have no saved states in any VM then I'm afraid it implies that an old snapshot state still has this ISO mounted. In that case you would have to delete the old snapshots, losing the ability to revert to those old states. I suggest making a backup of your VM folders before you try this, as snapshots are notoriously error prone.
If you have no saved states in any VM then I'm afraid it implies that an old snapshot state still has this ISO mounted. In that case you would have to delete the old snapshots, losing the ability to revert to those old states. I suggest making a backup of your VM folders before you try this, as snapshots are notoriously error prone.