Bienvenido! - Willkommen! - Welcome!

Bitácora Técnica de Tux&Cía., Santa Cruz de la Sierra, BO
Bitácora Central: Tux&Cía.
Bitácora de Información Avanzada: Tux&Cía.-Información
May the source be with you!

Thursday, November 11, 2010

VirtualBox kernel modules using DKMS

Trying to register the VirtualBox kernel modules using DKMS failed
/etc/ini/etc/init.d/vboxdrv setup
zypper in patterns-openSUSE-devel_kernel
 zypper lr
 rpm -qa | grep -i virtualbox

to show me that you are member of the vboxusers group
id -Gn

Uninstall virtualbox
zypper rm virtualbox-ose

you can install Oracle VirtualBox from a repo too. You just have to install the Oracle repo.

zypper ar OracleVirtualBox
zypper refresh 
zypper in VirtualBox-3.2
The OSE version doesn't have USB support
THE PUEL version does have USB support.
If you use the PUEL version, you'll have to compile the module.
So -before installing VirtualBox! - you should have all kernel sources and
headers installed for the kernel you're booting (use uname -r to find out). After each kernel update, you'll have to recompile the module with the command service vboxdrv setup or you'll have the modautocompile service do it for you.
* you might have to do that as root or precede each command with sudo

You can use the virtual machine(s) you creates with the PUEL version (in the OSE version). The difference is that, with that version, you'll have to recompile the module after each kernel update. It takes only 1 minute, but you you need to have the kernel sources and headers installed as well as the programs used to compile (gcc, make, etc).

automatically recompile kernel modules after kernel update

No comments: