Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Virtual Box problems. Leap 42.2

  1. #1
    Join Date
    Oct 2012
    Location
    London
    Posts
    10

    Default Virtual Box problems. Leap 42.2

    I have tried both the openSuse leap and Oracle versions, but get the following error message when I try to run an Virtualbox session.

    "The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing

    '/sbin/rcvboxdrv setup'

    as root"

    However running this as "sudo /sbin/rcvboxdrv setup does not do anything. Can anyone help me to get VB running. I seem to recall reading somewhere that there are problems running VB with Leap 42.2

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

    Default AW: Virtual Box problems. Leap 42.2

    If you run the Oracle Version, only that Version should be installed, no other package with virtualbox or vbox in the Name......

    Than the command will work (if you have installed kernel-default-devel, mak and gcc).


    If you installed the openSUSE Version, the host-kmp must match to your running Kernel Version......

    But I think, this belongs to the Virtualization Subforum.

  3. #3

    Default Re: Virtual Box problems. Leap 42.2

    no problems with virtual box on my computer..
    just install from the official opensuse repos then add current user to group vbox users then install dkms - Dynamic Kernel Module Support Framework
    restart computer and it should work fine

  4. #4
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    3,794

    Default AW: Virtual Box problems. Leap 42.2

    just install from the official opensuse repos then add current user to group vbox users then install dkms
    dkms is not necessary, you can use it, if you install the Version from the Oracle Side/Repo.
    openSUSE has the kernel-Modules inside the Repo.

  5. #5

    Default Re: AW: Virtual Box problems. Leap 42.2

    Quote Originally Posted by Sauerland View Post
    openSUSE has the kernel-Modules inside the Repo.
    i know that kernel-Modules is in the official opensuse repo, so what do you mean

  6. #6
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    3,794

    Default AW: Re: AW: Virtual Box problems. Leap 42.2

    Quote Originally Posted by techno2055 View Post
    i know that kernel-Modules is in the official opensuse repo, so what do you mean
    then install dkms
    dkms is not necessary when you install the Virtualbox from the openSUSE Repo.

  7. #7
    Join Date
    Oct 2012
    Location
    London
    Posts
    10

    Default Re: Virtual Box problems. Leap 42.2

    Quote Originally Posted by techno2055 View Post
    no problems with virtual box on my computer..
    just install from the official opensuse repos then add current user to group vbox users then install dkms - Dynamic Kernel Module Support Framework
    restart computer and it should work fine
    Thanks this works.Vbox now up and working.

  8. #8

    Default AW: Re: AW: Virtual Box problems. Leap 42.2

    Quote Originally Posted by Sauerland View Post
    dkms is not necessary when you install the Virtualbox from the openSUSE Repo.
    And in addition to that, dkms is also not of any help for the packages from Oracle.

    Running

    Code:
    rpm -qlv VirtualBox-5.1 |grep dkms
    gives no output as (since 5.0 or 5.1) the packages from Oracle do not ship a dkms.conf file, and as long as you don't write one yourself (which is not that hard), dkms is useless even for those packages.

    (Although I don't know if there might be a dkms.conf inside the distor independent tar balls provided by Oracle, but who would use them on a RPM-based distro anyway.)

    AK

  9. #9

    Default Re: AW: Re: AW: Virtual Box problems. Leap 42.2

    Quote Originally Posted by Akoellh View Post
    And in addition to that, dkms is also not of any help for the packages from Oracle.

    Running

    Code:
    rpm -qlv VirtualBox-5.1 |grep dkms
    gives no output as (since 5.0 or 5.1) the packages from Oracle do not ship a dkms.conf file, and as long as you don't write one yourself (which is not that hard), dkms is useless even for those packages.

    (Although I don't know if there might be a dkms.conf inside the distor independent tar balls provided by Oracle, but who would use them on a RPM-based distro anyway.)

    AK
    are you sure it works without dkms ??
    did you install and use it yourself on leap42.2 system ??

    if yes then what is the correct way to install VirtualBox?
    just install it and all its dependencies restart the computer and it should work?? what am i missing because each time i install vb it doesn't work without dkms??

  10. #10
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    3,794

    Default AW: Virtual Box problems. Leap 42.2

    Virtualbox from Oracle is working here without dkms:
    Code:
    zypper se -si dkms vbox virtualbox
    Repository-Daten werden geladen...
    Installierte Pakete werden gelesen...
    
    S | Name           | Typ   | Version                     | Arch   | Repository
    --+----------------+-------+-----------------------------+--------+-----------
    i | VirtualBox-5.1 | Paket | 5.1.18_114002_openSUSE132-1 | x86_64 | Virtualbox
    Important:
    No virtualbox Package from opensuse should be installed.
    And adding the User to the vboxusers Group
    Code:
    groups
    users cdrom vboxusers davfs2
    The virtualbox from Oracle is also working with Kernel 4.10
    Code:
    uname -a
    Linux linux64 4.10.8-2.gea9dcd4-default #1 SMP PREEMPT Fri Mar 31 17:16:00 UTC 2017 (ea9dcd4) x86_64 x86_64 x86_64 GNU/Linux
    Every Kernel Update you have to build the Virtualbox Modules new, I have build a Script to run this easily by typeing vboxsetup as root.
    Its a Minute to wait and Virtualbox is working.......


    if yes then what is the correct way to install VirtualBox?
    Add the Oracle Repo.
    Code:
    zypper ar -f http://download.virtualbox.org/virtualbox/rpm/opensuse/42.1/ Virtualbox
    Thats also the Repo for 42.2......
    Install Virtualbox:
    Code:
    zypper in VirtualBox-5.1

Page 1 of 2 12 LastLast

Posting Permissions

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