Page 1 of 1
VBox on Kubuntu 8.04
Posted: 29. Jul 2008, 18:59
by reggler
Hi there,
I'm trying to get Virtual Box going on my Kubuntu 8.04 here at work. I had no troubles getting it up and going at home on opensuse 11.0 - but here it won't do it

When starting my virtual machine i keep getting this:
Code: Select all
VirtualBox kernel driver not installed. The vboxdrv kernel module was either not loaded or /dev/vboxdrv was not created for some reason. Please install the virtualbox-ose-modules package for your kernel, e.g. virtualbox-ose-modules-generic..
VBox status code: -1908 (VERR_VM_DRIVER_NOT_INSTALLED).
Result Code:
0x80004005
Component:
Console
Interface:
IConsole {1dea5c4b-0753-4193-b909-22330f64ec45}
even tho I had installed "virtualbox-ose-modules-generic" already.
When issueing "/etc/init.d/vboxdrv start" i get this:
Code: Select all
root@NovaxPRG-T1111:~# /etc/init.d/vboxdrv start
* Starting VirtualBox kernel module vboxdrv
* No suitable module for running kernel found.
What's going on here? I'm running kernel 2.6.24 with Kubuntu 8.04.
What do I need to do
Thanks for your help!
Ron
Posted: 29. Jul 2008, 19:12
by Sasquatch
What exact kernel version are you running? You say you run 2.6.24, but is that -generic, -686, -rt, etc?
If you have indeed the same kernel as the module, remove the whole OSE version (VMs will be kept) and install the PEUL version from the site.
Posted: 29. Jul 2008, 19:30
by reggler
Sasquatch wrote:What exact kernel version are you running? You say you run 2.6.24, but is that -generic, -686, -rt, etc?
If you have indeed the same kernel as the module, remove the whole OSE version (VMs will be kept) and install the PEUL version from the site.
I got exactly this one:
Code: Select all
2.6.24-19-386 #1 Fri Jul 11 22:45:14 UTC 2008 i686 GNU/Linux
PEUL - will try...
Posted: 29. Jul 2008, 19:48
by reggler
hm alright - I downloaded the ubuntu version from the homepage and when trying to install it i get this:
Code: Select all
sudo dpkg -i /home/reg/downloads/virtualbox_1.6.2-31466_Ubuntu_hardy_i386.deb
sudo: unable to resolve host NovaxPRG-T1111
(Reading database ... 147182 files and directories currently installed.)
Preparing to replace virtualbox 1.6.2-31466_Ubuntu_hardy (using .../virtualbox_1.6.2-31466_Ubuntu_hardy_i386.deb) ...
* Stopping VirtualBox kernel module * done.
* Shutting down VirtualBox host networking * done.
Unpacking replacement virtualbox ...
Setting up virtualbox (1.6.2-31466_Ubuntu_hardy) ...
addgroup: The group `vboxusers' already exists as a system group. Exiting.
* Starting VirtualBox kernel module
* No suitable module for running kernel found
* Starting VirtualBox host networking * done.
Anyways I was able to get the new xVM VirtualBox started but when starting my virtual machine i still get
Code: Select all
VirtualBox kernel driver not installed. The vboxdrv kernel module was either not loaded or /dev/vboxdrv was not created for some reason. Re-setup the kernel module by executing '/etc/init.d/vboxdrv setup' as root.
VBox status code: -1908 (VERR_VM_DRIVER_NOT_INSTALLED).
Result Code:
0x80004005
Component:
Console
Interface:
IConsole {d5a1cbda-f5d7-4824-9afe-d640c94c7dcf}
This is the same error that appears because of the "* No suitable module for running kernel found" message when installing it i believe - any more hints?
What may be worth mentioning as well is:
Code: Select all
reg@NovaxPRG-T1111:~$ ls /dev/vboxdrv
ls: cannot access /dev/vboxdrv: No such file or directory
There's no /dev/vboxdrv on the disk - no clue why not and my user "reg" got added to the groub vboxusers - this shouldn't be the problem - any one any clues?
Thanks!
Ron
Posted: 29. Jul 2008, 20:50
by Sasquatch
Ok, for the OSE version you previously had, you installed the virtualbox-modules-generic package, not the virtualbox-modules-386, so the wrong version for your kernel.
For your current problem, please run sudo /etc/init.d/vboxdrv setup in a terminal to compile the kernel module. You do need the module-assistant, build essentials and kernel headers to compile the module. As you stated, the compile failed during setup. Be sure to install dkms too, so when you get a new kernel, the module will be compile for that kernel automatically.
Posted: 29. Jul 2008, 21:05
by reggler
Sasquatch wrote:Ok, for the OSE version you previously had, you installed the virtualbox-modules-generic package, not the virtualbox-modules-386, so the wrong version for your kernel.
For your current problem, please run sudo /etc/init.d/vboxdrv setup in a terminal to compile the kernel module. You do need the module-assistant, build essentials and kernel headers to compile the module. As you stated, the compile failed during setup. Be sure to install dkms too, so when you get a new kernel, the module will be compile for that kernel automatically.
Well I"ll try around with the *-19 kernel later - for now i just booted up *-16 and it's working just fine. But thanks for your coments!

I really appreciate you taking time to reply!
cheers,
Ron
Posted: 1. Aug 2008, 20:27
by reggler
Sasquatch wrote:Ok, for the OSE version you previously had, you installed the virtualbox-modules-generic package, not the virtualbox-modules-386, so the wrong version for your kernel.
For your current problem, please run sudo /etc/init.d/vboxdrv setup in a terminal to compile the kernel module. You do need the module-assistant, build essentials and kernel headers to compile the module. As you stated, the compile failed during setup. Be sure to install dkms too, so when you get a new kernel, the module will be compile for that kernel automatically.
Yes alright, after sticking to the *-16 kernel for a couple of days i finally got to follow your instructions and it works just sweet with klernel *-19. Great! Thanks for your contribution!