Inaccessible … Cannot attach medium…VBoxGuestAdditions.iso

Discussions related to using VirtualBox on Mac OS X hosts.
vboxuser799
Posts: 111
Joined: 20. May 2009, 09:43
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10

Re: Inaccessible … Cannot attach medium…VBoxGuestAdditions.iso

Post by vboxuser799 »

Thank you, socratis.

Situation: no matter whether I use TextEdit.app or TextExpander.app, when I paste in the file contents you gave me, it adds spaces at the left of each line.

Yours looks like this:

Code: Select all

<?xml version="1.0"?>
<!--
** DO NOT EDIT THIS FILE.
** If you make changes to this file while any VirtualBox related application
** is running, your changes will be overwritten later, without taking effect.
** Use VBoxManage or the VirtualBox Manager GUI to make changes.
-->
<VirtualBox xmlns="http://www.virtualbox.org/" version="1.15-macosx">
  <Machine uuid="{81d32831-0d07-4e86-9566-59c1e6389f40}" name="Win10_64bit4" OSType="Windows10_64" stateFile="Snapshots/2017-07-19T18-10-30-517625000Z.sav" snapshotFolder="Snapshots" lastStateChange="2017-07-19T18:11:08Z">
    <Media
Mine looks like the screenshot with four extra spaces at the left of every line. What app am I supposed to use to do this?
Screen Shot 2017-07-21 at 7.39.09 AM.png
Screen Shot 2017-07-21 at 7.39.09 AM.png (99.34 KiB) Viewed 2987 times
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Inaccessible … Cannot attach medium…VBoxGuestAdditions.iso

Post by socratis »

Click on the left of the "<?xml" at the beginning of the text block. Scroll all the way to the bottom and Shift-click to the right of "VirtualBox>". Copy the text, switch to any text editor, paste. That doesn't work for you?

Personally I've been using TextWrangler for years, but it shouldn't matter.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
vboxuser799
Posts: 111
Joined: 20. May 2009, 09:43
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10

Re: Inaccessible … Cannot attach medium…VBoxGuestAdditions.iso

Post by vboxuser799 »

Well, if I hadn't seen my own screenshot, I would not have believed it: I was adding space to the left of all lines.

However, I just did it again, and the pasted text looked correct. I saved it the *.vbox file. Then I launched VB. It said "Saved State" for that VM.

But when I tried to open that VM, I got this message:
Failed to open a session for the virtual machine Win10_64bit4.

pci#0: Device in slot 0x9 has been removed! vendor=0x8086 device=0x7111 [ver=3 pass=final] (VERR_SSM_LOAD_CONFIG_MISMATCH).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
Screen Shot 2017-07-21 at 8.07.06 AM.png
Screen Shot 2017-07-21 at 8.07.06 AM.png (54.74 KiB) Viewed 2987 times
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Inaccessible … Cannot attach medium…VBoxGuestAdditions.iso

Post by socratis »

Oops, sorry about that, it seems I was a little bit overzealous with the hardware cleaning :shock:. Try this one:

Code: Select all

