LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1409|回复: 10

求助Mandrakelinux 10.1中安装VMware for linux问题

[复制链接]
发表于 2005-3-13 13:32:49 | 显示全部楼层 |阅读模式
我在redhat 9中安装VMware4或VMware5都是一路回车就安装好;输入vmware回车就起动了也没出问题;
但在我比较喜欢的mandrakelinux系统中就没那么顺利了;安装vmware4时提示找不到"lspci"我输入相应的路径“/usr/bin/lspcidrake”通过了,接下来一路回车就出现以下这些信息通不过。
在安装vmware5时没出现找不到lspci以下这些依旧出现。

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

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

Using compiler "/usr/bin/gcc". Use environment variable CC to override. 我确认gcc也安装

What is the location of the directory of C header files that match your running 要什么C头文件
kernel? [/usr/src/linux/include]   回车通不过――请教怎样能通过

The path "/usr/src/linux/include" is not an existing directory.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/src/linux-2.6.9/include 输入一个下载的内核路径还是不行

The path "/usr/src/linux-2.6.9/include" is an existing directory, but it does
not contain at least one of these directories "linux", "asm", "net" as expected.


What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]


想转入linux环境,现我的机器只装了Mandrakelinux系统,因环境需要还得运行少部分Windows程序,Vmware是最好的解决办法;望linux高手帮帮忙
用的redhat 9 是下载版3CD
  Mandradelinux 10.1 也是下载版
发表于 2005-3-13 14:00:26 | 显示全部楼层
要装上kernel的源码包   注意要和你使用的内核版本一致Mandradelinux 10.1光盘上就有
回复 支持 反对

使用道具 举报

发表于 2005-3-13 14:21:53 | 显示全部楼层
mandrake的核心位置有点不一样,你只要找到相应的目录(include)就对了,还是在/usr/src下面
回复 支持 反对

使用道具 举报

发表于 2005-3-13 16:59:44 | 显示全部楼层
只要装上内核包就行,至少我是可以的
另:有VM5的注册码吗?没有的话用不了
回复 支持 反对

使用道具 举报

发表于 2005-3-14 08:56:54 | 显示全部楼层
把Mandrakelinux中所有的kernel包安装后就可以了;不知安装那个kernel总之装好了;也运行良好装了win98还装了windwos2000也配置了vmware-tools很正常;关机后重起就不能运行了,提示配置vmware-config.pl

每次重起后就要重新配置vmware-config.pl才能运行。
[root@localhost cyg]# /etc/init.d/vmware start 这样做了也不行
VMware Workstation is installed, but it has not been (correctly) configured
for the running kernel. To (re-)configure it, invoke the
following command: /usr/bin/vmware-config.pl.  

以下是配置vmware-config.pl所显示的全部信息;
[root@localhost cyg]# vmware-config.pl
Making sure services for VMware Workstation are stopped.

