vmware启动虚拟机报错

报错信息

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

Failed to initialize monitor device.

Unable to change virtual machine power state: Transport (VMDB) error -14: Pipe connection has been broken.

adder@adder-HP-ZHAN-66-Pro-14-G2:~$ sudo /etc/init.d/vmware start
[sudo] adder 的密码: 
Starting VMware services:
   Virtual machine monitor                                            failed
   Virtual machine communication interface                             done
   VM communication interface socket family                            done
   Blocking file system                                                done
   Virtual ethernet                                                   failed
   VMware Authentication Daemon                                        done

解决措施

  1. 关闭电脑的安全启动

  2. 不关闭安全启动

sudo -i
mkdir /root/module-signing
cd /root/module-signing
openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=YOUR_NAME/"
chmod 600 MOK.priv

/usr/src/linux-headers-`uname -r`/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n vmmon)
/usr/src/linux-headers-`uname -r`/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n vmnet)

mokutil --import MOK.der
输入密码

重启电脑,按电脑屏幕上的提示点击任意键,进入MOK管理器EFI实用程序,选择Enroll MOK,然后选择continue,然后选择yes,然后输入密码,点击enter按键,电脑启动

进入vmware,打开虚拟机,可用
Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