VMware 6.5 安装Ubuntu9.04无法共享磁盘目录的解决方法

Kvm、VMware、Virtualbox、Xen、Qemu 等
chinasunjh
帖子: 27
注册时间: 2009-03-10 21:46

VMware 6.5 安装Ubuntu9.04无法共享磁盘目录的解决方法

#1

帖子 chinasunjh » 2009-04-29 16:18

目前大家安装时报错,主要是因为内核版本中的参数与程序中的参数不一致的缘故,目前未在网上发现其他解决补丁,
本人尝试修改了page.c报错部分,经编译通过,与大家共享。

VMware 6.5版本的 vmware tools 安装方法:
首先加载相关安装盘,具体不再详述。
将vmware tools.tar.gz文件解压至/tmp目录
将以下文件解压:
sudo tar -xvf /tmp/vmware-tools-distrib/lib/modules/source/vmhgfs.tar
将文件
/tmp/vmware-tools-distrib/lib/modules/source/cvmhgfs-only/page.c
替换为附件中的文件
重新打包
cd /tmp/vmware-tools-distrib/lib/modules/source/
rm vmhgfs.tar
sudo tar -cvf vmhgfs.tar cvmhgfs-only/
cd /tmp/vmware-tools-distrib/
执行安装程序:
sudo ./vmware-install.pl -d
自动至安装完成
page.tar
(40 KiB) 已下载 1034 次
walkinger
帖子: 1
注册时间: 2009-02-16 21:13

Re: VMware 6.5 安装Ubuntu9.04无法共享磁盘目录的解决方法

#2

帖子 walkinger » 2009-04-30 14:40

我先前安装的vmtools不能共享文件夹,看到楼主的帖子后又按照帖子重新安装了一次vmtools,但是还是在文件夹里看不到共享的文件,安装的时候也没有报告什么错误,不知道怎么回事。 :em20
chinasunjh
帖子: 27
注册时间: 2009-03-10 21:46

Re: VMware 6.5 安装Ubuntu9.04无法共享磁盘目录的解决方法

#3

帖子 chinasunjh » 2009-04-30 17:39

walkinger 写了:我先前安装的vmtools不能共享文件夹,看到楼主的帖子后又按照帖子重新安装了一次vmtools,但是还是在文件夹里看不到共享的文件,安装的时候也没有报告什么错误,不知道怎么回事。 :em20

先要卸载原有安装。
cydst
帖子: 1
注册时间: 2009-04-30 19:49

Re: VMware 6.5 安装Ubuntu9.04无法共享磁盘目录的解决方法

#4

帖子 cydst » 2009-04-30 21:43

楼主你太牛逼了,佩服
chinasunjh
帖子: 27
注册时间: 2009-03-10 21:46

Re: VMware 6.5 安装Ubuntu9.04无法共享磁盘目录的解决方法

#5

帖子 chinasunjh » 2009-05-07 13:31

看见好多朋友用不起来,自己顶一下。
snowbest
帖子: 5
注册时间: 2009-05-04 20:42

Re: VMware 6.5 安装Ubuntu9.04无法共享磁盘目录的解决方法

#6

帖子 snowbest » 2009-05-08 5:22

我用了,可还是不行,不知道什么地方出问题了
snowbest
帖子: 5
注册时间: 2009-05-04 20:42

Re: VMware 6.5 安装Ubuntu9.04无法共享磁盘目录的解决方法

#7

帖子 snowbest » 2009-05-08 5:53

Trying to find a suitable vmhgfs module for your running kernel.

None of the pre-built vmhgfs modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmhgfs module for
your system (you need to have a C compiler installed on your system)? [yes]

Extracting the sources of the vmhgfs module.

Building the vmhgfs module.

make: *** /tmp/vmware-config1/vmhgfs-only: 没有该文件或目录。 停止。
Unable to build the vmhgfs module.

我看了下实际上有这个目录

PS:/tmp/vmware-tools-distrib/lib/modules/source/vmhgfs.tar

