A instalação do VirtualBox informa que a mensagem “modprobe vboxdrv” falhou

9

Instalação do VirtualBox dá mensagem

sudo modprobe vboxdrv
modprobe: FATAL: Module vboxdrv not found.

Eu atualizei o sistema com

sudo apt-get update

seguido de

reboot

Versão do Ubuntu: 14.04 LTS

Eu tentei instalar com o GDebi Package Installer, a mensagem é -

Selecting previously unselected package virtualbox-5.1.
(Reading database ... 800789 files and directories currently installed.)
Preparing to unpack .../virtualbox-5.1_5.1.0-108711~Ubuntu~trusty_amd64.deb ...
Unpacking virtualbox-5.1 (5.1.0-108711~Ubuntu~trusty) ...
Setting up virtualbox-5.1 (5.1.0-108711~Ubuntu~trusty) ...
addgroup: The group 'vboxusers' already exists as a system group. Exiting.
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.
vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...

Outra tentativa: Eu desabilitei a inicialização segura do BIOS e segui

apt-get update
apt-get install linux-headers-$(uname -r)
dpkg-reconfigure virtualbox-dkms
modprobe vboxdrv 

Agora modprobe vboxdrv funcionando bem. Então eu instalei o VirtualBox com o arquivo virtualbox-5.1_5.1.0-108711 ~ Ubuntu ~ trusty_amd64.deb com o GDebi Package Installer. Agora, quando eu inicio o VirtualBox e inicio uma máquina, ele mostra o seguinte erro -

**RTR3InitEx failed with rc=-1912 (rc=-1912)**

 The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing

'/sbin/vboxconfig'

may correct this. Make sure that you do not mix the OSE version and the PUEL version of VirtualBox.

where: supR3HardenedMainInitRuntime what: 4 VERR_VM_DRIVER_VERSION_MISMATCH (-1912) - The installed support driver doesn't match the version of the user. 
    
por Kapil 25.07.2016 / 13:33

3 respostas

11

Isso me ajudou:

apt-get update
apt-get install linux-headers-$(uname -r)
dpkg-reconfigure virtualbox-dkms
modprobe vboxdrv 
    
por mwatzer 25.07.2016 / 14:27
1

Isso é meio antigo, mas finalmente resolvi esse problema exato no rhel7 (suponho que isso também o resolveria para o Ubuntu). Consegui resolvê-lo por:

inicializando na BIOS e indo > avançado (f7) > boot > desloque-se para "arranque seguro" > alterar "modo EUFI do Windows" para "outro sistema operacional"

Minha caixa virtual funciona perfeitamente agora.

    
por Lee Gildemeester 19.04.2018 / 03:22
-1

Se você instalou recentemente uma nova versão do kernel, tente a versão anterior. Kernel vmlinuz-4.2.0-42-genérico não funciona para mim, mas vmlinuz-4.2.0-41-genérico funciona. Aparentemente, não há versão do vboxdrv para o vmlinuz-4.2.0-42-generic. Estou usando o VirtualBox 5.1.

    
por Rodrigo Rafael Villarreal Goul 25.07.2016 / 23:15