come from  http://gb2013.blog.163.com/blog/static/2173530120103473444372/

 

 

 

一、VirtualBox在winxp下虚拟ubuntu
在winxp下虚拟ubuntu,在ubuntu下访问win的共享文件夹时出现如下错误:
/sbin/mount.vboxsf: mounting failed with the error: No such device
1,若要使用共享文件夹功能,必须安装linux guest additions,安装增强功能,这一步得注意不然没戏
2,lsmod | grep vboxvfs,确保加载了vboxvfs模块,若没有,使用sudo modprobe vboxvfs加载
3,新建一个文件夹,sudo mkdir /home/js/dxn
4,sudo mount -t vboxsf xuni /home/js/dxn 即:sudo mount -t vboxsf “共享文件夹名” “虚拟机共享文件夹目录”
5,cd /home/js/dxn
二、VirtualBox在winxp下虚拟win xp
1、安装增强功能程序
2、在虚拟机设置分配数据空间,如我通常设置为F:\xunixt\xuni
3、启动虚拟机(本例为 Windows XP),点击开始菜单中的“运行”,并输入 cmd,然后执行以下指令:
4、net use F: \\vboxsvr\dxn
   net use 共享文件所在盘符: \\vboxsvr\共享的文件夹名称
5、重新启动虚拟机,搞定!
三、VirtualBox在ubuntu8.10(host linux)下虚拟win xp
1、安装增强功能并重启
2、在ubuntu8.10终端执行
   VBoxManage sharedfolder add "XP" -name "dxn" -hostpath "\home\js\dxn"
   VBoxManage sharedfolder add "VM name 指定要使用共享文件夹的虚拟机名称" -name "共享的文件夹名称" -hostpath "主机共享文件夹所在路径"
3、启动虚拟机(本例为 Windows XP),点击开始菜单中的“运行”,并输入 cmd,然后执行以下指令:
net use Z: \\vboxsvr\dxn
net use Z: \\vboxsvr\共享的文件夹名称
四、VirtualBox在ubuntu8.10(host linux)下虚拟ubuntu 这样作有点无聊哈
根据上述举一反三就搞定




see here 

simple it is a bug

B:
Host: Win XP
Guest: Ubuntu 8.04
i want to share two folders in host to guest
but when i mount the second folder, on
e error occurred:
"mounting failed with the error: Protocol error"

Q:
mount the second shared folders in host to guest, it have an error:
"mounting failed with the error: Protocol error"

S:
I google the error message, i found it is a bug
so, my solution is 
combined the two folder in on
e folder, i just do on
e mount
it is OK

ps. 

sudo mount -t vboxsf share_f32 /home/fits/xp_f32
sudo mount -t vboxsf 804 /mnt/vbox