Shared folder won't mount

Discussions about using Linux guests in VirtualBox.
lot
Posts: 10
Joined: 7. May 2008, 14:49

Re: Doesn't work for me

Post by lot »

stanley wrote:What does it mean when I do modprobe vboxvfs and it tells me FATAL ERROR module not found.

What's supposed to put it wherever it's supposed to be. I have run LinuxAdditions and it completed OK.

Please help -- this is a horrible mess.
Are you still running the same kernel as when you compiled the VBox Additions? (you need to re-install them when the kernel version changes.)
n6yga
Posts: 7
Joined: 14. May 2008, 22:41

Re: Doesn't work for me

Post by n6yga »

stanley wrote:What does it mean when I do modprobe vboxvfs and it tells me FATAL ERROR module not found.

What's supposed to put it wherever it's supposed to be. I have run LinuxAdditions and it completed OK.

Please help -- this is a horrible mess.
Did you reboot after installing the additions?

modprobe should work fine IF the modules are created.

However, Lot's suggestion is the right answer. I wondered if the modules were getting skipped at boot...

M.
stanley
Posts: 43
Joined: 14. Jan 2008, 13:49

More basic problem

Post by stanley »

Thanks for the responses.

Modprobe works now, but still, still, still I cannot mount a shared file. I have no idea what went wrong.

The message I get is "Protocol Error". Please tell me it's some simple mistake I made so I can fix it and get on with my work...
meisterpj
Posts: 2
Joined: 17. Jul 2008, 11:41

Post by meisterpj »

n6yga wrote:Ok, here's the way it worked for me:

1. as root, install the virtualbox guest additons.
2. reboot the guest system (in this case a lenny install)
3. modprobe vboxvfs (reports nothing so all is well)
4. mount.vboxsf VirtualDrive /media/shared
Thanks. This worked for me after a few hours of searching for solutions. I am new to ubuntu, and is there a way I can just have it mount it automatically when it boots up?
robocoastie
Posts: 9
Joined: 1. Nov 2007, 03:19
Location: Nebraska
Contact:

Post by robocoastie »

meisterpj wrote:
n6yga wrote:Ok, here's the way it worked for me:

1. as root, install the virtualbox guest additons.
2. reboot the guest system (in this case a lenny install)
3. modprobe vboxvfs (reports nothing so all is well)
4. mount.vboxsf VirtualDrive /media/shared
Thanks. This worked for me after a few hours of searching for solutions. I am new to ubuntu, and is there a way I can just have it mount it automatically when it boots up?
If you add it to your fstab it should be mounted at boot and show up in your "Places". I havn't tried it yet myself but I will in an hour when this encode I'm doing is complete.

Rob
thank you,

Robert Reppert
h1d
Volunteer
Posts: 170
Joined: 3. Jul 2008, 02:10

Post by h1d »

Don't put it on fstab, unless somehow you can manage to load vboxvfs module at a much earlier moment.

When fstab mounts the file system, vboxvfs is yet to be loaded, I just wrote the mount command in the /etc/rc.local file and all was good.
robocoastie
Posts: 9
Joined: 1. Nov 2007, 03:19
Location: Nebraska
Contact:

woot! that worked

Post by robocoastie »

thanks h1d. Your tip on putting it in rc.local worked!

Rob
thank you,

Robert Reppert
meisterpj
Posts: 2
Joined: 17. Jul 2008, 11:41

Post by meisterpj »

thanks.. works like a charm..
NO5
Posts: 10
Joined: 16. Nov 2007, 23:09

Re: Doesn't work for me

Post by NO5 »

stanley wrote:What does it mean when I do modprobe vboxvfs and it tells me FATAL ERROR module not found.

What's supposed to put it wherever it's supposed to be. I have run LinuxAdditions and it completed OK.

Please help -- this is a horrible mess.
Same here, and i cant install the shared folder like the first poster of this thread.

my sytem:
host: windows xp sp 2
vb: 1.5.6
guest : ubuntu 7.10

how do i install the shared folder afterall ?
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post by TerryE »

Have you Installed Guest Additions? Have you rebooted to load the drivers? Have you read the Forum Posting Guide?
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Post by stefan.becker »

And please use a newer version.
NO5
Posts: 10
Joined: 16. Nov 2007, 23:09

Post by NO5 »

TerryE wrote:Have you Installed Guest Additions? Have you rebooted to load the drivers? Have you read the Forum Posting Guide?
yes, yes, no
Did i do something wrong, you seem angry.

newer version of vb? i had not noticed i was so behind, i will do that. Sorry i had it working a year ago, i reinstalled it and i cant remember how i made it to work.

bye.
NO5
Posts: 10
Joined: 16. Nov 2007, 23:09

Post by NO5 »

Thanks, ive updated vb, now it worked.
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Post by TerryE »

NO5 wrote:Did i do something wrong, you seem angry.
No, just being terse, sorry. When someone just posts something like "how do i install the shared folder afterall?" without any further backup info, then 75% of the time they haven't bothered to install GA. Hence my Qs. My answers will be very different depending on your response, but glad to see that upgrading to the current GA has fixed your problem.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
tdyer
Posts: 5
Joined: 22. Dec 2008, 16:39

Post by tdyer »

I have GA installed (2.0.6) with ubuntu 8.04. The mouse integration and screen resizing works, but if i try to mount the shared folder i get a protocol error and modprobe returns

trd@ubuntu:~$ sudo modprobe vboxfs
FATAL: Module vboxfs not found.

Any Ideas?
Post Reply