Shared folder won't mount
Shared folder won't mount
Okay, I'm new here and I need some help.
I've never used linux before now, so bear with me...
I'm running VirtualBox 1.5.6 on a host system of Windows XP SP2.
In a virtual machine (through which I am typing now) I'm running Ubuntu 7.10.
Now, everything's been going well so far, except I can't get the shared folder to mount in Ubuntu.
I type the command "sudo mount -t vboxsf shared /home/ian/shared"
and I get this error: "/sbin/mount.vboxsf: mounting failed with the error: No such file or directory"
I don't know what I'm doing wrong...
I've created the shared folder in Ubuntu in "shared" simply enough.
I've also used the Shared Folders utility in VirtualBox to create a folder called "shared" and all that.
I could use some help... please?
I think i'm just missing some step or some command...
I've never used linux before now, so bear with me...
I'm running VirtualBox 1.5.6 on a host system of Windows XP SP2.
In a virtual machine (through which I am typing now) I'm running Ubuntu 7.10.
Now, everything's been going well so far, except I can't get the shared folder to mount in Ubuntu.
I type the command "sudo mount -t vboxsf shared /home/ian/shared"
and I get this error: "/sbin/mount.vboxsf: mounting failed with the error: No such file or directory"
I don't know what I'm doing wrong...
I've created the shared folder in Ubuntu in "shared" simply enough.
I've also used the Shared Folders utility in VirtualBox to create a folder called "shared" and all that.
I could use some help... please?
I think i'm just missing some step or some command...
With guest additions installed, and a share created in VB, I get the "device not found" error everytime I try to mount a share.
Here's my setup:
Ubuntu 7.10. VB version 1.5.6
Guest is a daily build of Lenny, kernel 2.6.24-1. Guest additions installed against the kernel fine. No errors.
created a share /home/n6yga/VirtualDrive, name test.
as root, I enter mount.vboxsf test /media/share. The share folder does exist.
I get the "device not found" error ever time. No matter how I form the command.
I must be doing something really stupid cause I can't see the error.
Also, mount -t vboxsf test /media/share errors out the same way.
HELP!!!!!
Mark.
Here's my setup:
Ubuntu 7.10. VB version 1.5.6
Guest is a daily build of Lenny, kernel 2.6.24-1. Guest additions installed against the kernel fine. No errors.
created a share /home/n6yga/VirtualDrive, name test.
as root, I enter mount.vboxsf test /media/share. The share folder does exist.
I get the "device not found" error ever time. No matter how I form the command.
I must be doing something really stupid cause I can't see the error.
Also, mount -t vboxsf test /media/share errors out the same way.
HELP!!!!!
Mark.
Just tried your exact command and got the same error: "no such device"tonne wrote:Ubuntu 8.04 on Vista Home Premium 64 bit.
Added a shared folder in vb:
Path t:\temp
Name temp
In Ubuntu as root (sudo -s)
mount -tvboxsf temp /mnt
If mounting to /media/share make sure the folder exist.
Any other ideas?
M.
I just had the same problem, and I found a solution !
This worked for me, under Debian:
install Guest Additions
<-- Don't know why, but i needed it
then, it worked like a charm
This worked for me, under Debian:
install Guest Additions
Code: Select all
sudo modprobe vboxvfs
Code: Select all
sudo mount -t vboxsf shared /mnt/vbshared
then, it worked like a charm
Last edited by nico on 21. May 2008, 19:48, edited 1 time in total.
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
WORKS!!!
Using the virtualbox command was the only way it would work for me. My version of vitualbox is 1.5.6
Obviously, VirtualDrive is a folder on the HOST system, in the /home/<username> directory.
I sincerely hope that this will help some other poor shlub who is guesting linux repos on a linux host.
Mark.
P.S. THANK YOU NICO!!! I don't know why the new virtualbox kernel module doesn't load after a reboot, but this works so I'll move on!!!
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
WORKS!!!
Using the virtualbox command was the only way it would work for me. My version of vitualbox is 1.5.6
Obviously, VirtualDrive is a folder on the HOST system, in the /home/<username> directory.
I sincerely hope that this will help some other poor shlub who is guesting linux repos on a linux host.
Mark.
P.S. THANK YOU NICO!!! I don't know why the new virtualbox kernel module doesn't load after a reboot, but this works so I'll move on!!!
I'm guessing you're problem would be solved (in a cleaner way) by the solution I gave there: http://forums.virtualbox.org/viewtopic.php?t=6139n6yga wrote:A smaller new problem:
Adding vboxvfs to /etc/modules should start that module at boot time. Unfortunately it does not.
I'll keep at it and report back...
Mark.
Doesn't work for me
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.
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.