Re: VirtualBox: sharing files between the host and guest OS
On Tue, 26 Jul 2011 15:12:58 -0500, Jason Hsu wrote:
> How do I share files between the host OS and guest OS? (Both are
> Linux.)
>
> The version of VirtualBox I'm using is 4.0.8 r71778.
>
> Until recently, I was using an older version of VirtualBox and had no
> difficulty sharing files between the host and guest OS. In VirtualBox
> 4.0, I have yet to successfully do so.
>
> The directory I'm sharing is ~/share under the guest OS and /mnt/host
> under the host OS. When I enter "mount -t vboxsf share /mnt/host", I get
> the error message "/sbin/mount.vboxsf: mounting failed with the error:
> Invalid argument".
>
> The package dkms is already installed in the guest OS. I also installed
> the build-essential package in the guest OS, but the file sharing still
> refuses to work.
>
> Yes, I have the shared folders set up under the Devices -> Shared
> Folders menu. And both the ~/share folder in the guest OS and /mnt/host
> in the guest OS exist.
>
> So what little detail am I missing?
Have you installed the extpack on the host?
Reply to: