Results 1 to 5 of 5

Thread: Virtualbox - recompile kernel modules

  1. #1

    Default 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:

    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.

  2. #2
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    3,975

    Default AW: Virtualbox - recompile kernel modules

    Try this one
    Code:
    /usr/lib/virtualbox/vboxdrv.sh setup

  3. #3
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,270
    Blog Entries
    2

    Default Re: Virtualbox - recompile kernel modules

    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

  4. #4

    Default Re: AW: Virtualbox - recompile kernel modules

    Quote Originally Posted by Sauerland View Post
    Try this one
    Code:
    /usr/lib/virtualbox/vboxdrv.sh setup
    Ok, that worked. Thanks.

  5. #5
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,054

    Default Re: Virtualbox - recompile kernel modules

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •