win7下Virtualbox虚拟Ubuntu实现共享的问题

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
linlig
帖子: 6
注册时间: 2011-03-19 15:57

win7下Virtualbox虚拟Ubuntu实现共享的问题

#1

帖子 linlig » 2011-03-20 15:59

找百度没用,只好问大家了,顺便看看大家是否热心,不要让我失望哦!呵呵。
环境:win7旗舰 Virtualbox最新 Ubuntu最新 本人新手……
第一步:分配数据空间,选择主机的E:/eshare,固定分配。
第二步:终端(第一次用),百度搜的以下命令:
sudo mount -t vboxsf share /home/linlig/eshare/复制粘贴过去,Enter,(/home/linlig/eshare/文件夹我已创建)
But,出现一下结果:
sudo mount -t vboxsf share /home/linlig/eshare/
/sbin/mount.vboxsf: mounting failed with the error: Protocol error
linlig@linlig-laptop:~$

翻译得:Protocol error=协议错误
请问大家如何解决?谢谢了!!在线等 :em02

同志们不要再说我没安装增强功能,没安装是不能全屏的……显然安装了。



大家可以走了……我已经找到问题了:mount -t vboxsf share /home/linlig/eshare/(/home/linlig/eshare/文件夹我已创建)
大家看出来了吗?哎!!少了个字母e!!现在解决了……
上次由 linlig 在 2011-03-21 20:56,总共编辑 2 次。
头像
zhw2101024
帖子: 1849
注册时间: 2009-03-28 16:10
系统: Arch debian win7
联系:

Re: win7下Virtualbox虚拟Ubuntu实现共享的问题

#2

帖子 zhw2101024 » 2011-03-20 17:07

貌似现在的virtualbox有些功能做到扩展包里了,官网有一个叫Extension Pack的。本人没用win7,仅供参考
天使ッ翼
帖子: 679
注册时间: 2010-06-19 11:44

Re: win7下Virtualbox虚拟Ubuntu实现共享的问题

#3

帖子 天使ッ翼 » 2011-03-20 18:02

只试过ubuntu下用virtualbox虚拟XP实现共享,这个没试过
linlig
帖子: 6
注册时间: 2011-03-19 15:57

Re: win7下Virtualbox虚拟Ubuntu实现共享的问题

#4

帖子 linlig » 2011-03-20 18:07

zhw2101024 写了:貌似现在的virtualbox有些功能做到扩展包里了,官网有一个叫Extension Pack的。本人没用win7,仅供参考
呵呵,没用的。
甲骨文官方文档:http://www.virtualbox.org/manual/ch01.h ... installing

摘抄如下:

VirtualBox comes in many different packages, and installation depends on your host operating system. If you have installed software before, installation should be straightforward: on each host platform, VirtualBox uses the installation method that is most common and easy to use. If you run into trouble or have special requirements, please refer to Chapter 2, Installation details for details about the various installation methods.

Starting with version 4.0, VirtualBox is split into several components.

The base package consists of all open-source components and is licensed under the GNU General Public License V2.

Additional extension packs can be downloaded which extend the functionality of the VirtualBox base package. Currently, Oracle provides the one extension pack, which can be found at http://www.virtualbox.org and provides the following added functionality:

The virtual USB 2.0 (EHCI) device; see the section called “USB settings”.

VirtualBox Remote Desktop Protocol (VRDP) support; see the section called “Remote display (VRDP support)”.

Intel PXE boot ROM with support for the E1000 network card.

VirtualBox extension packages have a .vbox-extpack file name extension. To install an extension, simply double-click on the package file, and the VirtualBox Manager will guide you through the required steps.

To view the extension packs that are currently installed, please start the VirtualBox Manager (see the next section). From the "File" menu, please select "Preferences". In the window that shows up, go to the "Extensions" category which shows you the extensions which are currently installed and allows you to remove a package or add a new one.

Alternatively you can use VBoxManage on the command line: see the section called “VBoxManage extpack” for details.


