Hi folks,
I am having an issue with openSUSE 13.1 not being able to auto mount a share. I have scoured this forum and tried all of the solutions that I have found.
If I make an entry in my fstab file, it works fine with the "mount -a" command. But upon reboot, not only does it fail, but the system goes into a loop and will not come up. I am forced to restore my last snapshot. From what I have read, this is because fstab is accessed before the extensions, so the share isn't available yet. (Is there a way to reverse this order???)
The next solution I tried was to make the entry in the /etc/init.d/boot.local file. That had no effect at all.
The next solution I tried was to create /etc/init.d/rc.local and then chkconfig on. I made sure the file was executable, and when I run it manually, it does do the mount. But again, on reboot, no joy.
Since there seems to be some debate that openSUSE doesn't use rc.local now, I tried it with the name rclocal. Same thing.
Bottom line is that I've banged my head on this all day with no results. Has anybody figured out how to get openSUSE to mount a shared folder automatically? If so, please do share!
Oh, and BTW, the host is Windows 7 Pro, if that matters.
Thanks all for you input.
-Patrick
openSUSE 13.1 guest cannot auto mount shared folder
-
PatrickPem
- Posts: 2
- Joined: 9. Jan 2014, 21:20
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: openSUSE 13.1 guest cannot auto mount shared folder
Automounting a manual mount in opensuse 13, is an issue with opensuse.
You have the automount option when creating the share which will actually mount this for you in /media/<share_name>_sf but you will need to add the guests user name to the vboxsf group on the guest. See shared folders in the VBox users manual for complete details. All of this depends on having the guest additions installed ( on the guest )
Other than that you would need to actually reconstruct the rc.local structure which can be done but not for the faint hearted. The opensuse forums would be the best place for this discussion however.
You have the automount option when creating the share which will actually mount this for you in /media/<share_name>_sf but you will need to add the guests user name to the vboxsf group on the guest. See shared folders in the VBox users manual for complete details. All of this depends on having the guest additions installed ( on the guest )
Other than that you would need to actually reconstruct the rc.local structure which can be done but not for the faint hearted. The opensuse forums would be the best place for this discussion however.
-
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: openSUSE 13.1 guest cannot auto mount shared folder
FWIW, shared folders Auto-mount in OpenSUSE 13.2 and Leap 42.1.
Yes the thread is old.
Yes the thread is old.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.