[Solved] How to remove persistent shared folders

Discussions about using Linux guests in VirtualBox.
Post Reply
woomla
Posts: 2
Joined: 21. May 2010, 11:12
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu

[Solved] How to remove persistent shared folders

Post by woomla »

Because of troubles getting shared folders to work, I've deleted all shared folders from devices|shared folders. But in /media I still see them like: sf_sharenames. And they are mounted to the once shared folders. With sudo I can view the content and they indeed show the shared folder contents.

The troubles I've had where virtualbox complaining about broken folders. So now my virtualbox settings are clear (i assume), but the mounted shares remain persistent.

How do I get rid of them? Why are they there anyway in media?

Host: Windows 7 64 bit.
Guest: Ubuntu 10.04 LTS.
Virtualbox: 4.06 r 71416.
Last edited by woomla on 16. May 2011, 11:59, edited 1 time in total.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: How to remove persistent shared folders

Post by Perryg »

Shut down the guest. Open the guest settings and make sure that the share is in fact gone. Reboot the guest and delete the /media/sf_* folder.
woomla
Posts: 2
Joined: 21. May 2010, 11:12
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu

Re: How to remove persistent shared folders

Post by woomla »

Thanks, this seems to work. Probably the only thing I did was reboot the guest and did not power it down completely.
Post Reply