vbox虚拟机无法使用计算机名,virtualbox虚拟机无法启动

2023-05-16

错误信息如下

Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing

'/sbin/vboxconfig'

as root.

If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.

大概就是你使用虚拟机需要加载xxx模块什么的,然后可以运行/sbin/vboxconfig命令加载。所以就直接sudo执行这个命令喽。然后如果报错No DKMS packages installed: not changing Secure Boot validation state.的话,那么就搜索一个叫做dkms的包并安装。然后发现还是有问题

vboxdrv.sh: Stopping VirtualBox services.

vboxdrv.sh: Starting VirtualBox services.

vboxdrv.sh: You must sign these kernel modules before using VirtualBox:

vboxdrv vboxnetflt vboxnetadp

See the documenatation for your Linux distribution..

vboxdrv.sh: Building VirtualBox kernel modules.

No DKMS packages installed: not changing Secure Boot validation state.

vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.

There were problems setting up VirtualBox. To re-start the set-up process, run

/sbin/vboxconfig

as root. If your system is using EFI Secure Boot you may need to sign the

kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load

them. Please see your Linux system's documentation for more information.

大意就是开启了EFI Secure Boot的话,还需要重新注册内核,因为我之前安装Debian一直都不是EFI引导,所以没有遇到这个问题

其中解决方法倒是写的很清楚了。

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

vbox虚拟机无法使用计算机名,virtualbox虚拟机无法启动 的相关文章

随机推荐