Virtualbox 不是 CentOS 7 上的 运行
Virtualbox is not running on CentOS 7
我已经安装了 virtualbox 4.3(也是 5.x 版本)。安装没有问题。但是当我通过终端 运行 它时。它给出以下警告
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (3.10.0-229.11.1.el7.x86_64) or it failed to
load. Please recompile the kernel module and install it by
sudo /etc/init.d/vboxdrv setup
You will not be able to start VMs until this problem is fixed.
当虚拟机启动并且我 select 一个虚拟机时,它给出了以下错误。
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing
'/etc/init.d/vboxdrv setup'
as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
当我运行跟随命令
sudo /etc/init.d/vboxdrv setup
出现这个错误
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modulesError! There are no instances of module: vboxhost
4.3.30 located in the DKMS tree.
Error! There are no instances of module: vboxhost
4.3.30 located in the DKMS tree.
Error! There are no instances of module: vboxhost
4.3.30 located in the DKMS tree.
Error! There are no instances of module: vboxhost
4.3.30 located in the DKMS tree.
[ OK ]
Trying to register the VirtualBox kernel modules using DKMS[ OK ]
Starting VirtualBox kernel modules [FAILED]
(modprobe vboxdrv failed. Please use 'dmesg' to find out why)
根据上面的指南,我 运行 dmesg
命令,它在尾部显示了以下结果。
[ 77.790816] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 77.826151] device virbr0-nic entered promiscuous mode
[ 77.916096] virbr0: port 1(virbr0-nic) entered listening state
[ 77.916105] virbr0: port 1(virbr0-nic) entered listening state
[ 77.916153] IPv6: ADDRCONF(NETDEV_UP): virbr0: link is not ready
[ 78.170824] virbr0: port 1(virbr0-nic) entered disabled state
[ 96.372599] fuse init (API version 7.22)
[ 116.798026] TCP: lp registered
[ 840.569814] warning: `VirtualBox' uses 32-bit capabilities (legacy support in use)
什么问题,我想解决它大约两个月,但没有解决我的问题。
本人不是这方面的专家,请指点解答。
我认为,在 BIOS 设置中,您应该禁用安全启动选项是启动设置。它可能会解决您的问题。
我已经安装了 virtualbox 4.3(也是 5.x 版本)。安装没有问题。但是当我通过终端 运行 它时。它给出以下警告
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (3.10.0-229.11.1.el7.x86_64) or it failed to
load. Please recompile the kernel module and install it by
sudo /etc/init.d/vboxdrv setup
You will not be able to start VMs until this problem is fixed.
当虚拟机启动并且我 select 一个虚拟机时,它给出了以下错误。
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing
'/etc/init.d/vboxdrv setup'
as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
当我运行跟随命令
sudo /etc/init.d/vboxdrv setup
出现这个错误
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modulesError! There are no instances of module: vboxhost
4.3.30 located in the DKMS tree.
Error! There are no instances of module: vboxhost
4.3.30 located in the DKMS tree.
Error! There are no instances of module: vboxhost
4.3.30 located in the DKMS tree.
Error! There are no instances of module: vboxhost
4.3.30 located in the DKMS tree.
[ OK ]
Trying to register the VirtualBox kernel modules using DKMS[ OK ]
Starting VirtualBox kernel modules [FAILED]
(modprobe vboxdrv failed. Please use 'dmesg' to find out why)
根据上面的指南,我 运行 dmesg
命令,它在尾部显示了以下结果。
[ 77.790816] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 77.826151] device virbr0-nic entered promiscuous mode
[ 77.916096] virbr0: port 1(virbr0-nic) entered listening state
[ 77.916105] virbr0: port 1(virbr0-nic) entered listening state
[ 77.916153] IPv6: ADDRCONF(NETDEV_UP): virbr0: link is not ready
[ 78.170824] virbr0: port 1(virbr0-nic) entered disabled state
[ 96.372599] fuse init (API version 7.22)
[ 116.798026] TCP: lp registered
[ 840.569814] warning: `VirtualBox' uses 32-bit capabilities (legacy support in use)
什么问题,我想解决它大约两个月,但没有解决我的问题。 本人不是这方面的专家,请指点解答。
我认为,在 BIOS 设置中,您应该禁用安全启动选项是启动设置。它可能会解决您的问题。