<?xml version="1.0"?>
<!--
** DO NOT EDIT THIS FILE.
** If you make changes to this file while any VirtualBox related application
** is running, your changes will be overwritten later, without taking effect.
** Use VBoxManage or the VirtualBox Manager GUI to make changes.
-->
<VirtualBox xmlns="http://www.virtualbox.org/" version="1.15-macosx">
  <Machine uuid="{81d32831-0d07-4e86-9566-59c1e6389f40}" name="Win10_64bit4" OSType="Windows10_64" stateFile="Snapshots/2017-07-19T18-10-30-517625000Z.sav" snapshotFolder="Snapshots" lastStateChange="2017-07-19T18:11:08Z">
    <MediaRegistry>
      <HardDisks>
        <HardDisk uuid="{701c3642-a433-4c24-99a6-fca1f1ebd913}" location="Win10_64bit3_2016-03-11a_reinitMAC-disk1.vdi" format="VDI" type="Normal"/>
      </HardDisks>
    </MediaRegistry>
    <ExtraData>
      <ExtraDataItem name="GUI/LastCloseAction" value="SaveState"/>
      <ExtraDataItem name="GUI/LastGuestSizeHint" value="1436,877"/>
      <ExtraDataItem name="GUI/LastNormalWindowPosition" value="402,222,1436,898,max"/>
      <ExtraDataItem name="GUI/LastScaleWindowPosition" value="26,54,1392,835,max"/>
      <ExtraDataItem name="GUI/RestrictedRuntimeDevicesMenuActions" value="HardDrives"/>
      <ExtraDataItem name="GUI/RestrictedRuntimeMachineMenuActions" value="SaveState,PowerOff"/>
      <ExtraDataItem name="GUI/Scale" value="true"/>
      <ExtraDataItem name="GUI/ScaleFactor" value="1"/>
      <ExtraDataItem name="GUI/StatusBar/IndicatorOrder" value="HardDisks,OpticalDisks,FloppyDisks,Network,USB,SharedFolders,Display,VideoCapture,Features,Mouse,Keyboard"/>
    </ExtraData>
    <Hardware>
      <CPU>
        <PAE enabled="false"/>
        <LongMode enabled="true"/>
        <HardwareVirtExLargePages enabled="true"/>
      </CPU>
      <Memory RAMSize="4096"/>
      <HID Pointing="USBTablet"/>
      <Paravirt provider="Default"/>
      <Display VRAMSize="128"/>
      <RemoteDisplay enabled="false"/>
      <BIOS>
        <IOAPIC enabled="true"/>
      </BIOS>
      <USB>
        <Controllers>
          <Controller name="OHCI" type="OHCI"/>
          <Controller name="EHCI" type="EHCI"/>
        </Controllers>
        <DeviceFilters>
          <DeviceFilter name="HID Devise Data Terminal [0100]" active="true" vendorId="c201" productId="1318" revision="0100" manufacturer="HID Devise" product="Data Terminal" serialNumber="0003F0000000" remote="0"/>
        </DeviceFilters>
      </USB>
      <Network>
        <Adapter slot="0" enabled="true" MACAddress="080027CB80ED" cable="true" type="82540EM">
          <DisabledModes>
            <InternalNetwork name="intnet"/>
            <NATNetwork name="NatNetwork"/>
          </DisabledModes>
          <BridgedInterface name="en0: Ethernet"/>
        </Adapter>
        <Adapter slot="1" enabled="true" MACAddress="0800279E428A" cable="true" type="82540EM">
          <DisabledModes>
            <InternalNetwork name="intnet"/>
            <NATNetwork name="NatNetwork"/>
          </DisabledModes>
          <BridgedInterface name="en1: Wi-Fi (AirPort)"/>
        </Adapter>
        <Adapter slot="2" MACAddress="0800276FFF3E" cable="true" type="82540EM"/>
        <Adapter slot="3" MACAddress="0800278F451A" cable="true" type="82540EM"/>
        <Adapter slot="4" MACAddress="080027F2C52E" cable="true" type="82540EM"/>
        <Adapter slot="5" MACAddress="0800271273A5" cable="true" type="82540EM"/>
        <Adapter slot="6" MACAddress="08002777E6D1" cable="true" type="82540EM"/>
        <Adapter slot="7" MACAddress="08002797D2A4" cable="true" type="82540EM"/>
      </Network>
      <LPT>
        <Port slot="1" enabled="false" IOBase="0x378" IRQ="7"/>
      </LPT>
      <AudioAdapter controller="HDA" driver="CoreAudio" enabled="true"/>
      <SharedFolders>
        <SharedFolder name="1.5_TB_HGST" hostPath="/Volumes/1.5 TB HGST" writable="true" autoMount="true"/>
        <SharedFolder name="Users" hostPath="/Users" writable="true" autoMount="true"/>
      </SharedFolders>
      <Clipboard mode="Bidirectional"/>
      <DragAndDrop mode="Bidirectional"/>
      <GuestProperties>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxControl.exe" value="5.1.22r115126" timestamp="1500175946259547000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxCredProv.dll" value="-" timestamp="1500175947147874000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxDisp.dll" value="-" timestamp="1500175946361264000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxGINA.dll" value="-" timestamp="1500175947147701000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxGuest.sys" value="5.1.22r115126" timestamp="1500175947448278000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxHook.dll" value="5.1.22r115126" timestamp="1500175946360979000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxMRXNP.dll" value="5.1.22r115126" timestamp="1500175947147380000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxMouse.sys" value="5.1.22r115126" timestamp="1500175947549589000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGL.dll" value="-" timestamp="1500175947218542000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLarrayspu.dll" value="-" timestamp="1500175947148146000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLcrutil.dll" value="-" timestamp="1500175947148367000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLerrorspu.dll" value="-" timestamp="1500175947148529000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLfeedbackspu.dll" value="-" timestamp="1500175947218164000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLpackspu.dll" value="-" timestamp="1500175947217548000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLpassthroughspu.dll" value="-" timestamp="1500175947217848000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxSF.sys" value="5.0.14r105127" timestamp="1500175947551509000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxService.exe" value="5.1.22r115126" timestamp="1500175946595641000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxTray.exe" value="5.1.22r115126" timestamp="1500175946594761000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxVideo.sys" value="-" timestamp="1500175947552130000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/HostVerLastChecked" value="5.1.22" timestamp="1500176125313491000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/InstallDir" value="C:/Program Files/Oracle/VirtualBox Guest Additions" timestamp="1500175946078005000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Revision" value="115126" timestamp="1500175946077819000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Version" value="5.1.22" timestamp="1500175946076445000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/VersionExt" value="5.1.22" timestamp="1500175946077225000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/0/MAC" value="080027CB80ED" timestamp="1500175947676534000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/0/Status" value="Up" timestamp="1500175947676228000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/0/V4/Broadcast" value="255.255.255.255" timestamp="1500175947675930000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/0/V4/IP" value="192.168.0.102" timestamp="1500175947675743000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/0/V4/Netmask" value="255.255.255.0" timestamp="1500175947676072000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/1/MAC" value="0800279E428A" timestamp="1500175947677126000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/1/Status" value="Up" timestamp="1500175947677011000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/1/V4/Broadcast" value="255.255.255.255" timestamp="1500175947676796000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/1/V4/IP" value="169.254.217.84" timestamp="1500175947676673000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/1/V4/Netmask" value="255.255.0.0" timestamp="1500175947676922000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/Count" value="2" timestamp="1500487822378902000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/OS/LoggedInUsers" value="1" timestamp="1500176050616948000" flags="TRANSIENT, TRANSRESET"/>
        <GuestProperty name="/VirtualBox/GuestInfo/OS/LoggedInUsersList" value="UserWin10" timestamp="1500176050615764000" flags="TRANSIENT, TRANSRESET"/>
        <GuestProperty name="/VirtualBox/GuestInfo/OS/NoLoggedInUsers" value="false" timestamp="1500176050617077000" flags="TRANSIENT, TRANSRESET"/>
        <GuestProperty name="/VirtualBox/GuestInfo/OS/Product" value="Windows 10" timestamp="1500175946052449000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/OS/Release" value="10.0.15063" timestamp="1500175946052628000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/User/UserWin10@WIN10-64BIT2/UsageState" value="InUse" timestamp="1500487817359980000" flags="TRANSIENT, TRANSRESET"/>
        <GuestProperty name="/VirtualBox/HostInfo/GUI/LanguageID" value="C" timestamp="1500487830168682000" flags=""/>
      </GuestProperties>
    </Hardware>
    <StorageControllers>
      <StorageController name="SATA" type="AHCI" PortCount="2" useHostIOCache="false" Bootable="true" IDE0MasterEmulationPort="0" IDE0SlaveEmulationPort="1" IDE1MasterEmulationPort="2" IDE1SlaveEmulationPort="3">
        <AttachedDevice type="HardDisk" hotpluggable="false" port="0" device="0">
          <Image uuid="{701c3642-a433-4c24-99a6-fca1f1ebd913}"/>
        </AttachedDevice>
        <AttachedDevice passthrough="false" type="DVD" hotpluggable="false" port="1" device="0"/>
      </StorageController>
      <StorageController name="IDE" type="PIIX4" PortCount="2" useHostIOCache="true" Bootable="true">
        <AttachedDevice passthrough="true" type="DVD" hotpluggable="false" port="0" device="0"/>
      </StorageController>
    </StorageControllers>
  </Machine>
