VirtualBox共享本地资源设置

I've gotthe following error trying to enable folder sharing with a Linux Guest:

$ sudomount -t vboxsf my_share /mnt/share
/sbin/mount.vboxsf: mounting failed with the error: Nosuch device

I specified a shared folder named my_share,but there's no telling whether it is passed to the guest or not, for somereason. How am I supposed to tackle this error?

I tried this:

#modprobe vboxsf
FATAL: Module vboxsf not found.
# modprobe vboxfs
FATAL: Module vboxfs not found.
# modprobe vboxvsf
FATAL: Module vboxvsf not found.
# modprobe vboxvfs
FATAL: Module vboxvfs not found.

Solution

1-   install virtualbox-ose-addtitions-modules.

2-   See error:

 

#rpm–ivh kernel-devel-2.6.18-194.el5.rpm

 

3-Additions are already in place, of course... It actually needed.

#modprobe vboxvfs (if)
# mount -t vboxsf my_share /mnt/share

#mount -t vboxsf my_share /mnt/share -o rw,exec,uid=1000,gid=1000,dev (if)

 

4-在打开的界面文件中加入如下一行
tum /mnt/share vboxsf rw 0 0
(注:第一列为数据空间的名字,第二列为要mount的路径,后面为mount的参数)

<EOF>

转载于:https://www.cnblogs.com/ebs-blog/archive/2011/06/29/2167241.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值