Inaccessible Windows guest, can't remove additions ISO

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
madscienti11
Posts: 3
Joined: 2. Aug 2011, 03:39
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP

Inaccessible Windows guest, can't remove additions ISO

Post by madscienti11 »

Hi there... I've been searching around for quite a while now, but I can't find the solution to my problem. When open vbox, I get my one VM, "Windoze" showing up as inaccessible. The error message is

Code: Select all

Cannot attach medium '/Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso' {d05b9f61-895f-4b68-80ff-b272391fc651}: medium is already associated with the current state of machine uuid {132f5765-0386-454c-9bbf-f06baf680ac3}!.
Result Code: 
VBOX_E_OBJECT_IN_USE (0x80BB000C)
Component: 
Medium
Interface: 
IMedium {53f9cc0c-e0fd-40a5-a404-a7a5272082cd}
So, I found this thread:
http://forums.virtualbox.org/viewtopic.php?f=8&t=42779

And I opened the Virtual Media Manager. However, upon selecting the CD/DVD tab, there's nothing there.

What can I do?

Was the problem caused by my upgrade? It showed up as inaccessible in 4.0.12 and then I upgraded to 4.1.0, and now it might be even worse. Is there any way I can recover my VM?
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Inaccessible Windows guest, can't remove additions ISO

Post by BillG »

Click the Discard arrow to delete the saved state and then click the Start arrow to cold boot the virtual machine.
Bill
rpmurray
Volunteer
Posts: 918
Joined: 3. Mar 2009, 00:29
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7, Mac OS X (various flavors)
Location: Between Heaven and Hell

Re: Inaccessible Windows guest, can't remove additions ISO

Post by rpmurray »

In your General settings on the Advanced tab, try disabling the Remember Runtime Changes.

Or, check the Storage settings and see if VBoxGuestAdditions.iso is attached to your IDE Controller and if so, remove it.
madscienti11
Posts: 3
Joined: 2. Aug 2011, 03:39
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP

Re: Inaccessible Windows guest, can't remove additions ISO

Post by madscienti11 »

Even when I select my VM, none of the buttons at the top are highlighted except the new VM button. I can't get to the VM settings, and I can't remove the ISO from the Virtual Media Manager, I get an error that tells me "The object functionality is limited." I'll upload a screenshot of that as well.
I can't click on the buttons...
I can't click on the buttons...
Screen shot 2011-08-02 at 4.16.40 PM.png (118.16 KiB) Viewed 11856 times
Error upon attempting to remove guest additions...
Error upon attempting to remove guest additions...
Screen shot 2011-08-02 at 4.17.58 PM.png (58.24 KiB) Viewed 11852 times
rpmurray
Volunteer
Posts: 918
Joined: 3. Mar 2009, 00:29
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7, Mac OS X (various flavors)
Location: Between Heaven and Hell

Re: Inaccessible Windows guest, can't remove additions ISO

Post by rpmurray »

Maybe it's a permissions problem? Try running the Repair Disk Permissions using the Disk Utility. Make sure you're not running the VBox app when you do this.

If that's not the problem then it might be some corruption in the XML files.
madscienti11
Posts: 3
Joined: 2. Aug 2011, 03:39
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP

Re: Inaccessible Windows guest, can't remove additions ISO

Post by madscienti11 »

OK... so it isn't a permissions issue. I repaired the permissions, verified the disk, and uninstalled and then reinstalled virtualbox 4.1.0. Now, I have a blank virtualbox main window. However, when I double click the .vbox file in the VM folder, virtualbox gives me the message

Code: Select all

Medium '/path/Windoze.vdi' cannot be closed because it is still attached to 1 virtual machines.
If I click new, I can select the old VDI file, but it still says inaccessible. This is really infuriating...
nitehawk42
Posts: 1
Joined: 12. Aug 2011, 16:38
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: linux windows etc

Re: Inaccessible Windows guest, can't remove additions ISO

Post by nitehawk42 »

I receive this error when running under winxp, 4.0.12.

When i go tot he virtual media manager, I get the "object functionality limited" message. but if I press refresh the object odes disappear.

However the VM will still not start, and restarting virtualbox causes the VBoxGuestAdditions to reappear.

My vms that do not have guest additions work fine.
KenjiSugita
Posts: 1
Joined: 19. Aug 2011, 04:04
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Kubuntu 11.04

Re: Inaccessible Windows guest, can't remove additions ISO

Post by KenjiSugita »

This is my workaround creating a new VM and reusing the .vdi.
ripad
Posts: 1
Joined: 21. Nov 2011, 01:25
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu Linux

Re: Inaccessible Windows guest, can't remove additions ISO

Post by ripad »

WARNING: Before you follow my instructions below, backup all files you modify!

Here is what I did:

Exit VirtualBox and go to the directory where you VM is saved and oben the .vbox-File. It's an XML file and there is an element called "DVDImages". Delete its child element that describes the iso file containing the guest additions. Save the file and restart VirtualBox. You should now be able to launch your VM again. However, the first thing I did was shutting down the guest system and terminating Virtualbox again completely to make sure that config files are updated and everything is in a legal state.

I hope this helps.
Post Reply