Ubuntu 13.10 安装VMware 9.0

Ubuntu 13.10 安装VMware 9.0

我在安装了VMware Workstation 9.0之后,当我想打开虚拟机的时候,弹出一个对话框“在运行VMware之前,必须编译并加载几个模块到正在运行的内核中取消安装”,但是我点击了安装按钮,什么反应也没有。

什么时候:

sudo apt-get install linux-headers-3.11.0-12-generic
sudo /usr/bin/vmware-modconfig --icon=vmware-workstation --appname=VMware

来:

cc1: some warnings being treated as errors
make[2]: *** [/tmp/modconfig-T9k19t/vmci-only/linux/driver.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [_module_/tmp/modconfig-T9k19t/vmci-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.11.0-12-generic'
make: *** [vmci.ko] Error 2
make: Leaving directory `/tmp/modconfig-T9k19t/vmci-only'
Failed to build vmci.  Failed to execute the build command.
Starting VMware services:
   Virtual machine monitor                                             done
   Virtual machine communication interface                            failed
   VM communication interface socket family                            done
   Blocking file system                                                done
   Virtual ethernet                                                   failed
   VMware Authentication Daemon                                        done

答案1

按着这些次序:

  1. 下载下面参考中提到的三个文件:

  2. 然后,执行代码并进行必要的修改:

    $ cd /usr/lib/vmware/modules/source
    $ sudo tar -xf vmnet.tar
    $ sudo tar -xf vmblock.tar
    $ cd vmnet-only
    $ sudo patch -p1 < <Patch path>/procfs.patch
    $ cd ../vmblock-only
    $ sudo patch -p1 < <Patch path>/vmblock.3.10.patch
    $ sudo patch -p1 < <Patch path>/vmblock.3.11.patch
    $ cd ..
    $ sudo tar -cf vmblock.tar vmblock-only
    $ sudo tar -cf vmnet.tar vmnet-only
    $ sudo vmware-modconfig --console --install-all
    

参考:解决方案经过雨人52

相关内容