Virtualbox - recompile kernel modules

I have virtualbox installed, and it was working fine until a kernel update a few weeks ago (I think).

I followed the instructions here but when I try to recompile the kernel modules via the instructions:

/etc/init.d/vboxdrv setup

I get a no such file or directory error. Is this procedure different in 42.1?

gcc, make and kernel-devel are installed.

Try this one

/usr/lib/virtualbox/vboxdrv.sh setup

Also,
Is this on the Host or in the Guest?
If in the Guest, modules are re-built when you re-install Guest Additions.

TSU

Ok, that worked. Thanks.

On Wed, 23 Dec 2015 05:26:01 +0000, z2 wrote:

> I have virtualbox installed, and it was working fine until a kernel
> update a few weeks ago (I think).
>
> I followed the instructions ‘here’
> (https://en.opensuse.org/SDB:VirtualBox_Installation) but when I try to
> recompile the kernel modules via the instructions:
>
>
> Code:
> --------------------
> /etc/init.d/vboxdrv setup
> --------------------
>
>
> I get a no such file or directory error. Is this procedure different in
> 42.1?
>
> gcc, make and kernel-devel are installed.

FWIW, if you install from the Virtualization repository, you don’t need
to go through this process.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C