Remove shared folders on Ubuntu Server 11.04

Discussions about using Linux guests in VirtualBox.

Remove shared folders on Ubuntu Server 11.04

Postby gruppler » 17. Jun 2011, 16:32

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!
gruppler
 
Posts: 1
Joined: 17. Jun 2011, 16:26
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu Server 11.04

Re: Remove shared folders on Ubuntu Server 11.04

Postby Perryg » 17. Jun 2011, 16:43

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.
Perryg
Site Moderator
 
Posts: 25942
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other

Re: Remove shared folders on Ubuntu Server 11.04

Postby Zaaphod » 17. Aug 2011, 17:26

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
Zaaphod
 
Posts: 1
Joined: 17. Aug 2011, 17:22
Primary OS: MS Windows 7
VBox Version: OSE Debian
Guest OSses: Ubuntu

Re: Remove shared folders on Ubuntu Server 11.04

Postby Perryg » 17. Aug 2011, 17:36

As with any folder that was created on the Linux OS. You remove them with elevated permission.
Perryg
Site Moderator
 
Posts: 25942
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other

Re: Remove shared folders on Ubuntu Server 11.04

Postby Sasquatch » 17. Aug 2011, 22:17

And make sure that, even though you removed the SF definition, no files are inside the folder(s) you wish to remove.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux


Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 11 guests