Page 1 of 1

Remove shared folders on Ubuntu Server 11.04

Posted: 17. Jun 2011, 16:32
by gruppler
After installing the VirtualBox addons, I created some shared folders but then later decided to remove them. However, after removing them in VirtualBox, they are still mounted when I reboot the guest. I didn't see anything in /etc/fstab that was mounting these folders.

Any help would be much appreciated. Thanks!

Re: Remove shared folders on Ubuntu Server 11.04

Posted: 17. Jun 2011, 16:43
by Perryg
It really depends on how you created the shared folders. If you set it to auto mount then they were created in /media/sf_<share name>.
Removing the shares requires a reboot of the guest to actually remove them and the folders more than likely will still be there, but can be deleted manually.

Re: Remove shared folders on Ubuntu Server 11.04

Posted: 17. Aug 2011, 17:26
by Zaaphod
I had some shares I created using automount I wish to remove, I have removed the shares, and rebooted the system, Folders of all old shares are still there, How does one remove the folders from the media folder? There is no option to delete them from the pulldown menu

Re: Remove shared folders on Ubuntu Server 11.04

Posted: 17. Aug 2011, 17:36
by Perryg
As with any folder that was created on the Linux OS. You remove them with elevated permission.

Re: Remove shared folders on Ubuntu Server 11.04

Posted: 17. Aug 2011, 22:17
by Sasquatch
And make sure that, even though you removed the SF definition, no files are inside the folder(s) you wish to remove.