No meu Fedora 24, depois de instalar e executar o VirtualBox (do repositório VB) com este comando:
# dnf install VirtualBox-5.1-5.1.4_110228_fedora24-1.x86_64
$ virtualbox
Uma janela pop-up mostra-me um Kernel driver not installed (rc=-1908)
, o que é bastante clássico de acordo com uma pesquisa no google. Este mesmo erro sugere a execução de /sbin/vboxconfig
:
vboxdrv.sh: Building VirtualBox kernel modules.
This system is not currently set up to build kernel modules (system extensions).
Running the following commands should set the system up correctly:
yum install kernel-core-devel-4.5.5-300.fc24.x86_64
(The last command may fail if your system is not fully updated.)
yum install kernel-core-devel
vboxdrv.sh: failed: Look at /var/log/vbox-install.log to find out what went wrong.
This system is not currently set up to build kernel modules (system extensions).
Running the following commands should set the system up correctly:
yum install kernel-core-devel-4.5.5-300.fc24.x86_64
(The last command may fail if your system is not fully updated.)
yum install kernel-core-devel
There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig
as root.
Eu notei que
# rpm -qa kernel |sort -V |tail -n 1
kernel-4.6.6-300.fc24.x86_64
# uname -r
4.5.5-300.fc24.x86_64
Então eu acho que pode vir disso, mas eu não sei como resolver essa diferença nas versões do kernel.
Eu tentei, como o comando /sbin/rcvboxdrv setup
sugere:
vboxdrv.sh: Building VirtualBox kernel modules.
This system is not currently set up to build kernel modules (system extensions).
Running the following commands should set the system up correctly:
yum install kernel-core-devel-4.5.5-300.fc24.x86_64
(The last command may fail if your system is not fully updated.)
yum install kernel-core-devel
vboxdrv.sh: failed: Look at /var/log/vbox-install.log to find out what went wrong.
Eu tentei instalar, nada mudou.
Outra coisa, tenho uma pasta /usr/src/vboxhost-5.1.4/
, mas:
# dkms install vboxhost/5.1.14
Error! Could not find module source directory.
Directory: /usr/src/vboxhost-5.1.14 does not exist.
PS: você pode perguntar que /var/log/vbox-install.log
("Arrêt" significa parar):
Makefile:185: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Arrêt.
Makefile:185: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Arrêt.
Makefile:185: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Arrêt.
Makefile:185: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Arrêt.
Makefile:185: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Arrêt.
Makefile:185: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Arrêt.
Tags kernel virtualbox