View Full Version : [all variants] virtualbox broken after update
ayu
June 1st, 2009, 07:37 PM
Hi,
Virtualbox breaks every time after updating to a new release. After "upgrading" from 8.10 to 9.04, Virtualbox console starts up fine, but when I try to start a virtual machine there is an error:
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'
Vboxdrv doesnt exist for me, so I'm not sure what to do. After the 8.04 to 8.10 upgrade, I uninstalled virtualbox and installed virtualbox-ose from the repos. I recall there being a vboxdrv error to for 7.04->7.10 and for 7.10->8.04, but those were easily fixed. I couldn't do the same thing for 8.10 though, so I had to install ose instead. But 9.04 breaks it again. :(
Can somebody please help? Thanks in advance!
~Ayu
madverb
June 1st, 2009, 07:41 PM
/etc/init.d/vboxdrv setup
?
ayu
June 2nd, 2009, 12:11 PM
... Vboxdrv doesnt exist for me, so I'm not sure what to do ...
/etc/init.d/vboxdrv setup
?
??
forestpiskie
June 2nd, 2009, 12:18 PM
Run the command as given by virtualbox - almost ;) You'll need to add sudo
sudo /etc/init.d/vboxdrv setup
If you read the whole of the error message you can see that it tells you what you need to do - which is great if you understand :)
Re-setup the kernel module by executing '/etc/init.d/vboxdrv setup'
Anytime that you need to do anythinng like this outside of your home you will need to use sudo.
ayu
June 2nd, 2009, 01:38 PM
Run the command as given by virtualbox - almost ;) You'll need to add sudo
sudo /etc/init.d/vboxdrv setup
If you read the whole of the error message you can see that it tells you what you need to do - which is great if you understand :)
Anytime that you need to do anythinng like this outside of your home you will need to use sudo.
Thanks, but I don't think permissions are the problem here.
ayu@ubuntu:~$ sudo /etc/init.d/vboxdrv setup
sudo: /etc/init.d/vboxdrv: command not found
Like I said, vboxdrv is missing, and I don't know how to get it back.
Best regards,
Ayu
Therion
June 2nd, 2009, 01:51 PM
Did you install Virtual Box from the Repo -- using Add/Remove or Synaptic? Judging from the error messages you're getting, I'm betting you did.
If so, I'll bet you dollars to donuts the "problem" is the new kernel you're now running. The option of recompiling the kernel module is not part the OSE version of Virtual Box (the version you get from the repo) so it's not really a problem per se (it's a feature!) but by the same token, it's the source of the error message.
ayu
June 2nd, 2009, 04:22 PM
Did you install Virtual Box from the Repo -- using Add/Remove or Synaptic? Judging from the error messages you're getting, I'm betting you did.
If so, I'll bet you dollars to donuts the "problem" is the new kernel you're now running. The option of recompiling the kernel module is not part the OSE version of Virtual Box (the version you get from the repo) so it's not really a problem per se (it's a feature!) but by the same token, it's the source of the error message.
Yes I installed OSE from the repo after being unable to fix the non-ose version (also from repos) after my upgrade to 8.10. Does this mean OSE from the repos doesn't work in 9.04? So..., any suggestions? Uninstall everything and install the deb from virtualbox? Does this mean I have to reinstall everytime I do an upgrade?
forestpiskie
June 3rd, 2009, 02:41 AM
I use the puel version and have the repo added to my sources, nothad any issues with it as yet. The repo information is on the downloads page - http://www.virtualbox.org/wiki/Linux_Downloads
IF you do install the puel version remove the ose version first.
ayu
June 9th, 2009, 12:28 PM
Not really solved, but uninstalling and installing the deb from virtualbox.org works. Guess I'll just have to do that after every release.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.