After I upgraded the kernel, the VirtualBox, as usual, complained that the VirtualBox Linux kernel driver (vboxdrv) is not loaded, and I had to execute the following command:
sudo /sbin/rcvboxdrv setup
Unfortunately, this time, the execution of the rcvboxdrv setup
failed with the message Bad argument setup
. I guess this is a regression bug introduced in recent VirtualBox package on Oracle's page.
How to fix the problem and be able to run VirtualBox?
From a comment on the ticket, run the following command:
instead of the command given by VirtualBox.
On the Oracle's bugtracker I found that the issue is already fixed in the "test" build: https://www.virtualbox.org/wiki/Testbuilds.
Ref: https://www.virtualbox.org/ticket/15055
Until this is fixed, you could edit the
/sbin/rcvboxdrv
file (e. g. in a terminal using Nano editor viasudo nano /sbin/rcvboxdrv
) and add some lines:Use CTRL+O to save the changes. After this, you should be able to run
sudo /sbin/rcvboxdrv setup
again.I had the same issue on Kubuntu 14.04.3 with VirtualBox 5.0.14. None of the previous answers worked but @Takkat's comment suggesting
worked to fix the issue.
I had same issue on Redhat7. Found a suggestion on another forum as to run: /usr/lib/virtualbox/vboxdrv.sh setup This fixed the issue. my virtualbox is working now.
There is a walkaround:
Reverting the
/sbin/rcvboxdrv
to the old version fixes the issue. In case the old version of the file is no longer available to you, here is the copy:Hope this helps.