</VirtualBox>
And remember, I'm trying like this in case you have unsaved documents in your VM. If that doesn't work, I'm going to have to say goodbye to your saved-state.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
vboxuser799
Posts: 111
Joined: 20. May 2009, 09:43
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10

Re: Inaccessible … Cannot attach medium…VBoxGuestAdditions.iso

Post by vboxuser799 »

Now it looks as if it's going to work. It goes through a several second phase of the progress bar moving.

But just as I would expect it to launch, this message comes up:
Failed to open a session for the virtual machine Win10_64bit4.

ahci#0: The source VM is missing a device on port 1. Please make sure the source and target VMs have compatible storage configurations [ver=8 pass=final] (VERR_SSM_LOAD_CONFIG_MISMATCH).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Inaccessible … Cannot attach medium…VBoxGuestAdditions.iso

Post by socratis »

OK, final attempt. If that doesn't work, you should discard the saved state.

Code: Select all

<?xml version="1.0"?>
<!--
** DO NOT EDIT THIS FILE.
** If you make changes to this file while any VirtualBox related application
** is running, your changes will be overwritten later, without taking effect.
** Use VBoxManage or the VirtualBox Manager GUI to make changes.
-->
<VirtualBox xmlns="http://www.virtualbox.org/" version="1.15-macosx">
  <Machine uuid="{81d32831-0d07-4e86-9566-59c1e6389f40}" name="Win10_64bit4" OSType="Windows10_64" stateFile="Snapshots/2017-07-19T18-10-30-517625000Z.sav" snapshotFolder="Snapshots" lastStateChange="2017-07-19T18:11:08Z">
    <MediaRegistry>
      <HardDisks>
        <HardDisk uuid="{701c3642-a433-4c24-99a6-fca1f1ebd913}" location="Win10_64bit3_2016-03-11a_reinitMAC-disk1.vdi" format="VDI" type="Normal"/>
      </HardDisks>
    </MediaRegistry>
    <ExtraData>
      <ExtraDataItem name="GUI/LastCloseAction" value="SaveState"/>
      <ExtraDataItem name="GUI/LastGuestSizeHint" value="1436,877"/>
      <ExtraDataItem name="GUI/LastNormalWindowPosition" value="402,222,1436,898,max"/>
      <ExtraDataItem name="GUI/LastScaleWindowPosition" value="26,54,1392,835,max"/>
      <ExtraDataItem name="GUI/RestrictedRuntimeDevicesMenuActions" value="HardDrives"/>
      <ExtraDataItem name="GUI/RestrictedRuntimeMachineMenuActions" value="SaveState,PowerOff"/>
      <ExtraDataItem name="GUI/Scale" value="true"/>
      <ExtraDataItem name="GUI/ScaleFactor" value="1"/>
      <ExtraDataItem name="GUI/StatusBar/IndicatorOrder" value="HardDisks,OpticalDisks,FloppyDisks,Network,USB,SharedFolders,Display,VideoCapture,Features,Mouse,Keyboard"/>
    </ExtraData>
    <Hardware>
      <CPU>
        <PAE enabled="false"/>
        <LongMode enabled="true"/>
        <HardwareVirtExLargePages enabled="true"/>
      </CPU>
      <Memory RAMSize="4096"/>
      <HID Pointing="USBTablet"/>
      <Paravirt provider="Default"/>
      <Display VRAMSize="128"/>
      <RemoteDisplay enabled="false"/>
      <BIOS>
        <IOAPIC enabled="true"/>
      </BIOS>
      <USB>
        <Controllers>
          <Controller name="OHCI" type="OHCI"/>
          <Controller name="EHCI" type="EHCI"/>
        </Controllers>
        <DeviceFilters>
          <DeviceFilter name="HID Devise Data Terminal [0100]" active="true" vendorId="c201" productId="1318" revision="0100" manufacturer="HID Devise" product="Data Terminal" serialNumber="0003F0000000" remote="0"/>
        </DeviceFilters>
      </USB>
      <Network>
        <Adapter slot="0" enabled="true" MACAddress="080027CB80ED" cable="true" type="82540EM">
          <DisabledModes>
            <InternalNetwork name="intnet"/>
            <NATNetwork name="NatNetwork"/>
          </DisabledModes>
          <BridgedInterface name="en0: Ethernet"/>
        </Adapter>
        <Adapter slot="1" enabled="true" MACAddress="0800279E428A" cable="true" type="82540EM">
          <DisabledModes>
            <InternalNetwork name="intnet"/>
            <NATNetwork name="NatNetwork"/>
          </DisabledModes>
          <BridgedInterface name="en1: Wi-Fi (AirPort)"/>
        </Adapter>
        <Adapter slot="2" MACAddress="0800276FFF3E" cable="true" type="82540EM"/>
        <Adapter slot="3" MACAddress="0800278F451A" cable="true" type="82540EM"/>
        <Adapter slot="4" MACAddress="080027F2C52E" cable="true" type="82540EM"/>
        <Adapter slot="5" MACAddress="0800271273A5" cable="true" type="82540EM"/>
        <Adapter slot="6" MACAddress="08002777E6D1" cable="true" type="82540EM"/>
        <Adapter slot="7" MACAddress="08002797D2A4" cable="true" type="82540EM"/>
      </Network>
      <LPT>
        <Port slot="1" enabled="false" IOBase="0x378" IRQ="7"/>
      </LPT>
      <AudioAdapter controller="HDA" driver="CoreAudio" enabled="true"/>
      <SharedFolders>
        <SharedFolder name="1.5_TB_HGST" hostPath="/Volumes/1.5 TB HGST" writable="true" autoMount="true"/>
        <SharedFolder name="Users" hostPath="/Users" writable="true" autoMount="true"/>
      </SharedFolders>
      <Clipboard mode="Bidirectional"/>
      <DragAndDrop mode="Bidirectional"/>
      <GuestProperties>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxControl.exe" value="5.1.22r115126" timestamp="1500175946259547000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxCredProv.dll" value="-" timestamp="1500175947147874000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxDisp.dll" value="-" timestamp="1500175946361264000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxGINA.dll" value="-" timestamp="1500175947147701000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxGuest.sys" value="5.1.22r115126" timestamp="1500175947448278000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxHook.dll" value="5.1.22r115126" timestamp="1500175946360979000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxMRXNP.dll" value="5.1.22r115126" timestamp="1500175947147380000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxMouse.sys" value="5.1.22r115126" timestamp="1500175947549589000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGL.dll" value="-" timestamp="1500175947218542000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLarrayspu.dll" value="-" timestamp="1500175947148146000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLcrutil.dll" value="-" timestamp="1500175947148367000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLerrorspu.dll" value="-" timestamp="1500175947148529000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLfeedbackspu.dll" value="-" timestamp="1500175947218164000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLpackspu.dll" value="-" timestamp="1500175947217548000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxOGLpassthroughspu.dll" value="-" timestamp="1500175947217848000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxSF.sys" value="5.0.14r105127" timestamp="1500175947551509000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxService.exe" value="5.1.22r115126" timestamp="1500175946595641000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxTray.exe" value="5.1.22r115126" timestamp="1500175946594761000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Components/VBoxVideo.sys" value="-" timestamp="1500175947552130000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/HostVerLastChecked" value="5.1.22" timestamp="1500176125313491000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/InstallDir" value="C:/Program Files/Oracle/VirtualBox Guest Additions" timestamp="1500175946078005000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Revision" value="115126" timestamp="1500175946077819000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/Version" value="5.1.22" timestamp="1500175946076445000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestAdd/VersionExt" value="5.1.22" timestamp="1500175946077225000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/0/MAC" value="080027CB80ED" timestamp="1500175947676534000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/0/Status" value="Up" timestamp="1500175947676228000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/0/V4/Broadcast" value="255.255.255.255" timestamp="1500175947675930000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/0/V4/IP" value="192.168.0.102" timestamp="1500175947675743000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/0/V4/Netmask" value="255.255.255.0" timestamp="1500175947676072000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/1/MAC" value="0800279E428A" timestamp="1500175947677126000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/1/Status" value="Up" timestamp="1500175947677011000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/1/V4/Broadcast" value="255.255.255.255" timestamp="1500175947676796000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/1/V4/IP" value="169.254.217.84" timestamp="1500175947676673000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/1/V4/Netmask" value="255.255.0.0" timestamp="1500175947676922000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/Net/Count" value="2" timestamp="1500487822378902000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/OS/LoggedInUsers" value="1" timestamp="1500176050616948000" flags="TRANSIENT, TRANSRESET"/>
        <GuestProperty name="/VirtualBox/GuestInfo/OS/LoggedInUsersList" value="UserWin10" timestamp="1500176050615764000" flags="TRANSIENT, TRANSRESET"/>
        <GuestProperty name="/VirtualBox/GuestInfo/OS/NoLoggedInUsers" value="false" timestamp="1500176050617077000" flags="TRANSIENT, TRANSRESET"/>
        <GuestProperty name="/VirtualBox/GuestInfo/OS/Product" value="Windows 10" timestamp="1500175946052449000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/OS/Release" value="10.0.15063" timestamp="1500175946052628000" flags=""/>
        <GuestProperty name="/VirtualBox/GuestInfo/User/UserWin10@WIN10-64BIT2/UsageState" value="InUse" timestamp="1500487817359980000" flags="TRANSIENT, TRANSRESET"/>
        <GuestProperty name="/VirtualBox/HostInfo/GUI/LanguageID" value="C" timestamp="1500487830168682000" flags=""/>
      </GuestProperties>
    </Hardware>
    <StorageControllers>
      <StorageController name="SATA" type="AHCI" PortCount="3" useHostIOCache="false" Bootable="true" IDE0MasterEmulationPort="0" IDE0SlaveEmulationPort="1" IDE1MasterEmulationPort="2" IDE1SlaveEmulationPort="3">
        <AttachedDevice type="HardDisk" hotpluggable="false" port="0" device="0">
          <Image uuid="{701c3642-a433-4c24-99a6-fca1f1ebd913}"/>
        </AttachedDevice>
        <AttachedDevice passthrough="true" type="DVD" hotpluggable="false" port="2" device="0"/>
      </StorageController>
      <StorageController name="IDE" type="PIIX4" PortCount="2" useHostIOCache="true" Bootable="true">
        <AttachedDevice passthrough="true" type="DVD" hotpluggable="false" port="0" device="0"/>
      </StorageController>
    </StorageControllers>
  </Machine>
