I tried to set up an virtual machine on Ubuntu 12.10.I installed Oracle Vm VirtualBox Manager.
Then, i followed the steps and i choose .iso file from settings>storage.Then clicked live cd/dvd option.Then OK,when i clicked to start button i get such an error :
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a
permissionproblem 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.
I reinstalled program and rebooted pc, but not worked.Also, updated kernel driver but not worked.What can be done to solve it ?
asked Dec 2, 2012 at 14:25
2
Thought I’d give my 2 cents for those who use MACs
sudo /Library/Application Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh restart
answered Nov 12, 2013 at 22:31
AlexAlex
8238 silver badges15 bronze badges
11
sudo apt-get remove virtualbox-dkms
sudo apt-get install virtualbox-dkms
source: http://ubuntuforums.org/showthread.php?t=1885936&page=6
ps. I have this issue everytime I get a Linux kernel update in Ubuntu. The instructions that it gives do not work for me but these two commands work everytime. It would be nice if everytime I got a kernel update these two commands would automatically run afterwards…
answered Mar 25, 2013 at 13:09
Elijah LynnElijah Lynn
12.2k10 gold badges61 silver badges91 bronze badges
2
I have a solution that works for MacOS users:
-
You have to restart your system and press Command (⌘) + R during the loading. It will start the Recovery mode.
-
Now that you’re on the Recovery Mode, click on Utilities (top bar) and Terminal.
-
You have your terminal opened? Enter, it will add Oracle in the authorisation list to access the kernel.
spctl kext-consent add VB5E2TV963
-
Restart again.
You’re welcome.
answered Jun 25, 2019 at 16:07
idknidkn
4222 gold badges7 silver badges13 bronze badges
3
(I’m on a Mac with this solution) I tried the first few answers on this board (so you might need those as well first), but then finally I Allowed Oracle to «load software» under System Preferences -> Security & Privacy -> in the bottom right, click «Allow…»
Then a dialog box with checkbox options might come up, search for Oracle and check the box next to it. Click OK out of everything. (I also updated the preference above the «Allow…» button to Allow apps downloaded from: to «App store and identified developers«)
After all of this I rebooted and I no longer see this -1908 error when running a VM.
Again, I’m on a Mac, running Big Sur 11.2.1.
![]()
Dharman♦
30.5k22 gold badges84 silver badges133 bronze badges
answered Feb 18, 2021 at 12:04
![]()
skittlebizskittlebiz
3493 silver badges8 bronze badges
2
Personally, on my Mac installing the latest version of VirtualBox solved the problem
answered Aug 19, 2018 at 19:49
![]()
Vic SeedoubleyewVic Seedoubleyew
10.7k6 gold badges54 silver badges75 bronze badges
1
Goto BIOS setup and Make secure boot Disable
It worked for me.
answered Mar 31, 2019 at 11:42
![]()
Had recently the same problem on Ubuntu 18.04. Apparently, virtual box 6.+ has some issues with gcc-7. These steps did the job for me:
Removing virtualbox
sudo apt-get purge virtualbox-*
installing gcc-8
sudo apt-get install gcc-8 g++-8
setting default gcc to gcc-8
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 800 --slave /usr/bin/g++ g++ /usr/bin/g++-8
and reinstalling virtualbox with the debian installer did it for me!
answered Feb 20, 2020 at 20:05
Thommy257Thommy257
7036 silver badges21 bronze badges
0
did you try the command /etc/init.d/vboxdrv setup
What was the output ?
answered Dec 2, 2012 at 14:36
5
First you have to install dkms packages (but optional)
sudo apt-get install dkms
Then run this
sudo /etc/init.d/vboxdrv setup
But in my case I had to run only second one.
answered Sep 15, 2015 at 5:15
Follow the following steps for Linux:
cd /etc/yum.repos.d/vim epel.repo- Make every
"enabled=1" yum install dkms
![]()
Ivan Aracki
4,73111 gold badges58 silver badges70 bronze badges
answered Jan 24, 2016 at 9:52
![]()
there were only linux-lts kernel in my system so far. i just install linux-lts-headers using pacman and then i rebooted pc.it worked for me.
answered Jul 7, 2019 at 3:24
![]()
1
This one in recovery mode answered by @idkn worked for me.
spctl kext-consent add VB5E2TV963
answered Dec 8, 2019 at 11:13
![]()
vipin goyalvipin goyal
67111 silver badges17 bronze badges
The below code seems to fix the error. It might recur when you update your distrbution, so make sure to rerun it.
sudo modprobe vboxdrv
answered Dec 22, 2019 at 18:22
0
did you try the command:
sudo kextload /Library/Extensions/VBoxDrv.kext/
answered Apr 17, 2014 at 17:36
![]()
GereGere
2,09424 silver badges24 bronze badges
2
Firstly open a terminal and write this command:
sudo apt-get remove virtualbox-dkms
and after finish this operation, write this command:
sudo apt-get install virtualbox-dkms
This solved the problem.
Do not worry, your files will not be lost.
![]()
Ivan Aracki
4,73111 gold badges58 silver badges70 bronze badges
answered Sep 13, 2018 at 9:12
I had the same problem and I fixed it by running this command:
sudo /etc/init.d/vboxdrv setup
![]()
Ivan Aracki
4,73111 gold badges58 silver badges70 bronze badges
answered Mar 24, 2015 at 16:20
FaribaFariba
6731 gold badge11 silver badges27 bronze badges
Took me a long time to solve this issue. Had this problem with vBox across 2 distros (Ubuntu and Arch).
I had dkms and all the modules already installed and compiled into my kernel, yet I still got a module related error message when I tried to run a vBox virtual machine.
If your vBox GUI starts without a hitch but get an error telling to install the VBoxDrv kernel module when you try to run a virtual machine, your problems are not related to installing the modules into your kernel but ACTIVATING THEM in modprobe which the module installation script fails to do.
To load a module manually (such as vboxdrv in your case), open a terminal prompt and put in :
sudo modprobe vboxdrv
If you Virtual Machine runs after that without giving you an error message, then you can activate the vboxdrv module permanently by going to /etc/modules-load.d/ and making a .conf file (such as vbox.conf). In the .conf file the names of the vbox kernel modules you want to add, such as: vboxdrv.
Save and reboot
You can also ad these optional modules: vboxnetadp, vboxnetflt and vboxpci
From Vbox’s wiki:
vboxnetadp and vboxnetflt are both needed when you intend to use the «Host-only networking» feature. More precisely, vboxnetadp is needed to create the host interface in the VirtualBox global preferences, and vboxnetflt is needed to launch a virtual machine using that network interface.
vboxpci is needed when your virtual machine needs to pass through a PCI device on your host.
Note: If the VirtualBox kernel modules were loaded in the kernel while you updated the modules, you need to reload them manually to use the new updated version. To do it, run vboxreload as root.
Если после очередного обновления Oracle VirtualBox на MacOS, при запуске любой виртуальной машины, вы получили ошибку «Kernel driver not installed (rc=-1908)», то вот вам проверенный способ как ее победить.
Проверено как минимум пять раз на разных устройствах и разных версиях MacOS (BigSur, Catalina).
Не торопитесь ничего удалять, или переустанавливать, как это иногда рекомендуют. Паниковать так же не стОит, и даже срочно делать резервную копию не обязательно (хотя в целом это хорошая практика делать регулярные резервные копии).
На этот случай у VirtualBox есть скрипт, который вам поможет всё починить.
Итак,
1. открываем терминал, и выполняем следующую команду:
sudo /Library/Application Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh restart
2. Вводим свой пароль, и в ответ получаем что-то типа такого:
Loading VBoxDrv.kext
Error Domain=KMErrorDomain Code=28 «Loading extension(s): org.virtualbox.kext.VBoxDrv requires a reboot» UserInfo={NSLocalizedDescription=Loading extension(s): org.virtualbox.kext.VBoxDrv requires a reboot}
Error: Failed to load org.virtualbox.kext.VBoxDrv
Executing: /usr/bin/kmutil unload -b org.virtualbox.kext.VBoxUSB
Error Domain=KMErrorDomain Code=71 «Kernel request failed: (libkern/kext) not found (-603947002)» UserInfo={NSLocalizedDescription=Kernel request failed: (libkern/kext) not found (-603947002)}
Fatal error: VirtualBox
Таких строк может быть несколько, это не важно.
3. Обратите внимание, что среди всего прочего, в ответе присутствуют просьба перезагрузить систему «requires a reboot». Не сопротивляемся, перезагружаемся. Если не просит, то вывод будет такой как в шаге 5.
4. После перезагрузки, еще раз открываем терминал, и выполняем команду из шага 1.
5. Теперь вывод будет (должен быть) вот такой:
Unloading VBoxUSB.kext
Unloading VBoxNetFlt.kext
Unloading VBoxNetAdp.kext
Unloading VBoxDrv.kext
Loading VBoxDrv.kext
Loading VBoxUSB.kext
Loading VBoxNetFlt.kext
Loading VBoxNetAdp.kext
Отлично! То что нам и нужно было.
6. Запускаем VirtualBox. Он скорее всего скажет что нужно установить свежую версию VirtualBox Extension Pack. Все нормально, идем на сайт https://www.virtualbox.org/wiki/Downloads, скачиваем актуальную версию Extension Pack, и устанавливаем.
Все, теперь можно продолжать работать.
Ошибка kernel driver not installed rc -1908

