I used to do this about a year ago, so my memory is foggy. Also, I was running a Windows 7 guest on an Ubuntu host. I installed VirtualBox from the then Sun repository, not Ubuntu.
The VirtualBox GUI had settings for sharing host directories with the guest in the guest configuration settings. I recall the setup being pretty trivial, though not entirely stable.
I know that this is the opposite of what you need, but if you want more precise information, I can fire up that machine on Monday and take a look.
On Jul 29, 2011 2:39 PM, "Rich Freeman" <
r-plug@thefreemanclan.net> wrote:
> On Fri, Jul 29, 2011 at 10:36 AM, Eric H. Johnson
> <
ejohnson@camalytics.com> wrote:
>> So far I have found setting up a share to be quite
>> difficult requiring the installation of host and client add-ons for
>> VirtualBox, installing packages including header files on Ubuntu, and then
>> doing a mount.
>
> That's actually exactly what I do. I install the virtualbox guest
> additions in the client. I already have them installed in the host
> (you need kernel modules to run virtualbox anyway - this is just one
> more). If a packaged version is available for the distro I'm running
> I just use that, but you do have to keep host and guest additions
> version-synchronized.
>
> Then I just set up a mount in fstab. If things get out of sync I just
> use scp as a fallback. There is also fuse.sshfs or any number of
> other fileshare solutions (which admittedly are pretty poor on linux -
> would be nice to see something like 9P ported).
>
> Note that I just run virtualbox at home for
> convenience/development/experimentation. I don't run some kind of
> hosting solution or anything production-quality over it.
>
> Rich
> ___________________________________________________________________________
> Philadelphia Linux Users Group --
http://www.phillylinux.org
> Announcements -
http://lists.phillylinux.org/mailman/listinfo/plug-announce> General Discussion --
http://lists.phillylinux.org/mailman/listinfo/plug