Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HELP - virtualbox shared folder problem
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2383
Location: Kentucky

PostPosted: Fri Dec 25, 2020 11:53 pm    Post subject: HELP - virtualbox shared folder problem Reply with quote

I am running a gentoo vm in virtualbox on a windows-10 host.

I have installed the virtualbox-guest-additions per the wiki, but when I try to mount the shared folder, I get:
Code:

gentoo ~ # mount -t vboxsf share /mnt/win
/sbin/mount.vboxsf: mounting failed with the error: No such device
gentoo ~ #
[gentoo ~ # ls -l /mnt
total 0
drwxr-xr-x 2 root root 6 Dec 25 21:36 cdrom
drwxr-xr-x 2 root root 6 Dec 25 21:47 win
gentoo ~ # ls -l /mnt/win/
total 0
gentoo ~ #

That mount command was the best I could figure from a little pop-up that vbox manager (w10 pgm) gives me, but it looks like a hokey mount command to me. What is the correct mount command?

I would expect mount /dev/<something> -t vboxsf share /mnt/win
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
apiaio
Guru
Guru


Joined: 04 Dec 2008
Posts: 426

PostPosted: Sat Dec 26, 2020 12:51 pm    Post subject: Reply with quote

AFAIK, VirtualBox share folders should be mounted as network drives. In my local network I've always been
using cifs. Example:
Code:
mount -t cifs //192.168.x.x/VM /mnt/VM
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2383
Location: Kentucky

PostPosted: Sat Dec 26, 2020 4:56 pm    Post subject: Reply with quote

I cannot use a windows shared folder in the samba, etc. sense because I have sensitive information in the shared tree; therefore, I must use the vboxsf approach, since it does not go over the network.
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum