Thanks bro it's worked for me
For those for whom /etc/init.d/vboxdrv doesn't exist, you might try this:
sudo apt-get install --reinstall virtualbox-dkms
Even though I had virtualbox-dkms installed, I had to force a reinstall to trigger the rebuild of the kernel module, which fixed things. I'm running 12.04LTS, did the normal update today (April 25)
sudo apt-get remove virtualbox-dkms
sudo apt-get install virtualbox-dkms
Solved my problem.
i juast started getting this error after a suggested software update.
i ran:
udo apt-get remove virtualbox-dkms
sudo apt-get install virtualbox-dkms
removal worked fine, reinstall ended with the following error:
Unpacking virtualbox-dkms (from .../virtualbox-dkms_4.1.12-dfsg-2ubuntu0.6_all.deb) ...
Setting up virtualbox-dkms (4.1.12-dfsg-2ubuntu0.6) ...
Loading new virtualbox-4.1.12 DKMS files...
First Installation: checking all kernels...
Building only for 3.13.0-32-generic
Building initial module for 3.13.0-32-generic
Error! Bad return status for module build on kernel: 3.13.0-32-generic (x86_64)
Consult /var/lib/dkms/virtualbox/4.1.12/build/make.log for more information.
what did i break?
In Linux Mint 17 I received the same error. I had a looksee and there is no vboxdrv in /etc/init.d/. There is a script called virtualbox.I have also this problem, and i have tried the solution in this thread, but it just do not work. I use the PUEL version of virtualbox and i have also tried with the OSE version. None of them work.
I have tried the
Code:
sudo /etc/init.d/vboxdrv setup
But this is what comes out.
bash: /etc/init.d/vboxdrv: No such file or directory
Do anybody have some solutions on my problem?
Success.sudo ./virtualbox force-reload
Well, just use these commands
Code:cd /etc/init.dAnd that's itCode:sudo ./vboxdrv setup
So I had this issue and nothing here worked. I had tried to reinstall virtualbox without success. So here is what worked for me:
sudo apt-get remove --purge virtualbox
--- I rebooted, not sure if I needed to.
--- here I went to root, not sure if I needed to but I did it anyway
su
apt-get install virtualbox
--- rebooted again and works fine now. The reason I just 'su' over 'sudo' was per the permission errors and in the past sudo sometimes hasn't made the cut.
hope this helps someone.
try this command:
apt-get install dkms
sudo /etc/init.d/vboxdrv setup
good luck
I'm having the same issue. Totally regretting installing the latest release from Oracle.Edit: Went into Synaptic and installed linux-headers-3.13.0-35-generic, then reran the above command.Code:sudo /etc/init.d/vboxdrv setup Stopping VirtualBox kernel modules ...done. Uninstalling old VirtualBox DKMS kernel modules ...done. Trying to register the VirtualBox kernel modules using DKMSError! Your kernel headers for kernel 3.13.0-35-generic cannot be found. Please install the linux-headers-3.13.0-35-generic package, or use the --kernelsourcedir option to tell DKMS where it's located ...failed! (Failed, trying without DKMS) Recompiling VirtualBox kernel modules ...failed! (Look at /var/log/vbox-install.log to find out what went wrong)Fixed the issue. Virtualbox now runs with no problems.Code:sudo /etc/init.d/vboxdrv setup Stopping VirtualBox kernel modules ...done. Uninstalling old VirtualBox DKMS kernel modules ...done. Trying to register the VirtualBox kernel modules using DKMS ...done. Starting VirtualBox kernel modules ...done.
Last edited by uRock; February 21st, 2015 at 01:23 AM.
Cheers & Beers, uRock
[SIGPIC][/SIGPIC]
Bookmarks