How to remove auto-mount shared folder V 4.0.6?

Discussions about using Linux guests in VirtualBox.
Post Reply
hanswkraus
Posts: 5
Joined: 30. Nov 2010, 15:41
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Biolinux 6 (Ubuntu)

How to remove auto-mount shared folder V 4.0.6?

Post by hanswkraus »

Hi,

VirtualBox 4.06
Host: Win 7 64 bit
Guest: Ubuntu 11.04

I tried the new 'auto-mount' feature for the shared folders. Afterwards I wanted to revert to the
fstab method. I unchecked the 'auto-mount' checkbox. But VirtualBox insisted on auto-mounting
the shared file. It was now twice mounted, once per 'auto-mount' and once per fstab.

How do I remove the 'auto-mount' feature? I removed the shared folder, but to no avail.

Regards, Hans
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: How to remove auto-mount shared folder V 4.0.6?

Post by Sasquatch »

Disable auto-mount, then your local fstab entry (it should be rc.local actually, as modules aren't loaded during mount time so it can fail) is the only one doing the actual mounting. The sf_name folder might still exist, but it should be empty. You can remove it safely after that. If it's recreated after a reboot, then just leave it.
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.
Post Reply