这个压缩包里的文件夹,我的名字是vmhgfs-only,不是你你说的cvmhgfs-only
secondsunn
帖子: 1
注册时间: 2009-05-08 10:46

Re: VMware 6.5 安装Ubuntu9.04无法共享磁盘目录的解决方法

#8

帖子 secondsunn » 2009-05-14 16:44

先执行 sudo vmware-uninstall-tools.pl 卸载vmwaretools,再按照一楼直至完成。
chinasunjh
帖子: 27
注册时间: 2009-03-10 21:46

Re: VMware 6.5 安装Ubuntu9.04无法共享磁盘目录的解决方法

#9

帖子 chinasunjh » 2009-05-16 11:41

snowbest 写了:Trying to find a suitable vmhgfs module for your running kernel.

None of the pre-built vmhgfs modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmhgfs module for
your system (you need to have a C compiler installed on your system)? [yes]

Extracting the sources of the vmhgfs module.

Building the vmhgfs module.

make: *** /tmp/vmware-config1/vmhgfs-only: 没有该文件或目录。 停止。
Unable to build the vmhgfs module.

我看了下实际上有这个目录

PS:/tmp/vmware-tools-distrib/lib/modules/source/vmhgfs.tar

这个压缩包里的文件夹,我的名字是vmhgfs-only,不是你你说的cvmhgfs-only
不好意思,有可能输错了,请根据实际修改。
magic_c
帖子: 4
注册时间: 2009-05-15 21:15

Re: VMware 6.5 安装Ubuntu9.04无法共享磁盘目录的解决方法

#10

帖子 magic_c » 2009-05-16 11:48

将vmware tools.tar.gz文件解压至/tmp目录


请问怎么解压呀...点右键好象没有,全是英文,看不懂.....我是最最新新新的手.....以前从来没接触过ubuntu
头像
dmoon
帖子: 8
注册时间: 2009-05-16 14:56

Re: VMware 6.5 安装Ubuntu9.04无法共享磁盘目录的解决方法

#11

帖子 dmoon » 2009-05-16 15:54

:em20 开始自己编译VM失败N次,最后放弃用BUNDLE包装了囧
改天重新编译安装试试~

to ls:
打开终端输入
tar zxvf vmware tools.tar.gz /tmp
后面那个是你的文件名,打几个字母用TAB键就补全了,完了就自动解压了 zxvf是4个参数,具体请man tar
magic_c
帖子: 4
注册时间: 2009-05-15 21:15

Re: VMware 6.5 安装Ubuntu9.04无法共享磁盘目录的解决方法

#12

帖子 magic_c » 2009-05-16 16:02

还是不懂....有没有大大们发个图文的啊。怎么装tools
magic_c
帖子: 4
注册时间: 2009-05-15 21:15

Re: VMware 6.5 安装Ubuntu9.04无法共享磁盘目录的解决方法

#13

帖子 magic_c » 2009-05-16 16:11

我现在就在桌面上看到vmware tools的一个光盘,里面有3个东西,manifest.txt VMwareTools-7.8.5-156735.i386.rpm VMwareTools-7.8.5-156735.tar.gz 到底怎么弄啊...
magic_c
帖子: 4
注册时间: 2009-05-15 21:15

Re: VMware 6.5 安装Ubuntu9.04无法共享磁盘目录的解决方法

#14

帖子 magic_c » 2009-05-16 16:17

这张就是我在VM里的ubuntu9.04的桌面,有问题没?
附件
.jpg
.jpg
头像
dmoon
帖子: 8
注册时间: 2009-05-16 14:56

Re: VMware 6.5 安装Ubuntu9.04无法共享磁盘目录的解决方法

#15

帖子 dmoon » 2009-05-17 13:59

打开终端
cd /media/VMware tools
sudo tar zxvf VMwareTools-7.8.5-156735.tar.gz /tmp
就这样就解压到/tmp了
回复