zoukankan      html  css  js  c++  java
  • 使用Secure Boot后,导致VMware无法启动虚拟机

    最初安装vmware时就报错
     Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so:cannot open shared object file: No such file or directory 
    Gtk-Message: Failed to load module "pk-gtk-module": libpk-gtk-module.so: cannot open shared object file: No such file or directory 

    但是安装界面可以打开,可以正常安装,但是安装过后,启动虚拟机时再次报错,无法启动虚拟机。

    Could not open /dev/vmmon: ?????????.
    Please make sure that the kernel module `vmmon' is loaded.

    提示:无法加载vmmon这个模块。但是,经过查看:"/lib/modules/4.4.0-36-generic/misc"目录下有vmmon.ko这个模块。

    后来,经过一阵狂搜,感谢网络。终于在:https://communities.vmware.com/message/2461448,找到了答案:

    When "Secure Boot" is enabled, unsigned kernel extensions will not allowed to be loaded. vmmon.ko and vmnet.ko are of course not signed with Fedora cert, so they just won't run.

    如果在bios下面,开启了安全启动选项,那么没有注册的内核扩展均不被允许安装,这样就会导致vmmon.ko和vmnet.ko无法运行了。

    最后,在附上一段编译vmware模块的方法:

    网址:https://communities.vmware.com/message/2442783

    cd /tmp

    tar -xvf /usr/lib/vmware/modules/source/vmmon.tar

    cd vmmon-only/

    make

    cp vmmon.ko /lib/modules/2.6.32-504.el6.x86_64/misc/vmmon.ko

    modprobe vmmon

     Start the VM.

  • 相关阅读:
    Docker大会的新福利:LinuxKit 和 Moby 开源项目
    NS3
    (OK) NS3
    MPTCP
    Utilizing multi-core processors in NS-2
    (OK) Fedora 24
    error compiling gcc: undefined reference to libc_name_p
    gccxml
    NS3
    NS3
  • 原文地址:https://www.cnblogs.com/litifeng/p/5887525.html
Copyright © 2011-2022 走看看