</VirtualBox>
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
vboxuser799
Posts: 111
Joined: 20. May 2009, 09:43
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10

Re: Inaccessible … Cannot attach medium…VBoxGuestAdditions.iso

Post by vboxuser799 »

Well, that one didn't work either. But you made valiant attempts, socratis (at least I assume they were valient – I'm clueless of what you did).

Anyway, I did discard the Saved State. The VM looks as if it's loading OK.

Based on all you did, can you tell why this happened? Does it look as if I did something to cause it? I'd just like to avoid doing the same thing again :)
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Inaccessible … Cannot attach medium…VBoxGuestAdditions.iso

Post by socratis »

Yes, the disaster was man made! You brought this on yourself!!! :shock: ;)

Not entirely true. What happened: you had a VM with a SATA controller (1 hard drive attached) and an IDE controller (1 CD attached and loaded with the GAs).

You then added another CD in the SATA controller, which you loaded with a second instance of the GAs. WHY??? You then saved the VM state and when you tried to restore it, kaboom.

I'm not saying that this is not a VirtualBox bug, it most probably is. But it may have been hiding due to "best practices". Most of the people that have one CD available in the VM recipe, do not add a second one. Most people that have already loaded the drive with a specific disk (GAs) do not do it twice. And most people once they're done with the GAs installation, eject the CD.

