Announcement

Collapse
No announcement yet.

Fresh Kubuntu 22.04.1 install and VirtualBox problems

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Fresh Kubuntu 22.04.1 install and VirtualBox problems

    SSD erased (Solid State Drive)
    A clean start - done on purpose.


    Kubuntu 22.04.1 LTS (Jammy Jellyfish)
    was installed
    Kubuntu updated
    Kubuntu upgraded
    restart computer

    Kubuntu_Discover installs VirtualBox 6.1.38

    and
    confirming 6.1.38 is current at
    https://www.virtualbox.org/wiki/Linux_Downloads
    virtualbox-6.1_6.1.38-153438_Ubuntu_jammy_amd64.deb


    then
    Import appliance .ova file

    run VirtualBox
    virtualbox message is


    Kernel driver not installed (rc=-1908)


    details:


    The VirtualBox Linux kernel driver is
    either not loaded or not set up correctly.
    Please reinstall virtualbox-dkms package and
    load the kernel module by executing

    'modprobe vboxdrv'

    as root.

    If your system has EFI Secure Boot enabled
    you may also need to sign the kernel modules
    (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them.
    Please see your Linux system's documentation for more information.

    where: suplibOsInit what:
    3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) -
    The support driver is not installed. On linux, open returned ENOENT.



    one suggestion to fix problem, manually install

    Oracle_VM_VirtualBox_Extension_Pack-6.1.38.vbox-extpack


    same problem.

    many web pages visited
    many suggestions applied
    same problem.


    Kernel driver not installed (rc=-1908)


    What to do?

    --

    #2
    Originally posted by joseph22 View Post
    The VirtualBox Linux kernel driver is
    either not loaded or not set up correctly.
    Please reinstall virtualbox-dkms package and
    load the kernel module by executing

    'modprobe vboxdrv'

    as root.
    So, have you installed the package as requested, or checked that it is installed?

    sudo apt reinstall virtualbox-dkms​ it probably won't show in Discover as the package is not a GUI application itself.

    This builds the needed kernel modules for Virtualbox, and this will also show any errors that may have occurred

    It *should* load the drivers (I might be wrong here), but you probably need a reboot, but you can try loading them manually as described, if there were no errors or anything.

    sudo modprobe vboxdrv​

    Comment


      #3
      Originally posted by claydoh View Post

      So, have you installed the package as requested, or checked that it is installed?
      sudo apt reinstall virtualbox-dkms
      it probably won't show in Discover as the package is not a GUI application itself.

      sudo apt reinstall virtualbox-dkms

      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      E: Unable to locate package virtualbox-dkms



      sudo modprobe vboxdrv

      modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/5.15.0-48-generic


      What to do?

      --

      Comment


        #4
        Originally posted by joseph22 View Post
        What to do?
        No idea.
        Originally posted by joseph22 View Post
        many web pages visited
        many suggestions applied
        same problem.
        ​These may be part of the problem, possibly. No idea what you did​

        You should have virtualbox-dkms in 22.04, I sure do

        Code:
        $ apt policy virtualbox
        virtualbox:
        Installed: (none)
        Candidate: 6.1.38-dfsg-3~ubuntu1.22.04.1
        Version table:
        6.1.38-dfsg-3~ubuntu1.22.04.1 500
        500 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages
        6.1.32-dfsg-1build1 500
        500 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages
        ​and
        Code:
        $ apt policy virtualbox-dkms
        virtualbox-dkms:
        Installed: (none)
        Candidate: 6.1.38-dfsg-3~ubuntu1.22.04.1
        Version table:
        6.1.38-dfsg-3~ubuntu1.22.04.1 500
        500 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages
        6.1.32-dfsg-1build1 500
        500 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages
        You said that you installed virtualbox using discover.
        Did you download and install files from the Virtualbox website, or use the native packages found in Discover?

        Without knowing *exactly* what you did in both installing and then trying to fix things, it will be hard to give proper advice on what to do.

        Comment


          #5
          virtualbox-dkms should have been installed when you install Virtualbox through Discover, as it is identified as a dependency package. However, that the command sudo apt reinstall virtualbox-dkms returns E: Unable to locate package virtualbox-dkms indicates that it isn't installed. So, in the konsole, run: sudo apt install virtualbox-dkms
          Windows no longer obstructs my view.
          Using Kubuntu Linux since March 23, 2007.
          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

          Comment


            #6
            running reinstall would just install it, if not present.
            I just tested to verify.

            The error is saying the OP does not have it available to be installed to begin with, so there is something amiss, or other repos added for VB
            For example, the repo from Virtualbox themselves doesn't use separate packaging for things like the DKMS stuff iirc, However, the package would still show up in an apt search, just not be installable.
            Last edited by claydoh; Sep 30, 2022, 01:04 PM.

            Comment


              #7
              Originally posted by claydoh View Post

              No idea.
              ​These may be part of the problem, possibly. No idea what you did​
              You should have virtualbox-dkms in 22.04, I sure do

              Code:
              $ apt policy virtualbox
              virtualbox:
              Installed: (none)
              Candidate: 6.1.38-dfsg-3~ubuntu1.22.04.1
              Version table:
              6.1.38-dfsg-3~ubuntu1.22.04.1 500
              500 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages
              6.1.32-dfsg-1build1 500
              500 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages
              ​and
              Code:
              $ apt policy virtualbox-dkms
              virtualbox-dkms:
              Installed: (none)
              Candidate: 6.1.38-dfsg-3~ubuntu1.22.04.1
              Version table:
              6.1.38-dfsg-3~ubuntu1.22.04.1 500
              500 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages
              6.1.32-dfsg-1build1 500
              500 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages
              You said that you installed virtualbox using discover.
              Did you download and install files from the Virtualbox website, or
              use the native packages found in Discover?

              Without knowing *exactly* what you did in both installing and
              then trying to fix things,
              it will be hard to give proper advice on what to do.

              Code:
              apt policy virtualbox
              virtualbox:
              Installed: 6.1.38-dfsg-3~ubuntu1.22.04.1
              Candidate: 6.1.38-dfsg-3~ubuntu1.22.04.1
              Version table:
              *** 6.1.38-dfsg-3~ubuntu1.22.04.1 500
              500 http://ca.archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages
              100 /var/lib/dpkg/status
              6.1.32-dfsg-1build1 500
              500 http://ca.archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages




              Code:
              apt policy virtualbox-dkms
              virtualbox-dkms:
              Installed: 6.1.38-dfsg-3~ubuntu1.22.04.1
              Candidate: 6.1.38-dfsg-3~ubuntu1.22.04.1
              Version table:
              *** 6.1.38-dfsg-3~ubuntu1.22.04.1 500
              500 http://ca.archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages
              100 /var/lib/dpkg/status
              6.1.32-dfsg-1build1 500
              500 http://ca.archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages



              > You said that you installed virtualbox using discover.
              > Did you download and install files from the Virtualbox website, or
              > use the native packages found in Discover?​

              Used native packages found in Discover.

              Suggestions?

              --

              Comment


                #8
                output of dkms status and uname -r ?

                Please Read Me

                Comment


                  #9
                  Originally posted by Snowhog View Post
                  virtualbox-dkms should have been installed when you install Virtualbox through Discover, as it is identified as a dependency package. However, that the command sudo apt reinstall virtualbox-dkms returns E: Unable to locate package virtualbox-dkms indicates that it isn't installed. So, in the konsole, run:
                  sudo apt install virtualbox-dkms

                  sudo apt install virtualbox-dkms

                  [sudo] password for x:
                  Reading package lists... Done
                  Building dependency tree... Done
                  Reading state information... Done
                  virtualbox-dkms is already the newest version (6.1.38-dfsg-3~ubuntu1.22.04.1).
                  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


                  --

                  Comment


                    #10
                    Originally posted by oshunluvr View Post
                    output of
                    dkms status and uname -r ?
                    Code:
                    dkms status and uname -r
                    Warning: I do not know how to handle uname.

                    Comment


                      #11
                      dkms status




                      uname -r





                      Please Read Me

                      Comment


                        #12
                        Originally posted by oshunluvr View Post
                        dkms status
                        uname -r

                        dkms status

                        virtualbox/6.1.38, 5.15.0-48-generic, x86_64: installed


                        uname -r

                        5.15.0-48-generic


                        Comment


                          #13
                          That looks normal. Do you have the headers installed for that kernel?

                          Please Read Me

                          Comment


                            #14
                            Originally posted by oshunluvr View Post
                            That looks normal. Do you have the headers installed for that kernel?
                            Unsure what above means.

                            What is the command to display headers? or
                            What to click on, drill down on, to display headers?

                            What is the command to display kernel?

                            --

                            Comment


                              #15
                              linux-headers-5.15.0-48-generic - Linux kernel headers for version 5.15.0 on 64 bit x86 SMP

                              Command:

                              sudo apt install linux-headers-5.15.0-48-generic​

                              Then you will probably need to reconfigure the dkms module.

                              Please Read Me

                              Comment

                              Working...
                              X