Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 462302 - app-emulation/virtualbox-4.2.10: Can't access Win-Xp guest: Cannot attach medium '/usr/share/virtualbox/VBoxGuestAdditions.iso' medium is already associated with the current state of machine uuid
Summary: app-emulation/virtualbox-4.2.10: Can't access Win-Xp guest: Cannot attach med...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-19 12:05 UTC by Juergen Rose
Modified: 2015-11-04 13:39 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2013-03-19 12:05:21 UTC
I can't neither start nor modify the settings of my Win-XP guest from the gui.
I found several websites as 
https://forums.virtualbox.org/viewtopic.php?f=6&t=46819 ,
https://forums.virtualbox.org/viewtopic.php?f=8&t=43580
which stated, that the *.vbox file should be modified with an editor by removing the line with VboxGustAdditions.iso between the DVDImages tags. I did this with the file /home_leopard/rose/.VirtualBox/Machines/xpsp3leo/xpsp3leo.vbox, but it did not help, After restarting VM VirtualBox Manager I still have the same error:

Cannot attach medium '/usr/share/virtualbox/VBoxGuestAdditions.iso' {9a7a72fc-6c0a-49dc-a781-c2380205e466}: medium is already associated with the current state of machine uuid {1162bb0c-d72f-4450-90de-f5f506467c9f}!.

rose@leopard:/home_leopard/rose/.VirtualBox(30)$ find . -name *.vbox -exec grep VBoxGuestAdditions.iso {} \; -print
rose@leopard:/home_leopard/rose/.VirtualBox(31)$ find . -name *.xml -exec grep VBoxGuestAdditions.iso {} \; -print
      <ExtraDataItem name="GUI/RecentListCD" value="/usr/share/virtualbox/VBoxGuestAdditions.iso;/home/rose/ISOs/aptosid.iso;/home/rose/ISOs/systemrescuecd.iso;/home/rose/ISOs/linuxmint-dvd-64bit.iso;/home/rose/ISOs/livedvd-amd64-multilib.iso"/>
        <Image uuid="{9a7a72fc-6c0a-49dc-a781-c2380205e466}" location="/usr/share/virtualbox/VBoxGuestAdditions.iso"/>
./VirtualBox.xml


rose@leopard:/home_leopard/rose/.VirtualBox(33)$ find . -name *.vbox -exec grep -u2 9a7a72fc-6c0a-49dc-a781-c2380205e466 {} \; -print
...
./Machines/SageLIVEcd/SageLIVEcd.vbox
        </AttachedDevice>
        <AttachedDevice passthrough="false" type="DVD" port="0" device="1">
          <Image uuid="{9a7a72fc-6c0a-49dc-a781-c2380205e466}"/>
        </AttachedDevice>
        <AttachedDevice passthrough="false" type="DVD" port="1" device="0">
          <Image uuid="{9a7a72fc-6c0a-49dc-a781-c2380205e466}"/>
        </AttachedDevice>
      </StorageController>
./Machines/xpsp3leo/xpsp3leo.vbox


After removing also the 'AttachedDevice passthrough="false"' lines I could modify and start the virtual machine. I have seen this behaviour never before but at least on two systems in the last days.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-03-19 13:18:43 UTC
This seems to be quite a confusing error.

I've tried to reproduce this on my two Windows XP VMs to no avail.

Do you have any idea how to reproduce it?
Did you try the suggestion from https://forums.virtualbox.org/viewtopic.php?f=6&t=46819 downgrading virtualbox to the last working version?
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-11-04 13:39:03 UTC
No response for over two years. Marking this bug as obsolete as the version is long gone from portage.