VirtualBox '/etc/init.d/vboxdrv setup' issue

1

ok i had the same problem, it turned out for me that it was a startup script i was running. the init.d directory as you know is just a place to hold all the startup scripts, rc0.d - rc5.d contains symbolic links for the specified runtime to the scripts in init.d, the problem with these scripts is the initialize one after the other, if one script is in an infinite loop and never ceases then that will interfere with the loading process of scripts that are suppose to follow. the virtualbox script was the 4th from the end to be initialised, so any script with a problem beforehand will interfere with that process. it explains why you have to manually run the script and it works.

example, i had a script that i used to send a wakeonlan packet to my network attached storage, i set it on a loop using a 'for' loop, wait 1 minute then execute again.

Hope this helps....

0 0
2

So, I tried creating an OS with VirtualBox, and I got this error:

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 '/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.

So I did the obvious, running the Vboxdrv setup. I ran this command:

sudo service vboxdrv setup

I got an error while doing so.:

stopping kernel drivers...done. Uninstalling old virtualbox dkms kernel modules/etc/init.d/voboxdrv: 302: /etc/init.d/vboxdrv: /usr/share/virtualbox/src/vboxhost/do_dkms: not found ...done. (Failed, trying without DKMS) recompiling VirtualBox kernel modules...failed! (look at /var/log/vbox-install.log to find out what went wrong.)

So, I took a look...

0 0
3
*SOLVED* (read below OP)

So I am running into this seemingly common issue with installing virtualbox. Yes, I am getting the (rc=-1908) "virtualbox-dkms" kernel error with the '/etc/init.d/vboxdrv setup' message and after trying various proposed solutions to the problem, I am still stuck at square one.

I've searched and mined through multiple threads and tried and tried to follow all proposed solutions to no avail. The issue I am having is that most of the solutions and members proposing them seem to vary considerably on how to resolve the problem particularly the steps to follow and where/how to start them.

I am relatively new to using Ubuntu so what helps someone out like me the most is having a solution with the exact steps outlined to follow like what to type into terminal/CL and all of that.

I am taking the time and effort to learn and the growing pains are expected. I am fine with that but when I try multiple solutions on threads marked 'solved' to no...

0 0
4


Question:

I have installed VirtualBox through the software centre, but when I try to start a VM, I get the following error:

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

'/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 already updated my dkms and installed linux-headers, but this /etc/init.d/vboxdrv doesn't exist.

I have been googling but I can't find an answer.


Solution:1

Should peruse /var/log/vbox-install.log file to determine the issue. If the problem persists, you may want to download and install the latest v4.2.2 version directly from...

0 0
5
...
0 0
6

Can be useful, I found this error. The common solution is reinstall virtualbox but there are a better way.

Solution

sudo /Library/StartupItems/VirtualBox/VirtualBox restart

or

sudo /Library/StartupItems/VirtualBox/VirtualBox start

VirtualBox 4.3+

On recents versions, the file (/Library/StartupItems/VirtualBox/VirtualBox) don't exists, so you need to use the command below:

sudo launchctl load /Library/LaunchDaemons/org.virtualbox.startup.plist

Error

Print: http://d.pr/i/1Bvi

There was on error while executing VBoxManage, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below Command: ["hostonlyif", "create"]

Stderr: 0%... Progress state: NS_ERROR_FAILURE VBoxManage: error: Failed to create the host-only adapter VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory

VBoxManage: error: Details: code...

0 0
7

i've installed ubuntu 14.04 today. i had virtualbox 4.1 running perfectly on ubuntu 12.04. Now, when i try starting Virtualbox 4.1 on ubuntu 14.04, i see this error:

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 '/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.

what can i do? i saw another post but it's difficult to have clear answers..

i attached the message from Virtualbox when i try to run it: http://pastebin.ubuntu.com/8581114/

others report messages here :

