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.
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:
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 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.