Stopping VMware services:
   Virtual machine monitor                                      [  OK  ]
   Bridged networking on /dev/vmnet0                            [  OK  ]
   DHCP server on /dev/vmnet1                                   [  OK  ]
   SMB share server on /dev/vmnet1                              [  OK  ]
   SMB name server on /dev/vmnet1                               [  OK  ]
   Host-only networking on /dev/vmnet1                          [  OK  ]
   DHCP server on /dev/vmnet2                                   [  OK  ]
   NAT service on /dev/vmnet2                                   [  OK  ]
   Host-only networking on /dev/vmnet2                          [  OK  ]
   DHCP server on /dev/vmnet3                                   [  OK  ]
   NAT service on /dev/vmnet3                                   [  OK  ]
   Host-only networking on /dev/vmnet3                          [  OK  ]
   DHCP server on /dev/vmnet4                                   [  OK  ]
   NAT service on /dev/vmnet4                                   [  OK  ]
   Host-only networking on /dev/vmnet4                          [  OK  ]
   DHCP server on /dev/vmnet8                                   [  OK  ]
   NAT service on /dev/vmnet8                                   [  OK  ]
   Host-only networking on /dev/vmnet8                          [  OK  ]
   Virtual ethernet                                             [  OK  ]

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

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

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.8.1-10mdk/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/root/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.8.1-10mdk/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.8.1-10mdk'
  CC [M]  /root/tmp/vmware-config0/vmmon-only/linux/driver.o
  CC [M]  /root/tmp/vmware-config0/vmmon-only/linux/hostif.o
  CC [M]  /root/tmp/vmware-config0/vmmon-only/common/cpuid.o
  CC [M]  /root/tmp/vmware-config0/vmmon-only/common/memtrack.o
  CC [M]  /root/tmp/vmware-config0/vmmon-only/common/phystrack.o
  CC [M]  /root/tmp/vmware-config0/vmmon-only/common/task.o
  CC [M]  /root/tmp/vmware-config0/vmmon-only/common/vmx86.o
  LD [M]  /root/tmp/vmware-config0/vmmon-only/vmmon.o
  Building modules, stage 2.
  MODPOST
  CC      /root/tmp/vmware-config0/vmmon-only/vmmon.mod.o
  LD [M]  /root/tmp/vmware-config0/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-2.6.8.1-10mdk'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/root/tmp/vmware-config0/vmmon-only'
The module loads perfectly in the running kernel.

This program previously created the file /dev/vmmon, and was about to remove it.
Somebody else apparently did it already.

This program previously created the file /dev/parport0, and was about to remove
it.  Somebody else apparently did it already.

This program previously created the file /dev/parport1, and was about to remove
it.  Somebody else apparently did it already.

This program previously created the file /dev/parport2, and was about to remove
it.  Somebody else apparently did it already.

This program previously created the file /dev/parport3, and was about to remove
it.  Somebody else apparently did it already.

Extracting the sources of the vmnet module.

Building the vmnet module.

Using 2.6.x kernel build system.
make: Entering directory `/root/tmp/vmware-config0/vmnet-only'
make -C /lib/modules/2.6.8.1-10mdk/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.8.1-10mdk'
  CC [M]  /root/tmp/vmware-config0/vmnet-only/driver.o
  CC [M]  /root/tmp/vmware-config0/vmnet-only/hub.o
  CC [M]  /root/tmp/vmware-config0/vmnet-only/userif.o
  CC [M]  /root/tmp/vmware-config0/vmnet-only/netif.o
  CC [M]  /root/tmp/vmware-config0/vmnet-only/bridge.o
  CC [M]  /root/tmp/vmware-config0/vmnet-only/procfs.o
  LD [M]  /root/tmp/vmware-config0/vmnet-only/vmnet.o
  Building modules, stage 2.
  MODPOST
  CC      /root/tmp/vmware-config0/vmnet-only/vmnet.mod.o
  LD [M]  /root/tmp/vmware-config0/vmnet-only/vmnet.ko
make[1]: Leaving directory `/usr/src/linux-2.6.8.1-10mdk'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/root/tmp/vmware-config0/vmnet-only'
The module loads perfectly in the running kernel.

This program previously created the file /dev/vmnet0, and was about to remove
it.  Somebody else apparently did it already.

This program previously created the file /dev/vmnet1, and was about to remove
it.  Somebody else apparently did it already.

This program previously created the file /dev/vmnet2, and was about to remove
it.  Somebody else apparently did it already.

This program previously created the file /dev/vmnet3, and was about to remove
it.  Somebody else apparently did it already.

This program previously created the file /dev/vmnet4, and was about to remove
it.  Somebody else apparently did it already.

This program previously created the file /dev/vmnet8, and was about to remove
it.  Somebody else apparently did it already.

You have already setup networking.

Would you like to skip networking setup and keep your old settings as they are?
(yes/no) [yes]

Do you want this program to automatically configure your system to allow your
virtual machines to access the host's filesystem? (yes/no/help) [yes]

The version of Samba used in this version of VMware Workstation is licensed as
described in the "/usr/share/doc/vmware/SAMBA-LICENSE" file.

Hit enter to continue.

