Virtualbox error - Kernel Driver not installed

Yes, just use the 11.2 repo

Instructions for Virtual Box from Sun Microsystems.

Option 1:
Add the repo in su - terminal: (currently 11.2)

zypper ar -f http://download.virtualbox.org/virtualbox/rpm/opensuse/11.2 virtualbox

Then in Software Management check to install VirtualBox-3.2
Or if you prefer the terminal, as su - :

zypper in VirtualBox-3.2

Then do as su -

/etc/init.d/vboxdrv setup

Hi,

I have followed your tutorial on my opensuse 11.2.
I still get the same error in the log.

So, i have considered the kernel-source.
Indeed: The kernel-source I have installed doesn’t match my linux kernel:
uname -r: 2.6.31.5-0.1-default
Kernel source: 2.6.31.14-01.1

what shall i do to make it match?

As indicated in the log, I have run oldconfig && make prepare in the directory /usr/src/linux
but an error still remains.

Could you help me further?

//*********** LOG - begin **************
Makefile:162: Warning: using /usr/src/linux as the source directory of your Linux kernel. If this is not correct, specify KERN_DIR=<directory> and run Make again.
Makefile:170: *** Error: /usr/src/linux (version 2.6.31.14-0.1-default) does not match the current kernel (version 2.6.31.5-0.1-default). Stop.

//*********** LOG - end ***************

One thing I found out about Vbox is you have to reboot after you install it or should I say I have to for it to work.

Have you rebooted the computer after you installed it?

Go into Yast find the kernel-source entry below click the version tab the newer version should be there. If not you need to find the source repo for your installed kernel if it did not come from the standard repos.

Just open a terminal, become su -

and do:

zypper up

Thank you a lot for your help !
Thank your advice, I could eventually install winxp as vbox :
//**************
linux-i4gp:/home/sylvain # /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules… done
Uninstalling old VirtualBox DKMS kernel modules… done
Trying to register the VirtualBox kernel modules using DKMS …failed (Failed, trying without DKMS)
Recompiling VirtualBox kernel modules…done …
Starting VirtualBox kernel modules

//**************
The installation of XP using the boot-CD was successfull.
but after the installation, as i restarted my xp-virtualbox, I got an hanging black screen…

Do you know a solution for this issue?

Happy you have Vbox working.

Installing XP in VBox is usually painless and simple

What do you mean by: using the boot-CD

I have just read the blank black screen could be caused by Guest Additions.
Do you know about that?

I mean the “backup/restauration CD” I got with my laptop to reinstall it

Typically such OEM CD’s do not work in Virtual Box.

Guest additions is something you install in the Guess OS (in your case it would be XP) but you first have to have a running system, which you don’t.

You need to get a proper XP install CD.

Try installing a Linux OS in Virtual Box, to see if it’s working properly

>>Typically such OEM CD’s do not work in Virtual Box.
But I could boot on this CD and install XP untill I got “installation finished, you can restart…”.
The problem came as I restarted my xp-vbox.

OK
So lets assume it’s installed. Are you saying then that you don’t even get the Windows XP startup?

It s what I get after I installed winXP from the CD:

That is a black screen with start options:

  • Safe mode
  • start windows XP normally

Thank you,

Sylvain

It s what I get after I installed winXP from the CD (see image):

That is a black screen with start options:

  • Safe mode
  • start windows XP normally

http://www.sciencedelaconscience-magazine.com/images/winxpstart.jpg
http://www.sciencedelaconscience-magazine.com/images/winxpstart.jpg

In both cases I get then a blank black screen… like a black hole in the blue sky of my vbox…

Thank you,

Sylvain

It s what I get after I installed winXP from the CD (see image):

That is a black screen with

  • Windows didn t start normally…
  • start options:
  • Safe mode
  • start windows XP normally

http://www.sciencedelaconscience-mag…winxpstart.jpg

In both cases I get then a blank black screen… like a black hole in the blue sky of my vbox…

Thank you,

Sylvain

Reinstall windows
Looks to me like something got ‘Jeffed’ at the end of the installation.

As a matter of habit, I always shutown rather than re-boot when in a VM
It’s probably12 months since I installed XP in Virtual Box and I don’t recall it finishing the install and then requesting a reboot. But then I was using a proper install CD, I know it does reboot at some points/s and is generally a pain the butt.
So it looks like Virtual box is working properly, I just suspect you need to try again with the XP install.

As I say, if you try a linux install, you can get the feel of it and be sure it’s OK

FYI: Also I always create a .iso of my XP Cd rather than use the actual CD, just seems to work quicker.
And I always use a Fixed size disk for the VM!

If you install Windows from a CD you got from the manufacture of a PC then it is set up to use the drivers for that hardware. ie it is a restore disk. You need a real Windows disk. You can often get a generic OEM disk if you buy a little hardware also. Or a box set.

You need a real Windows disk.
Did someone say that already.

Hi Carl and all of you,

I have installed Opensuse 11.3 as vbox and i can start and use it. Satisfaction :slight_smile: Thanks !

So, my xp vbox-installation probably doesn t work beacause og my “OEM- XP installation CD”.
Does anyone know how to make it possible with an “OEM-XP installation” CD or where I can find a vbox compatible XP installation CD ?
Am I forced to use an XP Retail version CD?

I don’t know a work around