VB doesn't run any longer after Kubuntu upgrade

Discussions related to using VirtualBox on Linux hosts.
Post Reply
pacut
Posts: 16
Joined: 29. Dec 2008, 20:27

VB doesn't run any longer after Kubuntu upgrade

Post 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
MKhaos7
Posts: 81
Joined: 6. Apr 2009, 16:19
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux, BSD
Location: Brazil - Aracaju/SE

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

Post 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
pacut
Posts: 16
Joined: 29. Dec 2008, 20:27

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

Post 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 ?
pacut
Posts: 16
Joined: 29. Dec 2008, 20:27

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

Post by pacut »

I found what it was.
Kernel header was misconfigured.

I was finally able to setup VB once again.

Ciaooo
P
Nimrandir
Posts: 1
Joined: 27. Apr 2009, 14:28
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Windows XP

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

Post 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
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

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

Post 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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
res55
Posts: 18
Joined: 1. May 2009, 13:16
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: WinXP SP3

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

Post 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
Post Reply