How to share folders with your ubuntu virtual machine (guest)

I’ve an Ubuntu 12.04 machine on which I’ve put in VirtualBox with Ubuntu 12.04 because the visitor OS.

How can I share recordsdata between the host and visitor?

I’ve put in the visitor additions additionally however nonetheless it’s not ready to mount the sf_shared folders if even it’s mounted. This implies I am unable to retrieve the file from the host.

additionally see: askubuntu.com/questions/30396/… – however I like to recommend to use Ubuntu’s inbuilt file sharing by means of the virtual community.

@EricCarvalho It does appear to be one in all these needs to be made a replica of the opposite. The titles may be edited if essential, since there aren’t that many variations between Ubuntu and different hosts for this. Both method, solutions of the closed questions may be merged into the opposite, particularly if there’s concern about them being obscured or (much less doubtless) sometime deleted. This one has way more views, however for most individuals I believe the reply on the opposite one is likely to be probably the most helpful.

5 Solutions 5

I don’t consider its potential to share recordsdata between the host and the visitor with out putting in the extension pack first although I may very well be improper on this.

Examine that the model of Virtualbox you will have. Mine is 4.2.18 and double click on the hyperlink

You must see one thing like this

Click on OK and let it set up.

Subsequent step create a folder on your host machine as as share space

I’ve created one referred to as VboxShare in my house listing.

First, make it possible for your virtual machine is powered off.

Then, go into settings for your virtual machine, choose shared folders then the plus icon to create a shared folder and fill within the particulars set it to auto mount.

Click on OK then begin your visitor.

Job Carried out the shared folder seems on you visitor machine as

There is just one extra step add any person in your visitor system that wants entry to the folder to the group vboxsf:

I’ve Win7 put in in VirtualBox as visitor and I’ve shared my “MyFolder” for this.
So, I can see it in visitor’s Home windows Explorer as “MyFolder(vboxsrv) (E:)”
How can I entry this folder from command immediate?
E: and pushd vboxrsv do not work

Did you attempt pushd vboxsvrMyFolder . If your drive is mapped correctly then E: ought to give you the option to do it.

I do not know why however after I did what I posted in my reply – the whole lot works – E: and cd d E:. Earlier than It hadn’t labored.

@csharpwinphonexaml I’ve posted the reply already, however I do not know If it is an common answer, as a result of I am unable to describe what was the actual downside. It is like JustForMe answer on JustForMyProblem )

Four Solutions 4

Trending type is predicated off of the default sorting technique — by highest rating — however it boosts votes which have occurred just lately, serving to to floor extra up-to-date solutions.

It falls again to sorting by highest rating if no posts are trending.

Swap to Trending type

Manually ran cmd from inside File Explorer and now I can entry E:

It isn’t an common answer, however in my case it solved the problem.

Simply questioning: if you happen to began cmd usually, could not you will have modified the listing with `cd /d e:`?

I had the identical downside when utilizing an elevated command immediate. On this case I wanted to map the identical drive letter once more. From inside the elevated command immediate do

This can present the accurately mapped drive letter, however the letter is inaccessible from inside the elevated command promt. Then map the identical drive letter once more:

web use f: vboxsrvShared

Now F: is accessible.

The reason being that elevated command prompts normally create a brand new logon session which don’t share the symbolic hyperlinks with the present login periods.