Page 1 of 1

Shared directory with win10 host and ubuntu guest

Posted: 12. Sep 2016, 22:20
by motip
Hi,

I have win 10 OS and use VirtualBox 5.1.4 to create Ubuntu 16.04.01 desktop guest.
I created a folder in the host (e.g. d:\\shared_dir) and then set the settings in the guest:
Shared Folders -> Machine Folders -> Browse the directory in the host and type the Folder Name and select "Auto-mount"

I started the ubuntu guest and go to /media directory but can see any item (expected sf_shared_dir)

Am I missed something?
\
Thanks
Moti

Re: Shared directory with win10 host and ubuntu guest

Posted: 12. Sep 2016, 23:10
by socratis
Have you followed the instructions in the User Manual, 4.3.2 Automatic mounting? Including installing the Guest Additions in the guest?

Re: Shared directory with win10 host and ubuntu guest

Posted: 13. Sep 2016, 14:23
by motip
Yes,

After install the Ubuntu I installed the guest:
sudo apt-get update
sudo apt-get install dkms
sudo apt-get install virtualbox-guest-additions-iso
sudo apt-get install virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11

And then define the shared directory in host, power-off the guest and start the ubuntu again.

But nothing is not appear under /media directory

Please advise

Re: Shared directory with win10 host and ubuntu guest

Posted: 13. Sep 2016, 17:59
by socratis
motip wrote:
sudo apt-get update
sudo apt-get install dkms
sudo apt-get install virtualbox-guest-additions-iso
sudo apt-get install virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11
That's not the correct way to install the Guest Additions. You got the Ubuntu fork of VirtualBox, not the official one. Remove them. Start re-reading the instructions carefully and follow them step-by-step please from Chapter 4.2.2. Guest Additions for Linux and forward.