http://pastebin.ubuntu.com/8581147 (report from command line "/etc/init.d/vboxdrv setup")
pastebin.ubuntu.com/8581167 (report from command line "sudo...

0 0
8

Setelah update VirtualBox biasanya kita diminta untuk recompile modul kernel untuk VirtualBox dengan cara

/etc/init.d/vboxdrv setup

bila anda gagal menjalankan perintah tersebut, dengan error yang kurang memberi manfaat seperti dibawah ini

Stopping VirtualBox kernel modules [FAILED] (Cannot unload module vboxdrv)

Bila error tersebut di lewatkan dan anda langsung menjalankan VirtualBox guest maka akan muncul pesan error

Failed to open/create the internal network 'HostInterfaceNetworking-enp5s0' (VERR_SUPDRV_COMPONENT_NOT_FOUND). Failed to attach the network LUN (VERR_SUPDRV_COMPONENT_NOT_FOUND). One of the kernel modules was not successfully loaded. Make sure that no kernel modules from an older version of VirtualBox exist. Then try to recompile and reload the kernel modules by executing '/etc/init.d/vboxdrv setup' as root (VERR_SUPDRV_COMPONENT_NOT_FOUND)

Beberapa solusi untuk mengatasi masalah diatas

1. Pastikan tidak...

0 0
9

whenever I try to open [start] virtual box, I get this error and do not know how to do
VERR_VM_DRIVER_NOT_INSTALLED (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Re-setup the kernel module by executing

'/etc/init.d/vboxdrv setup'

as root. Users of Ubuntu or Fedora should install the DKMS package at first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
I can not see window partition either-I have dual booting with windows xp home.
Also in Ubuntu 8.10 portion, when I search hardware drivers it says NO PROPRIETARY DRIVERS IN USE ON THIS SYSTEM! Please tell me what to...

0 0
10
Помогло: sudo /etc/init.d/vboxdrv setup Ранее предлагалась эта команда в сообщениях. 05.11.2015 16:13, RB пишет: Добрый день! Запускаю Virtualbox после установки обновлений, получаю сообщение: Не удалось открыть сессию для виртуальной машины The virtual machine 'Win 7 SS' has terminated unexpectedly during startup with exit code 1 (0x1). Код ошибки: NS_ERROR_FAILURE (0x80004005) Компонент: MachineWrap Интерфейс: IMachine {f30138d4-e5ea-4b3a-8858-a059de4c93fd} 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. 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. where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On...
0 0
11

Have you encountered this kind of problem when using VirtualBox on Ubuntu?

[shell]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 ‘/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.[/shell]

If yes, here I share with you the solution.
First, install the linux headers:
[shell]sudo apt-get install linux-headers-`uname -r`[/shell]

Reconfigure dkms and load module:
[shell]sudo dpkg-reconfigure virtualbox-dkms
sudo modprobe vboxdrv[/shell]

Then VirtualBox works. No computer reboot...

0 0
12

Hi guys,

I have installed VirtualBox from rpmfusion on fedora 17. Now I have updated to kernel 3.4.3-1.fc17.x86_64 virtualbox shows this error when running a ubuntu VM:

Failed to open a session for the virtual machine Ubuntu. The virtual machine 'Ubuntu' has terminated unexpectedly during startup with exit code 1. Detail: Result Code: NS_ERROR_FAILURE (0x80004005) Component: Machine Interface: IMachine {5eaa9319-62fc-4b0a-843c-0cb1940f8a91}

There is a second error message:

Kernel driver not installed (rc=-1908) The VirtualBox Linux kernel driver (vboxdrv) is probably not loaded. If you installed or VirtualBox OSE package recently you need to restart the computer for the driver to load. Alternatively, you may attempt to load the driver by issuing the following command with system administrator (root) privileges: '/etc/sysconfig/modules/VirtualBox-OSE.modules'

I looked at /etc/sysconfig/modules/VirtualBox-OSE.modules and it doesn't exists. There is...

0 0
13

Hi all,

I just installed Linux Mint 17.1 64 bit onto this computer yesterday. I ran all the updates and then installed Virtualbox. I put in a Windows XP .iso and clicked to boot it, but I got the following message:

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

'/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.

Executing '/etc/init.d/vboxdrv setup' as root gave me 'No such file or directory.' I tried to install the virtualbox-dkms package from Synaptic but I got this message:

I tried running sudo apt-get update and then sudo apt-get install virtualbox-dkms, but that gave me a similar...

0 0