Load windows on linux

Discussions related to using VirtualBox on Linux hosts.
sproxy
Posts: 12
Joined: 7. May 2008, 17:47

Load windows on linux

Post by sproxy »

I have linux ubuntu 8.04 running on my PC.
Today i wanted to install Windows XP on my PC, i installed VB OSE, and when i press start for running windows i get this:


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}

What do i have to do for fixing this?

Kind greets,
Jef
jtniehof
Posts: 5
Joined: 7. May 2008, 02:26

Re: Load windows on linux

Post by jtniehof »

Did you install from the download on the virtual box site, or the Ubuntu package via synaptic? The download on the site includes everything, but the one packaged with Ubuntu does not, as hinted by the error message:
sproxy wrote:Please install the virtualbox-ose-modules package for your kernel, e.g. virtualbox-ose-modules-generic..
Just installing the virtualbox-ose package isn't enough...you need the modules package for your hardware. Fire up synaptic again, search for "virtualbox", and install one of the -modules packages (almost certainly the generic one, unless you're on a 64 bit system.)
sproxy
Posts: 12
Joined: 7. May 2008, 17:47

Post by sproxy »

there are no module packages on synaptic
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Post by stefan.becker »

Install the Full Version from Sun/Innotek. And then please read the User Doc. There is the installation declared step by step.
sproxy
Posts: 12
Joined: 7. May 2008, 17:47

Post by sproxy »

/etc/init.d/vboxdrv: 311: /usr/lib/virtualbox/src/build_in_tmp: not found

i get this after:
jef@jef-desktop:~/Desktop$ sudo /etc/init.d/vboxdrv setup
* Stopping VirtualBox kernel module * done.
* Removing old VirtualBox kernel module * done.
* Recompiling VirtualBox kernel module
* Look at /var/log/vbox-install.log to find out what went wrong
virtualmike
Posts: 6
Joined: 2. May 2008, 23:53
Location: South-Derbyshire, England,UK,Earth.

Post by virtualmike »

sproxy wrote:/etc/init.d/vboxdrv: 311: /usr/lib/virtualbox/src/build_in_tmp: not found

i get this after:
jef@jef-desktop:~/Desktop$ sudo /etc/init.d/vboxdrv setup
* Stopping VirtualBox kernel module * done.
* Removing old VirtualBox kernel module * done.
* Recompiling VirtualBox kernel module
* Look at /var/log/vbox-install.log to find out what went wrong
Have you looked at this log file, it may give some clues.
Thank you for any help.
I do a search before posting.

Michael.

I recommend PCLinux2007 www.pclinuxos.com
sproxy
Posts: 12
Joined: 7. May 2008, 17:47

Post by sproxy »

This is what is written in the log

/etc/init.d/vboxdrv: 311: /usr/lib/virtualbox/src/build_in_tmp: not found
MoolFreet
Posts: 1
Joined: 9. May 2008, 17:41

Post by MoolFreet »

Hi there !

I had the same probleme, and finally solved it doing this :

1. I got the files from virtualbox's svn like this in a temporary folder :
svn co http://www.virtualbox.org/svn/vbox/trun ... ort/linux/
2. I moved all files under the "linux" directory that has been downloaded to /usr/lib/virtualbox/src/ (using sudo mv ...) (I had to create the src dir that didn't exist...

I don't know if it's a regular procedure but it did solve this problem. But now, I've got an other one :

Code: Select all

Attempting to install using DKMS

Error! Could not find module source directory.
Directory: /usr/src/_MODULE_-_VERSION_ does not exist.
Failed to install using DKMS, attempting to install without
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.24-16-generic/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (            \
        echo;                                                           \
        echo "  ERROR: Kernel configuration is invalid.";               \
        echo "         include/linux/autoconf.h or include/config/auto.conf are missing.";      \
        echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";  \
        echo;                                                           \
        /bin/false)
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/vbox.0
make[2]: *** No rule to make target `/tmp/vbox.0/linux/SUPDrv-linux.o', needed by `/tmp/vbox.0/vboxdrv.o'.  Stop.
make[1]: *** [_module_/tmp/vbox.0] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
make: *** [vboxdrv] Error 2
I don't really know what to do.. so if someone has an idea, it would me a pleasure ;)

PS : pardon my bad english...
sproxy
Posts: 12
Joined: 7. May 2008, 17:47

Post by sproxy »

back to my question pls
sproxy
Posts: 12
Joined: 7. May 2008, 17:47

Post by sproxy »

Someone?
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Post by stefan.becker »

Have you installed full version from Homepage?
DracoZA
Posts: 12
Joined: 13. May 2008, 15:25
Location: South Africa

Post by DracoZA »

I had the same problem today which was resolved as follows:

locate the following in synaptic:

virtualbox-ose-modules-2.6.24-16-generic
virtualbox-ose-modules-generic

Modules-generic should require modules-2.6.24-16-generic in any way.

That resolved my problem, I hope it works for you.
sproxy
Posts: 12
Joined: 7. May 2008, 17:47

Post by sproxy »

Doesn't work

I can't to the whole install from site because i have that error while installing
DracoZA
Posts: 12
Joined: 13. May 2008, 15:25
Location: South Africa

Post by DracoZA »

My best advice would be to completely remove whatever is installed, add it via add/remove in Ubuntu if you then get the missing component add it as per my previous post.
sproxy
Posts: 12
Joined: 7. May 2008, 17:47

Post by sproxy »

How can i delete all?
Don't know where evrything is
Post Reply