Share document between Windows host and Linux VMs

Discussions related to using VirtualBox on Windows hosts.
Post Reply
tot94
Posts: 24
Joined: 9. Oct 2015, 11:56

Share document between Windows host and Linux VMs

Post by tot94 »

Hello,

Here is my scheme :
Image

I don't my VMs being connected on Internet. So I'll share document between the host and the VMs.

I have install Guest addition on my Ubuntu :
Image
Image

And then I have shared a folder from my Windows host :
Image

The folder is noticeable from my Ubuntu VM :
Image

On my Ubuntu VM, I try to reach the folder, but I see nothing :
osboxes@osboxes:/$ ls media/
osboxes

But where do I reach to this folder ??? What is the patch from my Ubuntu VMs to this Windows host machine folder ??

Click on the image in order to see them fully.
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Share document between Windows host and Linux VMs

Post by loukingjr »

Before you can use shared folders you should run this in the Ubuntu Terminal...

Code: Select all

sudo apt-get install dkms build-essential
Then reinstall the guest additions.

You then need to add your username to the vboxsf Group

Code: Select all

sudo adduser username vboxsf
replace <username> with your actual user name
Then restart the guest.
The shared folder will be in the Media folder...
Attachments
screenshot.jpg
screenshot.jpg (31.79 KiB) Viewed 1141 times
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Post Reply