Instalación de VirtualBox da mensaje
sudo modprobe vboxdrv modprobe: FATAL: Module vboxdrv not found.
He actualizado el sistema con
sudo apt-get update
seguido con
reboot
Versión de Ubuntu: 14.04 LTS
Intenté instalar con el instalador de paquetes GDebi, el mensaje es-
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) ...
Otro bash: deshabilité el arranque seguro desde la BIOS y seguí
apt-get update apt-get install linux-headers-$(uname -r) dpkg-reconfigure virtualbox-dkms modprobe vboxdrv
Ahora modprobe vboxdrv funciona bien. Así que instalé VirtualBox con el archivo virtualbox-5.1_5.1.0-108711 ~ Ubuntu ~ trusty_amd64.deb con el instalador de paquetes GDebi. Ahora, cuando inicio el VirtualBox e inicio una máquina, se muestra el siguiente error:
**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.
Esto me ayudó
apt-get update apt-get install linux-headers-$(uname -r) dpkg-reconfigure virtualbox-dkms modprobe vboxdrv
Esto es un poco viejo, pero finalmente resolví este problema exacto en rhel7 (supongo que esto también lo resolvería para Ubuntu). Pude resolverlo por:
iniciando el BIOS e ir> avanzado (f7)> boot> desplácese hacia abajo hasta “inicio seguro”> cambie “modo de Windows EUFI” a “otro SO”
Mi virtualbox funciona perfectamente ahora.
Si recientemente instaló una nueva versión del kernel, pruebe la anterior. El kernel vmlinuz-4.2.0-42-generic no funciona para mí, pero vmlinuz-4.2.0-41-generic funciona. Aparentemente, no hay una versión vboxdrv para vmlinuz-4.2.0-42-generic. Estoy usando VirtualBox 5.1.