So, a perfect storm? I don't know what triggered it. It may worth the time for a bug report because it shouldn't fail in theory. I mean, I can't even import the .vbox file, it complaints right of the bat, which is a good-thing™ because it's an easily reproducible scenario.

I'll see if I can reduce the issue to the bare minimum and proceed from there...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
vboxuser799
Posts: 111
Joined: 20. May 2009, 09:43
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10

Re: Inaccessible … Cannot attach medium…VBoxGuestAdditions.iso

Post by vboxuser799 »

Thanks for working on this.

I think it had to do with the fact that I had to re-install the GuestAdditions in order to get the VM to see the host drives.

I don't recall adding any CD other than that.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Inaccessible … Cannot attach medium…VBoxGuestAdditions.iso

Post by socratis »

vboxuser799 wrote:I don't recall adding any CD other than that.
But you do see the two CD drives, right?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
vboxuser799
Posts: 111
Joined: 20. May 2009, 09:43
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10

Re: Inaccessible … Cannot attach medium…VBoxGuestAdditions.iso

Post by vboxuser799 »

Uh, forgive the ignorance, where where would I see them?
vboxuser799
Posts: 111
Joined: 20. May 2009, 09:43
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10

Re: Inaccessible … Cannot attach medium…VBoxGuestAdditions.iso

