HOWTO: VirtualBox

Sombody should tell us to all the newbes how to solve the problem when VBox says:

The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (2.6.35-sabayon) or it failed to        load. Please recompile the kernel module and install it by

sudo /etc/init.d/vboxdrv setup

You will not be able to start VMs until this problem is fixed.

And then you try to run the above command and the answer is:

* Stopping VirtualBox kernel module ... [ ok ] * Recompiling VirtualBox kernel module ... * Look at /var/log/vbox-install.log to find out what went wrong

And finally if you also try to run the commands:

# modprobe vboxdrv

# modprobe vboxnetadp

# modprobe vboxnetflt

They all answer respectively:

FATAL: Could not read '/lib/modules/2.6.35-sabayon/misc/vboxdrv.ko': No such file or directory

WARNING: Could not read '/lib/modules/2.6.35-sabayon/misc/vboxguest.ko': No such file or directory FATAL: Could not read '/lib/modules/2.6.35-sabayon/misc/vboxnetadp.ko': No such file or directory

WARNING: Could not read '/lib/modules/2.6.35-sabayon/misc/vboxdrv.ko': No such file or directory WARNING: Could not read '/lib/modules/2.6.35-sabayon/misc/vboxguest.ko': No such file or directory FATAL: Could not read '/lib/modules/2.6.35-sabayon/misc/vboxnetflt.ko': No such file or directory

Nice ehh? Good night!! link title