shared folders need GA reload every time

Discussions about using Linux guests in VirtualBox.
Post Reply
wricotmw
Posts: 4
Joined: 4. Jan 2011, 15:16
Primary OS: MS Windows XP
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: linux mint

shared folders need GA reload every time

Post by wricotmw »

I am trying to run Linux Mint 9 in Virtual box 4.0 with win7 host, I have managed to get most working but shared folders are a problem. If I install Guest Additions and WITHOUT RESTARTING mount the shared folder it works but as soon as I restart the system they are gone. Have found and tried posts about fstab but the problem persists. How do I get the shared folders to be there on restart?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: shared folders need GA reload every time

Post by Perryg »

put the mount statement in the /etc/rc.local file.
Make sure that the file is executable.
Or if you are using the latest version of VirtualBox (4.0.0) set the shared folder to automount and look in /media/sf_<share name>
wricotmw
Posts: 4
Joined: 4. Jan 2011, 15:16
Primary OS: MS Windows XP
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: linux mint

Re: shared folders need GA reload every time

Post by wricotmw »

Thanks PerryG The folder was there in /media/sf_shareE but I had to change the file access permissions to be able to see it. Now all I need is a shortcut to it on the desktop. Terry
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: shared folders need GA reload every time

Post by Perryg »

Instead of changing file permissions you should add your login to the vboxsf group.
See Chapter 4.3.2. Automatic mounting in your VirtualBox users manual.
wricotmw
Posts: 4
Joined: 4. Jan 2011, 15:16
Primary OS: MS Windows XP
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: linux mint

Re: shared folders need GA reload every time

Post by wricotmw »

Ok did that then allowed read and write permissions for that group and it works fine. Is there an easy way to create shortcut on desktop? (Sorry - perhaps not the place to ask that) Thanks again.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: shared folders need GA reload every time

Post by loukingjr »

wricotmw wrote:Ok did that then allowed read and write permissions for that group and it works fine. Is there an easy way to create shortcut on desktop? (Sorry - perhaps not the place to ask that) Thanks again.
the easiest way is to open the shared folder and bookmark it in your file manager. you can then rename it to whatever you like.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
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: shared folders need GA reload every time

Post by Sasquatch »

And depending on the file manager, you can even right click the folder and send it to desktop. Thunar, Xfce4's file manager, can.
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.
wricotmw
Posts: 4
Joined: 4. Jan 2011, 15:16
Primary OS: MS Windows XP
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: linux mint

Re: shared folders need GA reload every time

Post by wricotmw »

Thanks guys both methods worked fine.
Post Reply