Erro na caixa do Oracle VM Virtual

0

Eu instalo o oracle vm virtual box v 5.1.20. Quando eu tentei começar isso eu tive um erro

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
/sbin/vboxconfig as root.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.

Estou procurando os mesmos problemas e encontrei VirtualBox Erro "driver do kernel não instalado" apesar de executar o / sbin / vboxconfig , mas quando executo o comando sudo /sbin/rcvboxdrv setup ou sudo /sbin/vboxconfig setup , tive isto:

vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.

Após o runnig dpkg -l *virtualbox* i ter

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
un  virtualbox     <none>       <none>       (no description available)
ii  virtualbox-5.1 5.1.20-11462 amd64        Oracle VM VirtualBox
ii  virtualbox-dkm 5.0.36-dfsg- all          x86 virtualization solution - ker
un  virtualbox-gue <none>       <none>       (no description available)
ii  virtualbox-gue 5.0.36-dfsg- all          x86 virtualization solution - gue
un  virtualbox-gue <none>       <none>       (no description available)
un  virtualbox-gue <none>       <none>       (no description available)
ii  virtualbox-gue 5.0.36-dfsg- amd64        x86 virtualization solution - non
un  virtualbox-gue <none>       <none>       (no description available)
un  virtualbox-mod <none>       <none>       (no description available)
un  virtualbox-ose <none>       <none>       (no description available)
    
por itsmylife 25.04.2017 / 16:49

1 resposta

0

sudo apt-get install virtualbox-dkms
sudo apt-get install virtualbox-guest-dkms

Se você tiver erros de dependência, faça

sudo apt-get -f install

Após todos os pacotes dkms serem corretamente instalados,

sudo /usr/lib/virtualbox/vboxdrv.sh setup
    
por sziraqui 25.04.2017 / 17:55