Чаще всего ошибка запуска виртуальной машины (ошибка: kernel driver not installed rc -1908) в VirtualBox Linux, заключается в том, что в системе не установлен драйвер ядра VirtualBox.
Т.к. заголовки ядра Linux позволяют создавать собственные модули (драйвер ядра VirtualBox один из таких модулей), нам нужно проверить их наличие в системе и при необходимости доустановить их.
Если они установлены, то система проигнорирует эту команду установки.
Ubuntu
sudo apt install linux-headers-$(uname -r)
Debian
sudo apt-get install linux-headers-$(uname -r)
Arch Linux
sudo pacman -S linux-headers
Fedora
sudo dnf install "kernel-devel-uname-r == $(uname -r)"
OpenSUSE
sudo zypper install kernel-devel
Следующая команда переустановит модуль драйвера ядра VirtualBox.
Мы полностью переустановим этот пакет модуля VirtualBox.
Ubuntu
sudo apt install virtualbox-dkms --reinstall
Debian
sudo apt install virtualbox-dkms --reinstall
Arch Linux
sudo pacman -R virtualbox-host-modules-arch sudo pacman -S virtualbox-host-modules-arch
Fedora
sudo dnf remove VirtualBox akmod-VirtualBox sudo dnf install VirtualBox akmod-VirtualBox
OpenSUSE
sudo zypper remove virtualbox-kmp-default sudo zypper install virtualbox-kmp-default
Следующая команда настроит и загрузит модуль ядра VirtualBox.
sudo modprobe vboxdrv
Так же можно перезагрузить компьютер, чтобы загрузить драйвер ядра.
15 июля 2022, 18:30
Александр
Linux
0
2680
0
Из этой категории
-
Double Commander не распаковывает RAR-архивы
Кодировка в текстовом редакторе Xed
Opera не русифицируется в Linux
Не могу записать ничего на ext4
Как установить или удалить ядро Liquorix Linux Mint
13 горячих клавиш в bash Linux
Советы и приемы настройки командной строки в Bash Linux
Как определить папки занимающие большое пространство на диске, в Linux
Как скопировать файлы с помощью команды ср в Linux
Автоматическая перезагрузка при kernel panic
Комментарии ()
Вы должны авторизоваться, чтобы оставлять комментарии.
0
2
В линукс честно говоря нуб. Вот что пишет программа:
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please reinstall virtualbox-dkms package and load the kernel module by executing
‘modprobe vboxdrv’
as root.
If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system’s documentation for more information.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) — The support driver is not installed. On linux, open returned ENOENT.
