Page 1 of 1

Failure of shared folders

Posted: 17. Sep 2013, 21:53
by Orthoducks-tri
I'm using the free version of VirtualBox v4.2.16. I'm trying to share a directory between the guest system (Centos 6.4) and the host (Windows 7 Enterprise).

The last time I used Centos, about a month ago, folder sharing was configured and worked. Now it's not.

When I select Devices/Shared Folders, I get a dialog which warns me that Guest Additions are not installed. When I select Devices/Install Guest Additions, I get a dialog which warns me that it is "Unable to mount the CD/DVD image C:\Program Files\...\VBoxGuestAdditions.iso." It asks me whether I would "like to force mounting of this medium." Below the text are buttons for "Force Unmount" (inexplicably, not "Force Mount") and "Cancel."

The "Details" button displays this information:

Code: Select all

Result Code: E_FAIL (0x80004005)
Component:   Console
Interface:   IConsole {db7ab4ca-2a3f-4183-9243-c1208da92392}
Callee:      IMachine {22781af3-1c96-4126-9edf-67a020e0e858}
I looked at the host's VirtualBox directory. VBoxGuestAdditions.iso is there, right where it should be. I don't have any theories about why VBox can't read it.

Any suggestions?

Re: Failure of shared folders

Posted: 17. Sep 2013, 22:14
by Perryg
Shut down the guest and in the settings storage select to remove the additions from the CD/DVD drive. Start the guest and try to install again.

Re: Failure of shared folders

Posted: 18. Sep 2013, 01:47
by Orthoducks-tri
I shut down the guest per your instructions and removed VBoxGuestAdditions. Then I started the guest again and clicked Install Guest Additions. I got an error box that said, "Could not insert the VirtualBox Guest Additions installer CD image into the virtual machine CentOS, as the machine has no CD/DVD-ROM drives. Please add a drive using the storage page of the virtual machine settings dialog."

At this point things stopped making sense. I returned to the VMBox window, reopened the Settings dialog, and selected Storage. I wanted to re-insert VBoxGuestAdditions under the IDE controller (that's where it was before). I selected the IDE controller, but I could not click the "Add Attachment" icon because it was disabled. (All of the icons below the storage tree display were disabled.) It appears that having deleted the non-functional addition from the IDE controller, I'm not allowed to reinsert it.

Re: Failure of shared folders

Posted: 18. Sep 2013, 02:02
by Perryg
The options were disabled because you did not shut the guest down.
I also suspect that you deleted the CD drive instead of removing the media from the drive as I instructed. There is a small icon on the right that you should have clicked and it says remove from drive. If you click on the left one it say remove attachment. So now you need to click on the IDE and select to add a CD device. Don't mount the guest additions though. Best to do that by clicking install guest additions in the device tab of the guest.

Re: Failure of shared folders

Posted: 18. Sep 2013, 17:36
by Orthoducks-tri
Thank you. It seems to be working now.