Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I would like to share data between a VirtualBox OSE guest OS and the host. This location should be also writable by either of the two.

share|improve this question

2 Answers 2

Open the Virtualbox gui; select the guest you wish to have the shared directory and select "Settings". In the dialog box, select the "Shared Folders" tab (on the left). Click on the "+" button on the right to create a new location (of an existing directory on the host). On the next guest boot, the location will be available to the guest OS (depending on how it accesses drives). As long as the underlying filesystem is writable to the Virtualbox guest, then it will be writable by both guest and host.

share|improve this answer
    
Note that the guest needs the Virtualbox Guest Additions libraries installed - e.g. in Windows, this is accomplished through the "Install Guest Additions" menu item, Ubuntu guests can install the virtualbox-guest and virtualbox-guest-x11 packages, etc. –  Piskvor Apr 9 '11 at 12:33

If you want to share the other way around. Then set up a network share in the guest, and connect to in from the host. Note: Use a host only network interface.

share|improve this answer

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.