Results 1 to 4 of 4

Thread: How to install Virtual box?

  1. #1
    Join Date
    2022-Jun
    Posts
    1

    Unhappy How to install Virtual box?

    Kali linux 2022.2 (fully updated).

    The following error appears during installation:
    Code:
    sudo apt install virtualbox                                                                               
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
      libavif13 libdav1d5 libdrm-intel1 libgeos3.10.2 libkf5kipi-data libkf5kipi32.0.0
    Use 'sudo apt autoremove' to remove them.
    The following additional packages will be installed:
      virtualbox-qt
    Suggested packages:
      vde2 virtualbox-guest-additions-iso
    The following NEW packages will be installed:
      virtualbox virtualbox-qt
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    Need to get 42.9 MB of archives.
    After this operation, 168 MB of additional disk space will be used.
    Do you want to continue? [Y/n] Y
    Get:1 http://mirror-1.truenetwork.ru/kali kali-rolling/contrib amd64 virtualbox amd64 6.1.34-dfsg-2 [21.3 MB]
    Get:2 http://mirror-1.truenetwork.ru/kali kali-rolling/contrib amd64 virtualbox-qt amd64 6.1.34-dfsg-2 [21.6 MB]  
    Fetched 42.9 MB in 1min 8s (628 kB/s)                                                                             
    Selecting previously unselected package virtualbox.
    (Reading database ... 384210 files and directories currently installed.)
    Preparing to unpack .../virtualbox_6.1.34-dfsg-2_amd64.deb ...
    Unpacking virtualbox (6.1.34-dfsg-2) ...
    Selecting previously unselected package virtualbox-qt.
    Preparing to unpack .../virtualbox-qt_6.1.34-dfsg-2_amd64.deb ...
    Unpacking virtualbox-qt (6.1.34-dfsg-2) ...
    Setting up virtualbox (6.1.34-dfsg-2) ...
    Job for virtualbox.service failed because the control process exited with error code.
    See "systemctl status virtualbox.service" and "journalctl -xeu virtualbox.service" for details.
    invoke-rc.d: initscript virtualbox, action "restart" failed.
    ? virtualbox.service - LSB: VirtualBox Linux kernel module
         Loaded: loaded (/etc/init.d/virtualbox; generated)
         Active: failed (Result: exit-code) since Sun 2022-06-19 16:55:04 CDT; 21ms ago
           Docs: man:systemd-sysv-generator(8)
        Process: 88484 ExecStart=/etc/init.d/virtualbox start (code=exited, status=1/FAILURE)
            CPU: 48ms
    
    Jun 19 16:55:04 pc systemd[1]: Starting LSB: VirtualBox Linux kernel module...
    Jun 19 16:55:04 pc virtualbox[88484]: Loading VirtualBox kernel modules...No suitable module for running kernel found ...
    Jun 19 16:55:04 pc virtualbox[88494]:  failed!
    Jun 19 16:55:04 pc virtualbox[88495]:  failed!
    Jun 19 16:55:04 pc systemd[1]: virtualbox.service: Control process exited, code=exited, status=1/FAILURE
    Jun 19 16:55:04 pc systemd[1]: virtualbox.service: Failed with result 'exit-code'.
    Jun 19 16:55:04 pc systemd[1]: Failed to start LSB: VirtualBox Linux kernel module.
    Setting up virtualbox-qt (6.1.34-dfsg-2) ...
    Processing triggers for mailcap (3.70+nmu1) ...
    Processing triggers for kali-menu (2022.3.0) ...
    Processing triggers for desktop-file-utils (0.26-1) ...
    Processing triggers for hicolor-icon-theme (0.17-2) ...
    Processing triggers for man-db (2.10.2-1) ...
    Processing triggers for shared-mime-info (2.2-1) ...
    In this case, the program is installed and it is possible to run it. But it does not create new virtual machines, appears next error:
    Code:
    Kernel driver not installed (rc=-1908)
    
    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.
    How to fix?

  2. #2
    Join Date
    2021-May
    Posts
    316
    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.

  3. #3
    Join Date
    2017-Sep
    Posts
    2
    I face the same issue, before the upgrade everything works fine, No EFI Secure Boot enabled.

  4. #4
    Join Date
    2021-May
    Posts
    316
    Check your drivers are installed properly;

    apt-get install linux-headers-`uname -r`
    dpkg-reconfigure virtualbox-dkms

Similar Threads

  1. Install on Virtual Box
    By Timj in forum Installing Archive
    Replies: 0
    Last Post: 2020-11-21, 16:47
  2. How to install Kali in Virtual Box?
    By paisleyborg in forum Installing Archive
    Replies: 2
    Last Post: 2015-08-17, 09:56
  3. Install Kali in a Virtual Box
    By Saytan in forum Installing Archive
    Replies: 4
    Last Post: 2013-03-20, 17:05

Tags for this Thread

Posting Permissions

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