Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am running VirtualBox OSE in an Ubuntu Lucid host.
The Guest system is also Ubuntu Lucid.

I've set up a Host directory to share with the Guest via VirutulBox's Shared Folders.
This directory is owned by the same user who is running the VM.
The permissions on the directory are: drwxrwxrw

I've installed virtualbox-guest-additions(via Synaptic)

I can't find the shared diretory on the Guest.

I've looked high and low, in /media and /mnt... nothing!

I managed to share the same directory with a Windows Guest, but I am familiar with Windows...

Am I just missing something simple?

share|improve this question
add comment

1 Answer 1

up vote 6 down vote accepted

Yep, you just need to mount the directory manually. To do that, use mount -t vboxsf SHARENAME /path/to/where/to/mount.

SHARENAME depends on your shared folder, it is the name you entered into VirtualBox Shared Folders dialog.

/path/to/where/to/mount should ideally be inside your user directory (inside VBox). In my case, I use /home/evgeny-vbox/Documents.

EDIT: if you want it to be mounted at boot-time too, add this to your /etc/fstab:

SHARENAME /path/to/where/to/mount vboxsf defaults 0 0
share|improve this answer
3  
On the Guest, I tried: ubuntu@Lucid:~$ sudo mount -t vboxsf zap /home/ubuntuzap... I got this error: /sbin/mount.vboxsf: mounting failed with the error: No such device ..... /sbin/mount.vboxsf shows the Link Target as: /usr/lib/VBoxGuestAdditions/mount.vboxsf –  Peter.O Oct 13 '10 at 5:38
2  
How did you install the Guest Additions? Package that you installed provides the ISO, not the additions themselves. Follow this guide: helpdeskgeek.com/linux-tips/… . You might need to use cd /media/VBOX* –  evgeny Oct 13 '10 at 5:41
    
Initially I used the .ISO, and then, when that didn't seem to work, I installed the addons via Synaptic.... I'll start afresh, with an new VM, and follow the guide you've posted... and try again. Thanks... –  Peter.O Oct 13 '10 at 5:44
    
IIRC the sharename can be chosen in the dialog box of share creation (there is also a command line tool in the host), so it is not necessarily the last name in the path. –  enzotib Oct 13 '10 at 5:45
    
Good point, I stand corrected (and edited) –  evgeny Oct 13 '10 at 5:48
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.