想知道: 烟台标之家商标注册专利申请版权注册专利注册中心在哪

共享文件夹设置好了,但是在虚拟机中的Ubuntu系统下却看不到,怎么办?& & & & &一种可能的原因是系统没有自动挂载,解决办法:& & & & &1、安装:& & & & & & & &sudo apt-get install open-vm-dkms& & & & &2、挂载:& & & & & & & &sudo mount -t vmhgfs .host:/ /mnt/hgfsVMware 中的 Ubuntu 虚拟机看不到共享文件夹怎么办?如果你在 Ubuntu 虚拟机的文件系统 /mnt/hgfs 中看不到原先的共享文件夹了,可按照下列顺序操作:1。确保您的虚拟机关机。2。编辑虚拟机的配置,添加共享文件夹,并启用它。例如,我的宿主机是Windows 7Bit64,共享文件夹C:/TEST3。启动客户操作系统,例如,我的虚拟机操作系统是Ubuntu10.044。重要的是,打开一个终端窗口,运行 sudo vmware-config-tools.pl,按回车接受默认值即可5。在/mnt/hgfs,你将会看到共享文件夹。恭喜!很简单吧,上面只是重新配置了一下 VMware 工具。如果对你有所帮助,请留个言。谢谢。VMware下 Ubuntu 看不到共享文件夹之解决办法初学Linux,在VMWare 上装了Ubuntu10.04,主机端和虚拟机相互间的访问是必不可少的,途径有许多,其中vmware tool提供的共享文件夹方式简单又方便。然而,有时却莫名其妙的,在Ubuntu上看不到共享文件夹了,网上查了一下,有人说是Ubuntu更新使得看不到共享文件夹的,具体原因我没有深究,但解决之道其实也很方便,从根本上来说就是:卸载,重装。而且这两个步骤运行一个脚本就能完成了。当然这里说的卸载不是指把给Ubuntu卸载了,而是说把 VMWare-tools卸载了。什么,你说不知道怎么卸载?不急不急,容我慢慢道来,呵呵....启动Ubuntu,点击VMWare 的菜单 VM --& Reinstall VMWare Tools,这样在Ubuntu端 /media 下 有个 VMware Tools文件夹,里面有个 VMwareTools-xxx-xxx.tar.gz 把它解压到其他目录(或先拷贝过去再解压,因为当前目录相当于是光驱,只读的),解压后得到一个 vmware-tools-distrib/文件夹,运行里面 &vmware-install.pl脚本文件,它会先卸vmware tools 然后再安装,其中有很多提示要求确认,默认的即可。完成之后,再到/mnt/hgfs/下看看..............我们久违的共享文件夹又回来了图1:安装过程中图2: 安装完成参考文章:/Linux/98.htm
最新教程周点击榜
微信扫一扫怎样让装在VMware里的Ubuntu与win7共享文件
var sogou_ad_id=731547;
var sogou_ad_height=160;
var sogou_ad_width=690;VMWare Workstation中实现Win7和Ubuntu虚拟机之间的文件共享 - 推酷
VMWare Workstation中实现Win7和Ubuntu虚拟机之间的文件共享
期间,需要把win7中的文件,共享到VMware Workstation的虚拟机Ubuntu中。
【折腾过程】
1.去VMWare中,VM-&Settings:
2.默认的文件共享:
Options-&Shared Folders:
是关闭的:
Always Enabled:
然后再去添加文件夹:
7.然后进去Ubuntu中,看看能否看到和使用此共享。
结果直接出错:
看来需要重启Ubuntu才可以的。
8.重启后,进入Ubuntu,参考:
但是在/mnt下没有看到希望的hgfs:
所以,再参考:
去看看vmhgfs是否安装了,结果没有:
crifan@ubuntu:/mnt$
lsmod | grep vmhgfs
crifan@ubuntu:/mnt$ lsmod
bnep,rfcomm
aesni_intel
1 aesni_intel
1 aesni_intel
1 aesni_intel
ablk_helper
1 aesni_intel
1 ablk_helper
snd_ens1371
snd_ac97_codec
snd_ens1371
1 snd_ac97_codec
1 snd_ens1371
parport_pc
2 snd_ac97_codec,snd_ens1371
snd_page_alloc
snd_seq_midi
snd_seq_midi_event
1 snd_seq_midi
snd_rawmidi
2 snd_ens1371,snd_seq_midi
2 snd_seq_midi_event,snd_seq_midi
snd_seq_device
3 snd_seq,snd_rawmidi,snd_seq_midi
2 snd_pcm,snd_seq
11 snd_ac97_codec,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_ens1371,snd_seq_device
vmw_balloon
ttm,vmwgfx
3 lp,ppdev,parport_pc
hid_generic
2 hid_generic,usbhid
2 mptspi,mptscsih
vmw_pvscsi
crifan@ubuntu:/mnt$
9.所以去手动insmod试试,结果根本没此模块:
crifan@ubuntu:/mnt$ modprobe vmhgfs
FATAL: Module vmhgfs not found.
10.所以,只能参考:
再去安装vmware tools:
大事却看到是已经安装过的,所以显示uninstall:
11.但是参考之前的帖子,是可以看到共享的文件夹的:
crifan@ubuntu:/mnt$ vmware-hgfsclient
crosstool_ng_src
但是接下来去尝试弄pl脚本,结果太麻烦:
crifan@ubuntu:/mnt$ sudo vmware-config-tools.pl
Initializing...
Making sure services for VMware Tools are stopped.
vmware-tools stop/waiting
[EXPERIMENTAL] The VMware FileSystem Sync Driver (vmsync) is a new feature that
creates backups of virtual machines. Please refer to the VMware Knowledge Base
for more details on this capability. Do you wish to enable this feature?
Before you can compile modules, you need to have the following installed...
kernel headers of the running kernel
Searching for GCC...
Detected GCC binary at &/usr/bin/gcc&.
The path &/usr/bin/gcc& appears to be a valid path to the gcc binary.
Would you like to change it? [no]
Searching for a valid kernel header path...
The path && is not a valid path to the 3.8.0-19-generic kernel headers.
Would you like to change it? [yes]
Enter the path to the kernel header files for the 3.8.0-19-generic kernel?
The path && is not a valid path to the 3.8.0-19-generic kernel headers.
Would you like to change it? [yes]
Enter the path to the kernel header files for the 3.8.0-19-generic kernel?
The path && is not a valid path to the 3.8.0-19-generic kernel headers.
Would you like to change it? [yes]
Enter the path to the kernel header files for the 3.8.0-19-generic kernel?
The path && is not a valid path to the 3.8.0-19-generic kernel headers.
Would you like to change it? [yes]
Enter the path to the kernel header files for the 3.8.0-19-generic kernel?
The path && is not a valid path to the 3.8.0-19-generic kernel headers.
Would you like to change it? [yes]
Enter the path to the kernel header files for the 3.8.0-19-generic kernel? ^C
Execution aborted.
crifan@ubuntu:/mnt$ ^C
crifan@ubuntu:/mnt$ ^C
crifan@ubuntu:/mnt$ gksu gedit /etc/fstab
The program 'gksu' is currently not installed. You can install it by typing:
sudo apt-get install gksu
crifan@ubuntu:/mnt$
12.还是去试试别人的:
就可以了:
crifan@ubuntu:/mnt$ sudo apt-get install open-vm-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
dkms ethtool fakeroot libdumbnet1 open-vm-dkms zerofree
Suggested packages:
dpkg-dev debhelper open-vm-toolbox
The following NEW packages will be installed:
dkms ethtool fakeroot libdumbnet1 open-vm-dkms open-vm-tools zerofree
0 upgraded, 7 newly installed, 0 to remove and 198 not upgraded.
Need to get 1,141 kB of archives.
After this operation, 9,508 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us./ubuntu/ raring/main dkms all 2.2.0.3-1.1ubuntu2 [72.8 kB]
Get:2 http://us./ubuntu/ raring/main ethtool i386 1:3.4.2-1 [98.3 kB]
Get:3 http://us./ubuntu/ raring/main ethtool i386 1:3.4.2-1 [98.3 kB]
Get:4 http://us./ubuntu/ raring/main fakeroot i386 1.18.4-2ubuntu1 [89.0 kB]
Err http://us./ubuntu/ raring/main fakeroot i386 1.18.4-2ubuntu1
Connection failed [IP: 91.189.91.14 80]
Get:5 http://us./ubuntu/ raring/universe libdumbnet1 i386 1.12-3.1 [30.7 kB]
Get:6 http://us./ubuntu/ raring/multiverse open-vm-dkms all -ubuntu3 [394 kB]
Get:7 http://us./ubuntu/ raring/multiverse open-vm-dkms all -ubuntu3 [394 kB]
Get:8 http://us./ubuntu/ raring/multiverse open-vm-tools i386 -ubuntu3 [448 kB]
Get:9 http://us./ubuntu/ raring/universe zerofree i386 1.0.2-1ubuntu1 [8,574 B]
Fetched 954 kB in 11min 38s (1,366 B/s)
Failed to fetch http://us./ubuntu/pool/main/f/fakeroot/fakeroot_1.18.4-2ubuntu1_i386.deb
Connection failed [IP: 91.189.91.14 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
crifan@ubuntu:/mnt$ sudo apt-get install open-vm-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
dkms ethtool fakeroot libdumbnet1 open-vm-dkms zerofree
Suggested packages:
dpkg-dev debhelper open-vm-toolbox
The following NEW packages will be installed:
dkms ethtool fakeroot libdumbnet1 open-vm-dkms open-vm-tools zerofree
0 upgraded, 7 newly installed, 0 to remove and 198 not upgraded.
Need to get 89.0 kB/1,141 kB of archives.
After this operation, 9,508 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us./ubuntu/ raring/main fakeroot i386 1.18.4-2ubuntu1 [89.0 kB]
Fetched 41.1 kB in 1s (33.7 kB/s)
Selecting previously unselected package dkms.
(Reading database ... 155956 files and directories currently installed.)
Unpacking dkms (from .../dkms_2.2.0.3-1.1ubuntu2_all.deb) ...
Selecting previously unselected package ethtool.
Unpacking ethtool (from .../ethtool_1%3a3.4.2-1_i386.deb) ...
Selecting previously unselected package fakeroot.
Unpacking fakeroot (from .../fakeroot_1.18.4-2ubuntu1_i386.deb) ...
Selecting previously unselected package libdumbnet1.
Unpacking libdumbnet1 (from .../libdumbnet1_1.12-3.1_i386.deb) ...
Selecting previously unselected package open-vm-dkms.
Unpacking open-vm-dkms (from .../open-vm-dkms_-ubuntu3_all.deb) ...
Selecting previously unselected package open-vm-tools.
Unpacking open-vm-tools (from .../open-vm-tools_-ubuntu3_i386.deb) ...
Selecting previously unselected package zerofree.
Unpacking zerofree (from .../zerofree_1.0.2-1ubuntu1_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Setting up dkms (2.2.0.3-1.1ubuntu2) ...
Setting up ethtool (1:3.4.2-1) ...
Setting up fakeroot (1.18.4-2ubuntu1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libdumbnet1 (1.12-3.1) ...
Setting up open-vm-dkms (-ubuntu3) ...
Loading new open-vm-tools- DKMS files...
First Installation: checking all kernels...
Building only for 3.8.0-19-generic
Building for architecture i686
Building initial module for 3.8.0-19-generic
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/3.8.0-19-generic/updates/dkms/
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/3.8.0-19-generic/updates/dkms/
vmhgfs.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/3.8.0-19-generic/updates/dkms/
vmxnet.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/3.8.0-19-generic/updates/dkms/
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/3.8.0-19-generic/updates/dkms/
depmod....
DKMS: install completed.
Setting up open-vm-tools (-ubuntu3) ...
Configuration file `/etc/vmware-tools/suspend-vm-default'
==& File on system created by you or by a script.
==& File also in package provided by package maintainer.
What would you like to do about it ?
Your options are:
: install the package maintainer's version
: keep your currently-installed version
: show the differences between the versions
: start a shell to examine the situation
The default action is to keep your current version.
*** suspend-vm-default (Y/I/N/O/D/Z) [default=N] ?
Configuration file `/etc/vmware-tools/poweron-vm-default'
==& File on system created by you or by a script.
==& File also in package provided by package maintainer.
What would you like to do about it ?
Your options are:
: install the package maintainer's version
: keep your currently-installed version
: show the differences between the versions
: start a shell to examine the situation
The default action is to keep your current version.
*** poweron-vm-default (Y/I/N/O/D/Z) [default=N] ?
Configuration file `/etc/vmware-tools/scripts/vmware/network'
==& File on system created by you or by a script.
==& File also in package provided by package maintainer.
What would you like to do about it ?
Your options are:
: install the package maintainer's version
: keep your currently-installed version
: show the differences between the versions
: start a shell to examine the situation
The default action is to keep your current version.
*** network (Y/I/N/O/D/Z) [default=N] ?
Configuration file `/etc/vmware-tools/resume-vm-default'
==& File on system created by you or by a script.
==& File also in package provided by package maintainer.
What would you like to do about it ?
Your options are:
: install the package maintainer's version
: keep your currently-installed version
: show the differences between the versions
: start a shell to examine the situation
The default action is to keep your current version.
*** resume-vm-default (Y/I/N/O/D/Z) [default=N] ?
Configuration file `/etc/vmware-tools/statechange.subr'
==& File on system created by you or by a script.
==& File also in package provided by package maintainer.
What would you like to do about it ?
Your options are:
: install the package maintainer's version
: keep your currently-installed version
: show the differences between the versions
: start a shell to examine the situation
The default action is to keep your current version.
*** statechange.subr (Y/I/N/O/D/Z) [default=N] ?
Configuration file `/etc/vmware-tools/poweroff-vm-default'
==& File on system created by you or by a script.
==& File also in package provided by package maintainer.
What would you like to do about it ?
Your options are:
: install the package maintainer's version
: keep your currently-installed version
: show the differences between the versions
: start a shell to examine the situation
The default action is to keep your current version.
*** poweroff-vm-default (Y/I/N/O/D/Z) [default=N] ?
update-initramfs: deferring update (trigger activated)
* Loading open-vm-tools modules
* Remove pcnet32 module, if vmxnet is loaded
* Starting open-vm daemon vmtoolsd
Setting up zerofree (1.0.2-1ubuntu1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for ureadahead ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.8.0-19-generic
crifan@ubuntu:/mnt$ sudo mkdir /mnt/hgfs
crifan@ubuntu:/mnt$ sudo mout -t vmhgfs .host:/ /mnt/hgfs
sudo: mout: command not found
crifan@ubuntu:/mnt$ sudo mount -t vmhgfs .host:/ /mnt/hgfs
crifan@ubuntu:/mnt$ ls /mnt/hgfs/ -l
drwxrwxrwx 1 root root 8192 Jul 31 01:58 crosstool_ng_src
crifan@ubuntu:/mnt$ ll /mnt/hgfs/crosstool_ng_src/
total 232564
drwxrwxrwx 1 root root
8192 Jul 31 01:58 ./
dr-xr-xr-x 1 root root
7 02:39 ../
-rwxrwxrwx 1 root root
Jul 23 01:00 binutils-2.20.tar.bz2*
-rwxrwxrwx 1 root root
Jul 23 00:00 binutils-2.22.tar.bz2*
-rwxrwxrwx 1 root root
772737 Jul 24 22:44 cloog-ppl-0.15.11.tar.gz*
-rwxrwxrwx 1 root root
572629 Jul 23 00:21 dmalloc-5.5.2.tar.bz2*
-rwxrwxrwx 1 root root
343078 Jul 23 02:45 expat-2.0.1.tar.bz2*
-rwxrwxrwx 1 root root
446456 Jul 23 02:40 expat-2.0.1.tar.gz*
-rwxrwxrwx 1 root root
562616 Jul 24 01:33 expat-2.1.0.tar.gz*
-rwxrwxrwx 1 root root
Jul 24 01:25 gcc-4.2.2.tar.bz2*
-rwxrwxrwx 1 root root
Jul 23 00:14 gcc-4.4.3.tar.bz2*
-rwxrwxrwx 1 root root
Jul 24 22:22 gcc-4.4.6.tar.bz2*
-rwxrwxrwx 1 root root
Jul 25 02:38 gcc-4.6.0.tar.bz2*
-rwxrwxrwx 1 root root
Jul 24 01:28 gdb-6.8a.tar.bz2*
-rwxrwxrwx 1 root root
Jul 23 00:22 gdb-6.8.tar.bz2*
-rwxrwxrwx 1 root root
Jul 23 00:15 glibc-2.9.tar.bz2*
-rw-rw-rw- 1 root root
457264 Jul 23 01:03 glibc-ports-2.9.tar.bz2
-rwxrwxrwx 1 root root
1897483 Jul 23 00:22 gmp-4.3.2.tar.bz2*
-rwxrwxrwx 1 root root
2024576 Jul 24 22:25 gmp-5.0.2.tar.bz2*
-rw-rw-rw- 1 root root
148529 Nov
2009 libelf-0.8.13.tar.gz
-rwxrwxrwx 1 root root
2012 linux-2.6.19.1.tar.bz2*
-rwxrwxrwx 1 root root
Jul 23 00:08 linux-2.6.36.tar.bz2*
-rw-rw-rw- 1 root root
147198 Jul 25
2009 ltrace_0.5.3.orig.tar.gz
-rw-rw-rw- 1 root root
1151445 Mar 31
2006 make-3.81.tar.bz2
-rw-rw-rw- 1 root root
565953 Feb 21
2011 mpc-0.9.tar.gz
-rwxrwxrwx 1 root root
1077886 Jul 23 00:23 mpfr-2.4.2.tar.bz2*
-rw-rw-rw- 1 root root
1083128 Oct
2011 mpfr-3.1.0.tar.xz
-rwxrwxrwx 1 root root
1276843 Jul 23 02:16 ncurses-5.7.tar.bz2*
-rwxrwxrwx 1 root root
2445052 Jul 23 01:41 ncurses-5.7.tar.gz*
-rwxrwxrwx 1 root root
2826473 Jul 24 01:30 ncurses-5.9.tar.gz*
-rwxrwxrwx 1 root root
Jul 24 22:37 ppl-0.11.2.tar.bz2*
-rwxrwxrwx 1 root root
499565 Jul 23 00:18 strace-4.5.19.tar.bz2*
crifan@ubuntu:/mnt$
1. 第一次安装Ubuntu的时候:
就已经看到有安装VMWare Tools了
2.本以为此处只需要去开启文件共享,然后直接添加文件夹即可。
设置好共享文件夹后。
3.结果出错,/mnt下,找不到hgfs文件夹。
后来是用如下命令,解决的:
sudo apt-get install open-vm-tools
sudo mkdir /mnt/hgfs
sudo mount -t vmhgfs .host:/ /mnt/hgfs
已发表评论数()
请填写推刊名
描述不能大于100个字符!
权限设置: 公开
仅自己可见
正文不准确
标题不准确
排版有问题
主题不准确
没有分页内容
图片无法显示
视频无法显示
与原文不一致VMware 下Ubuntu与宿主Windows共享文件夹_图文_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
VMware 下Ubuntu与宿主Windows共享文件夹
上传于|0|0|文档简介
&&VMware 下Ubuntu与宿主Windows共享文件夹
阅读已结束,如果下载本文需要使用0下载券
想免费下载更多文档?
定制HR最喜欢的简历
你可能喜欢dwf07223 的BLOG
用户名:dwf07223
文章数:51
访问量:35347
注册日期:
阅读量:5863
阅读量:12276
阅读量:400558
阅读量:1090514
51CTO推荐博文
为了在VMware下实现Ubuntu与宿主机Win 7共享文件,先说明环境信息: & &宿主机:Windows 7 企业版 & &VMware Workstation:VMware Workstation 9.0.0 build-812388 & &Ubuntu:ubuntu-12.04-desktop-amd64步骤:一、确定两系统之间是否能够实现数据的传输可以在Win 7系统的cmd命令行(在Win 7系统下按WIN+R打开运行窗口输入cmd即可)下执行ping命令,看是否能够ping通VM下的Ubuntu,同样可以在Ubuntu的终端里执行相应的ping命令,确定两系统可以相互ping通之后,就说明我们可以在两系统之间传递数据了。二、安装VMware tool1、先进入Ubuntu系统,点击VMware Workstation菜单虚拟机 --& 安装VMware Tools
& &然后会在Ubuntu系统桌面上创建一个光盘的图标,会自动打开该光盘,表示将VMware tool的安装文件载入到Ubuntu的光驱中了,如下图所示。2、在终端中输入下面的命令: & &获取root权限:sudo passwd root,设置密码,然后使用root用户 & &切换到VMware Tools目录:cd /media/VMware Tools & &拷贝VMwareTools-8.4.5-324285.tar.gz文件到根目录:cp VMwareTools-9.2.0-799703.tar.gz /注:不同的VMware版本文件名可能不同。 &
切换到根目录:cd / &
执行解压命令,解压缩tar包:sudo tar vzxf VMwareTools-8.4.5-324285.tar.gz & &切换到vmware-tools-distrib目录:cd vmware-tools-distrib/ & &安装VMware Tools:sudo ./vmware-install.pl注:此时可能会出现一个找不到命令对的错误,是因为这个命令有点小问题,需要改为 & &chmod +x vmware-install.pl & &sudo ./vmware-install.pl(还保留这种错误是由于网络很多教程都这样子的写法,然后就一直报错) & &一路Enter选择默认安装就行,安装成功后如下图:然后在Ubuntu系统中打开目录:文件系统 --& mnt --& hgfs下边就能看到主机共享到的文件夹本文参考来源,感谢!本文出自 “” 博客,请务必保留此出处
了这篇文章
类别:┆阅读(0)┆评论(0)
本文收录至博客专题:《》

我要回帖

更多关于 烟台商标注册 的文章

 

随机推荐