Post by vboxuser799 »

And assuming I do eventually see them, I assume I need to delete one, right? What do I need to do to keep this from recurring?
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Inaccessible … Cannot attach medium…VBoxGuestAdditions.iso

Post by socratis »

If you select the VM, look at the right side, under "Storage". You have one HD and one CD under SATA, and one CD under IDE. If you actually select the "Storage", it's going to be more obvious because it shows the CD icons.

Delete one, it doesn't matter which one, but the safest would be the one under SATA. So you would be left with a SATA HD and an IDE CD.

The way to prevent it? Don't add it. This definitely didn't happen by accident, you deliberately added the second CD at some point.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
vboxuser799
Posts: 111
Joined: 20. May 2009, 09:43
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10

Re: Inaccessible … Cannot attach medium…VBoxGuestAdditions.iso

Post by vboxuser799 »

Well, I can repeat the problem to some degree. I shut down the VM, then removed the empty CD under SATA and restarted. Now my links are somehow broken to the shared folders on the host. This is precisely what happened when I updated from Win10 1607 to 1703. IIRC, I searched the forums and saw that someone had reinstalled Guest Additions, and his shared folders showed up (or some other problem was solved by reinstalling GA). That's what I did. Then the first time I saved the machine state, I could not relaunch it.

So, I am thinking that if I go to "Devices > Insert Guest Additions CD Image", probably I'll be able to repeat the problem. Maybe I'll do that – if I've got the nerve. Then I can delete the CD under IDE and see if the problem persists, recurs, or if something else happens.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Inaccessible … Cannot attach medium…VBoxGuestAdditions.iso

Post by socratis »

vboxuser799 wrote:Well, I can repeat the problem to some degree.
No, that's a different problem. Shared folders not working because the GAs need update, that's one thing. Your VM becoming inaccessible because you have multiple instances of the same ISO, that's a completely different kind of a problem.
vboxuser799 wrote:So, I am thinking that if I go to "Devices > Insert Guest Additions CD Image", probably I'll be able to repeat the problem.
No problem, no. What you'll do is the standard procedure to update your GAs. You'll have a new CD "inserted" in your guest. Execute the VBoxGuestAdditions and you should be all set. Eject the CD from within your guest afterwards.
vboxuser799 wrote:Then I can delete the CD under IDE and see if the problem persists, recurs, or if something else happens.
No, do NOT delete the IDE CD, simply eject the disk from within the guest. Or you could eject the CD from the host, if it's allowed. But do not delete the drive from the IDE controller. You don't yank the drive from your host every time you change a CD, do you?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply