Ubuntu虚拟机与win7无法共享文件夹的解决方案!
来源:互联网 发布:vue.js 左右滑动div 编辑:程序博客网 时间:2024/06/16 00:07
----------------------
安装vmware-tool时出现如下错误:
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-24-generic'
CC [M] /tmp/modconfig-FW4d8m/vmhgfs-only/backdoor.o
CC [M] /tmp/modconfig-FW4d8m/vmhgfs-only/backdoorGcc32.o
CC [M] /tmp/modconfig-FW4d8m/vmhgfs-only/bdhandler.o
CC [M] /tmp/modconfig-FW4d8m/vmhgfs-only/cpName.o
CC [M] /tmp/modconfig-FW4d8m/vmhgfs-only/cpNameLinux.o
CC [M] /tmp/modconfig-FW4d8m/vmhgfs-only/cpNameLite.o
CC [M] /tmp/modconfig-FW4d8m/vmhgfs-only/dentry.o
CC [M] /tmp/modconfig-FW4d8m/vmhgfs-only/dir.o
CC [M] /tmp/modconfig-FW4d8m/vmhgfs-only/file.o
/tmp/modconfig-FW4d8m/vmhgfs-only/file.c: In function ‘HgfsOpen’:
/tmp/modconfig-FW4d8m/vmhgfs-only/file.c:659:27: error: incompatible type for argument 3 of ‘HgfsSetUidGid’
current_fsuid(), current_fsgid());
^
In file included from /tmp/modconfig-FW4d8m/vmhgfs-only/file.c:46:0:
/tmp/modconfig-FW4d8m/vmhgfs-only/fsutil.h:92:6: note: expected ‘uid_t’ but argument is of type ‘kuid_t’
void HgfsSetUidGid(struct inode *parent,
^
/tmp/modconfig-FW4d8m/vmhgfs-only/file.c:659:27: error: incompatible type for argument 4 of ‘HgfsSetUidGid’
current_fsuid(), current_fsgid());
^
In file included from /tmp/modconfig-FW4d8m/vmhgfs-only/file.c:46:0:
/tmp/modconfig-FW4d8m/vmhgfs-only/fsutil.h:92:6: note: expected ‘gid_t’ but argument is of type ‘kgid_t’
void HgfsSetUidGid(struct inode *parent,
^
make[2]: *** [/tmp/modconfig-FW4d8m/vmhgfs-only/file.o] Error 1
make[1]: *** [_module_/tmp/modconfig-FW4d8m/vmhgfs-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-24-generic'
make: *** [vmhgfs.ko] Error 2
make: Leaving directory `/tmp/modconfig-FW4d8m/vmhgfs-only'
----------------------
解决方案如下:
----------------------
1 - Run: apt-get install dkms linux-headers-$(uname -r) build-essential psmisc
2 - Run: git clone https://github.com/rasa/vmware-tools-patches.git
3 - Run: cd vmware-tools-patches/patches
4 - Remove every folder except "vmhgfs".
5 - Get the last version of VMwareTools clicking on VMWare Bar > VM > Install/Reinstall VMWare Tools. It will open a virtual CD containing the "tar" file.
6 - Copy VMwareTools-9.2.4-1398046.tar.gz to "vmware-tools-patches" folder.
7 - On "vmware-tools-patches" folder, run: ./untar-and-patch-and-compile.sh
- Ubuntu虚拟机与win7无法共享文件夹的解决方案!
- ubuntu 虚拟机 与win7共享文件夹方法
- Win7与虚拟机VMware下运行的Ubuntu共享文件夹
- Win7与虚拟机VMware下运行的Ubuntu共享文件夹
- Win7与虚拟机VMware下运行的Ubuntu共享文件夹
- Win7与虚拟机VMware下运行的Ubuntu共享文件夹
- Win7与虚拟机VMware下运行的Ubuntu共享文件夹
- Win7与虚拟机VMware下运行的Ubuntu共享文件夹
- Win7与虚拟机VMware下运行的Ubuntu共享文件夹
- 虚拟机(Virtualbox-Ubuntu)与主机(WIN7)共享文件夹设置
- 虚拟机(Virtualbox-Ubuntu)与主机(WIN7)共享文件夹设置
- 在win7下与linux虚拟机Ubuntu建立共享文件夹
- 虚拟机(Virtualbox-Ubuntu)与主机(WIN7)共享文件夹设置
- 虚拟机(Virtualbox-Ubuntu)与主机(WIN7)共享文件夹设置
- 虚拟机 linux ubuntu 与 win7 系统之间文件夹共享
- vbox里面的Ubuntu虚拟机与主机win7之间设置共享文件夹
- Ubuntu与Win7共享文件夹
- ubuntu 虚拟机和win7共享文件夹
- ubuntu 程序后台运行几个方法
- 走近科学:二维码真的安全吗
- Java并发编程:线程间协作的两种方式
- 淘宝大秒系统设计详解
- 小试循环
- Ubuntu虚拟机与win7无法共享文件夹的解决方案!
- @RequestParam @RequestBody @PathVariable 等参数绑定注解详解
- poj 3176 Cow Bowling
- NYOJ129(判定树)
- 第二周项目4(1)用循环求
- C++第一次上机实验项目3——周工资计算
- Fragment+ViewPager使用示例
- 第二次试验2-3(项目3-1)
- 用循环求(2)