Page 1 of 1

VB doesn't run any longer after Kubuntu upgrade

Posted: 24. Apr 2009, 09:23
by pacut
hello there.

My VB 2.1.4 doesn't run any longer since this morning, when I have upgraded from Kubuntu 8.10 to 9.04

I get this error:

Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Machine
Interface:
IMachine {ea6fb7ea-1993-4642-b113-f29eb39e0df0}

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.

When I try do do /etc/init.d/vboxdrv setup as root I get this:

root@PABA-Ku804:/home/paolo# /etc/init.d/vboxdrv setup
* Stopping VirtualBox kernel module * done.
* Recompiling VirtualBox kernel module
* Look at /var/log/vbox-install.log to find out what went wrong


and this is the /var/log/vbox-install.log file:

/etc/init.d/vboxdrv: 342: /usr/share/virtualbox/src/vboxdrv/build_in_tmp: not found

I heard someone did a complete remove and reinstall. I am pretty scared of doing this as I spent several hours in tuning my XP guest on dual boot.

What is the solution here ?

Thanks !
paolo

Re: VB doesn't run any longer after Kubuntu upgrade

Posted: 24. Apr 2009, 19:48
by MKhaos7
pacut wrote: 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.
There you have your solution :)
I recomend that you install DKMS. If you don't know how to do it try opening konsole and typing "sudo aptitude install dkms" without the quotes.
Now reboot and everything should work.

If it does not work try doing the following (in konsole as well): sudo /etc/init.d/vboxdrv setup

Hope this helps

Cheers,
KM

Re: VB doesn't run any longer after Kubuntu upgrade

Posted: 25. Apr 2009, 10:25
by pacut
I did it at all.

same error: /etc/init.d/vboxdrv: 342: /usr/share/virtualbox/src/vboxdrv/build_in_tmp: not found

:cry: :cry: :cry:

Am I the only one here with this issue ?

Re: VB doesn't run any longer after Kubuntu upgrade

Posted: 26. Apr 2009, 12:05
by pacut
I found what it was.
Kernel header was misconfigured.

I was finally able to setup VB once again.

Ciaooo
P

Re: VB doesn't run any longer after Kubuntu upgrade

Posted: 27. Apr 2009, 14:30
by Nimrandir
Hi paolo.
I have your same problem, so i need to know how you solved it.
How can i reconfigure kernel headers to make my virtualbox work?

(se vuoi rispondermi in italiano va benissimo uguale!)

Hi!

Francesco

Re: VB doesn't run any longer after Kubuntu upgrade

Posted: 27. Apr 2009, 15:32
by Sasquatch
Nimrandir wrote:Hi paolo.
I have your same problem, so i need to know how you solved it.
How can i reconfigure kernel headers to make my virtualbox work?

(se vuoi rispondermi in italiano va benissimo uguale!)

Hi!

Francesco
What about apt-get install kernel-headers-generic as root? If you run the generic flavoured kernel that is. Check that with uname-r.

Re: VB doesn't run any longer after Kubuntu upgrade

Posted: 1. May 2009, 13:25
by res55
I tried to upgrade VB to 2.2.2 and got the same 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'
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.

When I try do do /etc/init.d/vboxdrv setup as root I get this:
vboxdrv unknown.

so I installed DKMS but it still did not work.
So I restarted Linux and then it worked: I was able to run the command in the shell:
sudo /etc/init.d/vboxdrv setup
and after this VB worked again without loss of my installed WinXP.

Good luck!
Res