You are not logged in.

#1 2014-07-18 05:22:30

pico
Member
Registered: 2013-07-06
Posts: 18

[SOLVED] Shared folders on ArchLinux virtualbox guest

Hi. I use
Host:
Win7 x64
VirtualBox 4.3.12 r93733

Guest:
ArchLinux x86
virtualbox-guest-modules 4.3.12-6
virtualbox-guest-utils 4.3.12-1

I made shared folder named share.
What i tryed:

[root@localhost /home/admin]# mount -t vboxsf share /mnt/share
/sbin/mount.vboxsf: mounting failed with the error: No such file or directory

[root@localhost /home/admin]# modprobe vboxsf
[root@localhost /home/admin]# mount -t vboxsf share /mnt/share
/sbin/mount.vboxsf: mounting failed with the error: No such file or directory

[root@localhost /home/admin]# mount | grep box
[root@localhost /home/admin]#

[root@localhost /home/admin]# ls -al /mnt
total 8
drwxr-xr-x  2 root root 4096 Jul 16 18:35 .
drwxr-xr-x 17 root root 4096 Jul 17 08:38 ..
[root@localhost /home/admin]# ls -al /mount
ls: cannot access /mount: No such file or directory
[root@localhost /home/admin]# ls -al /media
ls: cannot access /media: No such file or directory

I tryed create folders /mount and /media and reboot but nothing appears there.
BUT!

[root@localhost /home/admin]# VBoxControl sharedfolder list -automount
Oracle VM VirtualBox Guest Additions Command Line Management Interface Version 4.3.12_OSE
(C) 2008-2014 Oracle Corporation
All rights reserved.

Auto-mounted Shared Folder mappings (1):

01 - share

Just in case:

[root@localhost /home/admin]# dmesg | grep box
[    7.949382] vboxguest: major 0, IRQ 20, I/O port d020, MMIO at 00000000f0400000 (size 0x400000)
[    7.949390] vboxguest: Successfully loaded version 4.3.12_OSE (interface 0x00010004)
[    8.085564] [drm] Initialized vboxvideo 1.0.0 20090303 for 0000:00:02.0 on minor 0
[  498.389827] vboxsf: Successfully loaded version 4.3.12_OSE (interface 0x00010004)

Any idea how to mount that folder?
Thank you.

Last edited by pico (2014-07-18 08:08:54)

Offline

#2 2014-07-18 08:02:10

mkoskar
Member
Registered: 2014-07-16
Posts: 64
Website

Re: [SOLVED] Shared folders on ArchLinux virtualbox guest

pico wrote:
[root@localhost /home/admin]# ls -al /mnt
total 8
drwxr-xr-x  2 root root 4096 Jul 16 18:35 .
drwxr-xr-x 17 root root 4096 Jul 17 08:38 ..
[root@localhost /home/admin]# ls -al /mount
ls: cannot access /mount: No such file or directory
[root@localhost /home/admin]# ls -al /media
ls: cannot access /media: No such file or directory

It seems like you're missing the target directory ( /mnt/share in this case ).

Offline

#3 2014-07-18 08:08:40

pico
Member
Registered: 2013-07-06
Posts: 18

Re: [SOLVED] Shared folders on ArchLinux virtualbox guest

mkoskar, oh my god, it helped. Thank you so much!

In case somebody will google this, you do need modprobe vboxsf or nothing will work.

Last edited by pico (2014-07-18 18:32:28)

Offline

Board footer

Powered by FluxBB