You are not logged in.

#1 2007-09-01 17:39:58

TreeMinds
Member
Registered: 2007-09-01
Posts: 35

Virtual Box vboxdrv error loading from rc.conf

As the guide says about VirtualBox PUEL installation:
made the package, added to group, added vboxdrv to rc.conf, run /sbin/vbox_build_module
Now rc.conf wont load in start the vbodrv says no such module in /etc/rc.d/
And VirtualBox says:

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}

When trying to start a Virtual Machine.
If I give modprobe vboxdrv the driver is loaded and everything is running smouthly.
Why happens that? I see no module in /etc/rc.d with name vboxdrv. How can modprobe works? It is looking in other folders 4 vboxdrv?

Offline

#2 2007-09-01 18:52:29

amunimanghi
Member
Registered: 2006-11-21
Posts: 78

Re: Virtual Box vboxdrv error loading from rc.conf

Run "modprobe vboxdrv" then start up your vm again. Should work.

Offline

#3 2007-09-01 19:02:20

TreeMinds
Member
Registered: 2007-09-01
Posts: 35

Re: Virtual Box vboxdrv error loading from rc.conf

Thats what I did and it worked. But I want the driver to be loaded automaticaly in system start.
The question is why its no working by putting in rc.conf the vboxdrv?
My opinion: Its not loaded automatically cause it cant find it in /etc/rc.d which is the folder where the module section in rc.conf looks in. Where it is so I can copy or do symlink to /etc/rc.d search didnt helped.
Thanks anyway

Offline

#4 2007-09-01 20:11:57

matt_man22
Member
From: Boston, MA
Registered: 2007-04-28
Posts: 54

Re: Virtual Box vboxdrv error loading from rc.conf

Make sure you are putting it in the modules section of rc.conf, not the daemons.

Offline

#5 2007-09-02 00:04:51

TreeMinds
Member
Registered: 2007-09-01
Posts: 35

Re: Virtual Box vboxdrv error loading from rc.conf

Thats right my friend. Not the daemons. Thanks mate.

Offline

Board footer

Powered by FluxBB