谷歌翻译:


VirtualBox的有多种不同的封装,并安装在你的主机操作系统而定。如果您已经安装软件之前,安装应简单:每个主机平台上,使用VirtualBox的安装方法是最常见和易于使用。如果您遇到困难或有特殊要求,请参阅第2章,约占各种安装方法安装详细细节。

从版本4.0开始,VirtualBox是分裂成几个部分。

基本包包括所有开源组件,根据GNU通用公共许可证V2的许可。

附加扩展包可以下载,这延长了VirtualBox的基本包的功能。目前,Oracle提供了一个扩展包,可在http://www.virtualbox.org发现并提供以下附加功能:

虚拟的USB 2.0(EHCI)的装置;看到所谓的“USB设置”一节。

VirtualBox的远程桌面协议(残疾人复业)的支持,见一节所谓的“远程显示器(残疾人复业的支持)”。

与英特尔的E1000型的PXE网络卡支持引导ROM。

VirtualBox的扩展包有一个。vbox的- extpack文件扩展名。要安装扩展,只需双击该包文件,单击,在VirtualBox的经理将引导您完成所需步骤。

要查看当前已安装的扩展包,请启动VirtualBox的经理(见下一节)。从“文件”菜单,请选择“首选项”。在窗口中显示出来,转到“扩展”类​​别,显示你目前有安装并允许你删除一个包或添加一个新的扩展。

另外,您可以使用VBoxManage命令行:见一节名为“VBoxManage extpack”了解详情。
头像
fantlam
帖子: 200
注册时间: 2007-06-28 23:08
来自: 佛山
联系:

Re: win7下Virtualbox虚拟Ubuntu实现共享的问题

#5

帖子 fantlam » 2011-03-20 20:48

专注于linux的写作---linux视野
http://www.linuxsight.com
linlig
帖子: 6
注册时间: 2011-03-19 15:57

Re: win7下Virtualbox虚拟Ubuntu实现共享的问题

#6

帖子 linlig » 2011-03-20 22:24

fantlam 写了:增强功能装了么
http://www.linuxsight.com/blog/1199
呵呵,增强功能装了,否则不能全屏!
头像
zhw2101024
帖子: 1849
注册时间: 2009-03-28 16:10
系统: Arch debian win7
联系:

Re: win7下Virtualbox虚拟Ubuntu实现共享的问题

#7

帖子 zhw2101024 » 2011-03-20 22:36

fantlam 写了:增强功能装了么
http://www.linuxsight.com/blog/1199
同意楼上的,vboxsf是一种文件格式,要安装增强功能系统才能识别这种文件格式的,在设备-安装增强功能,会自动挂载光盘,里面有一个VBoxLinuxAddition.run,用sudo sh VBoxLinuxAddition.run运行
linlig
帖子: 6
注册时间: 2011-03-19 15:57

Re: win7下Virtualbox虚拟Ubuntu实现共享的问题

#8

帖子 linlig » 2011-03-20 22:50

zhw2101024 写了:
fantlam 写了:增强功能装了么
http://www.linuxsight.com/blog/1199
同意楼上的,vboxsf是一种文件格式,要安装增强功能系统才能识别这种文件格式的,在设备-安装增强功能,会自动挂载光盘,里面有一个VBoxLinuxAddition.run,用sudo sh VBoxLinuxAddition.run运行
为什么我的评论总要审核那么久???我再说一遍,我安装了增强功能,因为不按照的话无法全屏。
头像
zhw2101024
帖子: 1849
注册时间: 2009-03-28 16:10
系统: Arch debian win7
联系:

Re: win7下Virtualbox虚拟Ubuntu实现共享的问题

#9

帖子 zhw2101024 » 2011-03-21 18:43

有没有尝试分配另一个数据空间,重新挂载?或者再全新安装一个ubuntu虚拟机进行挂载,这样就知道是虚拟机的问题还是virtualbox的问题了。这才是积极解决问题的态度。否则光靠这点信息,神仙也没法帮你
回复