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.

  • 相关阅读:
    我的第一个网络爬虫
    python中os模块的walk函数
    <Think Python>中统计文献单词的处理代码
    <Think Python>中斐波那契使用memo实现的章节
    Python中bisect的使用
    vim中使用系统粘贴板
    linux下的重命名
    HTML Dog 初级教程中关于 forms 的翻译
    unittest:1 用例编写
    python UI自动化实战记录十一: 总结
  • 原文地址:https://www.cnblogs.com/litifeng/p/5887525.html
Copyright © 2011-2022 走看看