This system appears to have a CIFS/SMB server (Samba) configured for normal use.
If this server is intended to run, you need to make sure that it will not
conflict with the Samba server setup on the private network (the one that we use
to share the host's filesystem).  Please check your /etc/samba/smb.conf file so
that:

.  The "interfaces" line does not contain "192.168.55.1/255.255.255.0"
.  There is a "socket address" line that contains only your real host IP address


Hit enter to continue.

Starting VMware services:
   Virtual machine monitor                                      [  OK  ]
   Virtual ethernet                                             [  OK  ]
   Bridged networking on /dev/vmnet0                            [  OK  ]
   Host-only networking on /dev/vmnet1 (background)             [  OK  ]
   Host-only networking on /dev/vmnet2 (background)             [  OK  ]
   NAT service on /dev/vmnet2                                   [  OK  ]
   Host-only networking on /dev/vmnet3 (background)             [  OK  ]
   NAT service on /dev/vmnet3                                   [  OK  ]
   Host-only networking on /dev/vmnet4 (background)             [  OK  ]
   NAT service on /dev/vmnet4                                   [  OK  ]
   Host-only networking on /dev/vmnet8 (background)             [  OK  ]
   NAT service on /dev/vmnet8                                   [  OK  ]

You have successfully configured VMware Workstation to allow your virtual
machines to access the host's filesystem.  Your system appears to already be set
up with usernames and passwords for accessing the host's filesystem via network
interface vmnet1. Would you like to add another username and password at this
time? (yes/no/help) [no]

You can add more usernames at any time by invoking the following command as
root: "/usr/bin/vmware-smbpasswd vmnet1 -a <username>"

The configuration of VMware Workstation 4.5.2 build-8848 for Linux for this
running kernel completed successfully.

You can now run VMware Workstation by invoking the following command:
"/usr/bin/vmware".

Enjoy,

--the VMware team        到这也配置完成(都是一路回车)

[root@localhost cyg]# vmware     回车也就能正常运行了,之前安装的系统也不能运行,

我是*ly*;
请版主检查一下*ly*这个号不能登入现我又申了一个是*liying*
回复 支持 反对

使用道具 举报

发表于 2005-3-14 09:00:17 | 显示全部楼层
VM5没有注册号,谁有请分享一下好吗?
回复 支持 反对

使用道具 举报

发表于 2005-3-14 10:57:17 | 显示全部楼层
VMware Workstation V5.0 Build 11888下载:
http://www.weste.net/soft/soft.asp?id=5535

VMware Workstation V4.5.2 Build 8848 汉化补丁(修正版)  下载:
http://www.weste.net/soft/soft.asp?id=7584

VMware Workstation v5.0 注册码
No expiration:
XLWPN-W476D-68NDF-5PTX3
6A8L6-F2TQJ-LE7DP-4T1V0
X24FW-90T4M-H8H6C-4MDX7
谁有Vmware 5 for linux的注册码
回复 支持 反对

使用道具 举报

发表于 2005-3-14 16:29:04 | 显示全部楼层
找到了给分享一下

VMware Workstation 5 RC3 (for Windows operating systems): Build 12888
6AWJ2-FGYYK-LG616-4CJU9
609VQ-F5YMP-L027J-4V491


VMware Workstation 5 RC3 (for Linux systems): Build 12888
62ETP-F5AU7-ME455-4KJ3D
6ATJK-F7YRP-M8L94-4A18J
回复 支持 反对

使用道具 举报

发表于 2005-3-15 09:57:34 | 显示全部楼层
白忙了半天,原来是vmware4的问题 也有补丁下载。安装了vmware 5没有问题
现也大功告成;;
vmware4 声音有问题
vmware5 安装好后一切正常,声音也有;但声音没有xp系统里装vmware5下装Mandranklinux 10.1顺畅、那么完美。
回复 支持 反对

使用道具 举报

发表于 2005-3-26 10:32:11 | 显示全部楼层
我也是每次重起都要重新配置一下,敢问楼主补丁哪里下载呀
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表