2015-09-15 2 views
0

Я установил virtualbox 4.3 (также версия 5.x). В установке нет проблем. Но когда я запускаю его через терминал. Он дает следующее предупреждение:Virtualbox не работает на CentOS 7

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. 

Когда начинается виртуальная машина, и я выбираю виртуальную машину, она дает следующую ошибку.

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. 

Когда я бегу follwoing commad

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 <[email protected]> 
[ 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) 

В чем проблема, я пытаюсь решить ее примерно на два месяца, но ничто не решает мою проблему. Пожалуйста, руководствоваться и отвечать на этот вопрос, поскольку я не эксперт в таких вещах.

ответ

1

Я думаю, что в настройках BIOS вы должны отключить безопасную загрузку, это параметр загрузки. Это может решить вашу проблему.

Смежные вопросы