You are not logged in.

#1 2011-03-10 20:52:03

mitch_feaster
Member
From: San Diego, CA
Registered: 2011-02-27
Posts: 55
Website

[SOLVED] mount VirtualBox shared folder (windows host, arch guest)

Hi,

I'm trying to get shared folders working with VirtualBox on a Windows host and an Arch guest.

It was working fine with my fresh install before I set up X or gnome, but after setting up X/Gnome I re-ran the VBoxLinuxAdditions.run so that I could get the X guest additions, and now I get the following error whenever I try to mount my shared folder:

# mount /mnt/h/
/sbin/mount.vboxsf: mounting failed with the error: Invalid argument

VirtualBox is puking pretty good on my syslog, which I've pasted here (something about creating a duplicate filename...).

my fstab entry looks like this:

h /mnt/h vboxsf uid=1000,gid=100 0 0

(And I get the same error when just running `mount -t vboxsf h /mnt/h`).

I've also tried doing `/etc/rc.d/rc.vboxadd setup` again, but to no avail...

Any ideas?
Thanks!

Last edited by mitch_feaster (2011-03-10 21:24:58)

Offline

#2 2011-03-10 21:13:04

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] mount VirtualBox shared folder (windows host, arch guest)

Have you added the Shared Folder under the Settings?

I dont have to manually mount the folder or put it in fstab at all because I have enabled the Auto Mount in the Settings itself and given it full access.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2011-03-10 21:24:18

mitch_feaster
Member
From: San Diego, CA
Registered: 2011-02-27
Posts: 55
Website

Re: [SOLVED] mount VirtualBox shared folder (windows host, arch guest)

Aha! Good call. I had indeed enabled it and set it to auto-mount (just found it under /media/sf_h). Thanks!

(The wiki page kind of makes it sound like you need to go through fstab... I might just make a note of this fact there...

Offline

#4 2011-03-10 21:26:11

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] mount VirtualBox shared folder (windows host, arch guest)

yeah, I think when virtualbox upgraded to 4.0.4, there were some changes made which have still not made their way to the wiki smile


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB