LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Setting up VirtualBox on Mandriva 2008.0 (https://www.linuxquestions.org/questions/linux-newbie-8/setting-up-virtualbox-on-mandriva-2008-0-a-627966/)

Abanar 03-14-2008 02:17 AM

Setting up VirtualBox on Mandriva 2008.0
 
Hi all,

When I run the rpm under console it shows that the package has been successfully installed. however, when I start the virtualbox I get this error below:

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 {1dea5c4b-0753-4193-b909-22330f64ec45}



and when I run the "/etc/init.d/vboxdrv setup" I get the error below

Stopping VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel module [FAILED]


I have been looking for how to fix that, but I have not been successful. Any recommendation will be very appreciated. Thanks

aus9 03-14-2008 06:09 AM

you need a dependency liblua5.0...this can be a mdv rpm.

I use a vanilla kernel and my pathway to module is
/lib/modules/2.6.24.2vanilla4/misc....check yours has similar pathway

vboxdrv.ko

Abanar 03-14-2008 11:46 AM

I have found different ones under different folder almost all of those below have .../misc/vboxdrv.ko . Sorry but I dont now what do with, or if you can be more specific please. Thanks in advance. By the way, I have the liblua5.1 installed !!

2.6.22.12-desktop-1mdv/ 2.6.22.9-desktop586-2mdv/
2.6.22.12-desktop586-1mdv/ 2.6.22.9-laptop-1mdv/
2.6.22.12-server-1mdv/ 2.6.22.9-server-1mdv/
2.6.22.18-laptop-1mdv/ 2.6.22.9-server-2mdv/
2.6.22.9-desktop-1mdv/ 2.6.23-0.rc8.rt1.2mdv/
2.6.22.9-desktop-2mdv/ 2.6.23-0.rc8.rt1.2mdvsmp/
2.6.22.9-desktop586-1mdv/

aus9 03-14-2008 07:36 PM

you list more than one kernel....you need to boot a kernel that has the module.....add entries to your grub if they are missing pls

Then assuming you have booted a kernel that has a modulue, go into mdv control center with root passwd and go to
system/manage system services/

do you have any vbox there I have vboxdrv and vboxnet.

from here....you can stop the vboxdrv and start it.

if start is a fail.....you are incomplete....pls report but if start is a success ....open a shell

su
lsmod | grep "vboxdrv".......or just lsmod....and search for vboxdrv

if found and only if found.....next command

VirtualBox should start it

Note its upper and lower case V B

pls report each stage result
start service
lsmod
VirtualBox

aus9 03-14-2008 07:41 PM

oh leaping ahead....if module is loaded but VirtualBox command fails....before you report....run extra command

/etc/init.d/vboxdrv setup

then retry VB command

phantom_cyph 03-14-2008 07:49 PM

Did you add yourself to the vboxuser group?

aus9 03-15-2008 12:25 AM

good point phantom but I forgot to mention I use root.

Abanar 03-15-2008 03:39 AM

aus9, Still the same problem, but I will report if it works.
Thanks phantom_cyph, but it the users is added by default to vbox group.
If you guys think of anything else I can do I will appreciate it a lot. Thank you

Abanar 03-15-2008 04:06 AM

By the way, my kernel is "2.6.22.18-desktop-1mdv" that s the result of "uname -r".
Note: I am on a laptop not a desktop and the kernel version says desktop on it, is that a normal thing ?

aus9 03-15-2008 07:40 AM

no you check if /lib/modules has a laptop goup and /boot/vmlinuz-laptop and change grub to add an entry for it....and boot it.

I do not have a laptop...but the kernel will be tweaked for some laptop stuff and for power management.

also in post 4 I asked you to report what were your error or successed for each stage pls

Abanar 03-25-2008 06:02 PM

aus9 and all, just want to say thank you for your help. The problem was a kernel error somewhere I have to recompile or update it, then I will give it a try again. Thank you.
aus9, the report you were asking to post. I actually dont have any because it was just the errors that I was getting ...
Thanks again,


All times are GMT -5. The time now is 07:17 AM.