VBox on Kubuntu 8.04

Discussions related to using VirtualBox on Linux hosts.
Post Reply
reggler
Posts: 47
Joined: 26. Jul 2008, 17:49
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows 10

VBox on Kubuntu 8.04

Post 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 :o

Thanks for your help!
Ron
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

Post 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.
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.
reggler
Posts: 47
Joined: 26. Jul 2008, 17:49
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows 10

Post 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...
reggler
Posts: 47
Joined: 26. Jul 2008, 17:49
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows 10

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

Post 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.
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.
reggler
Posts: 47
Joined: 26. Jul 2008, 17:49
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows 10

Post 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
reggler
Posts: 47
Joined: 26. Jul 2008, 17:49
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows 10

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