Can no longer mount a shared folder openSuse 11.4

Discussions about using Linux guests in VirtualBox.
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

Can no longer mount a shared folder openSuse 11.4

Post by loukingjr »

I was setting up a shared folder to automount the way I had done previously. When I booted openSuse it wasn't mounted. then I tried just to mount it in the terminal. That didn't work either...

louis@linux-zun9:~> sudo mount -t vboxsf Media /mnt/Media
root's password:
/sbin/mount.vboxsf: mounting failed with the error: Protocol error


happens whether I use sudo or switch to root.

all the guest additions seem to be working, shared clipboard, resizing screen, integrated mouse, no 3D of course :(

I also got this again when I was setting up rclocal

linux-zun9:/home/louis # chkconfig --add rclocal
insserv: warning: current start runlevel(s) (3 5) of script `vboxadd-x11' overwrites defaults (empty).


any thoughts?
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: Can no longer mount a shared folder openSuse 11.4

Post by Sasquatch »

Check my Howto: Use Shared Folders for the error. It's the name and mount point: they can't be the same like you have.
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.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Can no longer mount a shared folder openSuse 11.4

Post by Perryg »

I know a lot of people say that you can not have the share name and the mount point name the same, but I have never had a problem using it that way.
I setup a share called Download from the host and then In terminal as su:

Code: Select all

linux-a8v8:/mnt # mkdir Downloads
linux-a8v8:/mnt # ls
Downloads
linux-a8v8:/mnt # mount -t vboxsf Downloads /mnt/Downloads
linux-a8v8:/mnt # cd Downloads
linux-a8v8:/mnt/Downloads # ls
Debian-makeself  makeself.run  VirtualBox-3.2.10-OSE.tar.bz2
linux-a8v8:/mnt/Downloads # 
What you need to look at is the Guest Additions that are installed in openSUSE. my 11.3 is using pre-installed GAs for 3.2.6 and I have not installed 11.4 yet but I suspect that may be your problem depending on if you installed the GAs from your version or not. The protocol error is really misleading too. It simply means that it did not work.
HwyChld
Posts: 6
Joined: 11. Nov 2010, 17:50
Primary OS: MS Windows XP
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu, Puppy Linux

Re: Can no longer mount a shared folder openSuse 11.4

Post by HwyChld »

When I got the protocol error it was because the name I specified in the mount instruction did not match what was shown in the Devices->Shared Folders ... from the host. So check that as well.
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: Can no longer mount a shared folder openSuse 11.4

Post by loukingjr »

Sasquatch wrote:Check my Howto: Use Shared Folders for the error. It's the name and mount point: they can't be the same like you have.
I guess that's possible however, as PerryG said, I have never had a problem with it before. I have 23 guests currently (don't ask), and openSuse is the only one balking at it. And what's odd is, It was working in openSuse 11.4 m2, but I did a fresh install of 11.4 m3 and now it doesn't. But I will change the mountpoint name and see what happens.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
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: Can no longer mount a shared folder openSuse 11.4

Post by loukingjr »

well, I changed the name of the mountpoint and it still doesn't work. I don't remember now but I think I actually had to change some user setting or network setting in openSuse 11.4 the last time to get it to work. but I think that was because it didn't seem to know what "vboxsf" was.
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: Can no longer mount a shared folder openSuse 11.4

Post by Sasquatch »

I don't have problems with similar named mount point and SF name, but it's something to keep in mind when dealing with this protocol error.

You shouldn't have to change anything about networks or user settings. Have you tried reinstalling the Guest Additions? Maybe you got a kernel update and the modules weren't compiled properly or something.
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.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Can no longer mount a shared folder openSuse 11.4

Post by Perryg »

openSUSE 11.3 - 11.4 has the GAs installed (their version) I removed their version and installed the newest update from VB to match my version of VBox and had the exact same error, that's why I asked if you had updated your GAs. I am in the middle of figuring out why and what happened so we can all know what to do.
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: Can no longer mount a shared folder openSuse 11.4

Post by loukingjr »

Perryg wrote:openSUSE 11.3 - 11.4 has the GAs installed (their version) I removed their version and installed the newest update from VB to match my version of VBox and had the exact same error, that's why I asked if you had updated your GAs. I am in the middle of figuring out why and what happened so we can all know what to do.
oh sorry, I missed where you asked. I didn't even realize they had guest additions pre-installed till I went poking around. So I had installed the PUEL additions on top of theirs which were still there afterwards. I deleted them but as you already know, that didn't help.

maybe I should stop fooling with alpha/beta/milestone versions.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Can no longer mount a shared folder openSuse 11.4

Post by Perryg »

OK I found that the version of the GAs that are installed can not be removed properly by the VirtualBox installer. (note: it says as much when you try)
Proper way is to use the package manager to remove the openSUSE version of the GAs. Install the necessary packages and then install the VirtualBox GAs. after that everything works as it should. Have not tried compositing yet though.
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: Can no longer mount a shared folder openSuse 11.4

Post by loukingjr »

Perryg wrote:OK I found that the version of the GAs that are installed can not be removed properly by the VirtualBox installer. (note is says as much when you try)
Proper way is to use the package manager to remove the openSUSE version of the GAs. Install the necessary packages and then install the VirtualBox GAs. after that everything works as it should. Have not tried compositing yet though.
Does that include the video and mouse driver? because if it does, I know already I am going to be stuck trying to mount and install the guest additions in text only mode.

and um, which necessary packages?
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Can no longer mount a shared folder openSuse 11.4

Post by Perryg »

You can remove them and still work the mouse and keyboard. Just not as smooth
In terminal as su :

Code: Select all

zypper install gcc make automake autoconf kernel-source kernel-syms
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: Can no longer mount a shared folder openSuse 11.4

Post by loukingjr »

Perryg wrote:You can remove them and still work the mouse and keyboard. Just not as smooth
In terminal as su :

Code: Select all

zypper install gcc make automake autoconf kernel-source kernel-syms
ok thanks, I had installed those the first time I had installed the guest additions. But are you saying if I remove their vbox video driver, reboot to install the PUEL versions I will boot to a GUI?

I'm asking because I don't know how to install the guest additions from a tty screen.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Can no longer mount a shared folder openSuse 11.4

Post by Perryg »

Yes you should. All that will be missing is the GA stuff. Which will be there once you install the right GAs.
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: Can no longer mount a shared folder openSuse 11.4

Post by loukingjr »

Perryg wrote:Yes you should. All that will be missing is the GA stuff. Which will be there once you install the right GAs.
okay thanks. I tried something like this with PCLinuxOS, removing all their OSE additions and their video and mouse drivers and it didn't go so well. But I'll give it a shot. Thanks again.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Post Reply