Results 1 to 9 of 9

Thread: Virtualbox problem on Kali

  1. #1

    Virtualbox problem on Kali

    Hi,

    I don't know if i 'm on the good place for ask help about a problem with a install and error reporting about it ...

    I have a problem with Virtualbox after install it on last version of Kali.

    A moderator can move my post in the good place if is not here ?

    thanks a lot !

    sorry for my english, i from belgium

    My problem is ...

    I have been up to date the last Kali version (apt update && apt upgrade all), on this point all is ok
    Then, i have try to install the package VirtualBox, it's too ok.
    But when i start in command line this one, i have this error in bash commands line but virtualbox start

    Code:
    WARNING: The character device /dev/vboxdrv does not exist.
         Please install the virtualbox-dkms package and the appropriate
         headers, most likely linux-headers-amd64.
    
         You will not be able to start VMs until this problem is fixed.
    Qt WARNING: QStandardPaths: runtime directory '/run/user/1000' is not owned by UID 0, but a directory permissions 0700 owned by UID 1000 GID 1000
    Qt WARNING: QStandardPaths: runtime directory '/run/user/1000' is not owned by UID 0, but a directory permissions 0700 owned by UID 1000 GID 1000
    Code:
    uname -a
    Linux OnTheLanAgain 6.0.0-kali5-rt-amd64 #1 SMP PREEMPT_RT Debian 6.0.10-2kali1 (2022-12-06) x86_64 GNU/Linux
    Code:
    dpkg -l | grep linux-headers
    ii  linux-headers-6.0.0-kali5-amd64         6.0.10-2kali1                        amd64        Header files for Linux 6.0.0-kali5-amd64
    ii  linux-headers-6.0.0-kali5-common        6.0.10-2kali1                        all          Common header files for Linux 6.0.0-kali5
    ii  linux-headers-6.0.0-kali5-common-rt     6.0.10-2kali1                        all          Common header files for Linux 6.0.0-kali5-rt
    ii  linux-headers-6.0.0-kali5-rt-amd64      6.0.10-2kali1                        amd64        Header files for Linux 6.0.0-kali5-rt-amd64
    ii  linux-headers-amd64                     6.0.10-2kali1                        amd64        Header files for Linux amd64 configuration (meta-package)
    Code:
    sudo dpkg-reconfigure virtualbox-dkms
    Module virtualbox-7.0.4 for kernel 6.0.0-kali5-rt-amd64 (x86_64).
    Before uninstall, this module version was ACTIVE on this kernel.
    
    vboxdrv.ko:
     - Uninstallation
       - Deleting from: /lib/modules/6.0.0-kali5-rt-amd64/updates/dkms/
     - Original module
       - No original module was found for this module on this kernel.
       - Use the dkms install command to reinstall any previous module version.
    
    vboxnetadp.ko:
     - Uninstallation
       - Deleting from: /lib/modules/6.0.0-kali5-rt-amd64/updates/dkms/
     - Original module
       - No original module was found for this module on this kernel.
       - Use the dkms install command to reinstall any previous module version.
    
    vboxnetflt.ko:
     - Uninstallation
       - Deleting from: /lib/modules/6.0.0-kali5-rt-amd64/updates/dkms/
     - Original module
       - No original module was found for this module on this kernel.
       - Use the dkms install command to reinstall any previous module version.
    depmod...
    Deleting module virtualbox-7.0.4 completely from the DKMS tree.
    Loading new virtualbox-7.0.4 DKMS files...
    Building for 6.0.0-kali5-rt-amd64
    Building initial module for 6.0.0-kali5-rt-amd64
    Done.
    
    vboxdrv.ko:
    Running module version sanity check.
     - Original module
       - No original module exists within this kernel
     - Installation
       - Installing to /lib/modules/6.0.0-kali5-rt-amd64/updates/dkms/
    
    vboxnetadp.ko:
    Running module version sanity check.
     - Original module
       - No original module exists within this kernel
     - Installation
       - Installing to /lib/modules/6.0.0-kali5-rt-amd64/updates/dkms/
    
    vboxnetflt.ko:
    Running module version sanity check.
     - Original module
       - No original module exists within this kernel
     - Installation
       - Installing to /lib/modules/6.0.0-kali5-rt-amd64/updates/dkms/
    depmod...

    I have been search on the web , but nothing can't help me ...
    Can you help me with this problem please ?

    Thanks
    Last edited by Pat-le-gaine; 2022-12-20 at 22:56.

  2. #2
    Good morning!

    Kali versions offer several options:

    you can virtualize it with virtual machine

    you can install it with its .iso extension with an external drive

    The solution would be:
    Download the version of kali linux directly prepared for virtual machines

    I leave the download information here: https://www.kali.org/get-kali/#kali-virtual-machines

    Step by step:
    1- Download the file

    2-Unzip it in a fixed internal folder that you use for your system files

    3-In the virtual machine, instead of installing it, simply click on "search" and look for the file that you unzipped

    4-Start the visual machine

    5-Fun and entertainment!

  3. #3

    Post

    Quote Originally Posted by briansachetto View Post
    Good morning!

    Kali versions offer several options:

    you can virtualize it with virtual machine

    you can install it with its .iso extension with an external drive

    The solution would be:
    Download the version of kali linux directly prepared for virtual machines

    I leave the download information here: https://www.kali.org/get-kali/#kali-virtual-machines

    Step by step:
    1- Download the file

    2-Unzip it in a fixed internal folder that you use for your system files

    3-In the virtual machine, instead of installing it, simply click on "search" and look for the file that you unzipped

    4-Start the visual machine

    5-Fun and entertainment!

    Hi briansachetto,

    Thank you for your answer, but in fact I want to have a Virtualbox in the Kali system and not emulate kali in another system

    Then I would like to import Sumo in virtualBox

    VirtualBox is installed on my Kali machine but I have small errors that I want to correct with the help of people who are knowledgeable on the subject.

    When i start Virtualbox i have this in my bash:
    Code:
    Qt WARNING: QStandardPaths: runtime directory '/run/user/1000' is not owned by UID 0, but a directory permissions 0700 owned by UID 1000 GID 1000
    Qt WARNING: QStandardPaths: runtime directory '/run/user/1000' is not owned by UID 0, but a directory permissions 0700 owned by UID 1000 GID 1000

  4. #4
    Join Date
    2021-May
    Location
    UK
    Posts
    772
    You need to add the extension packs to virtual box;

    https://wiki.debian.org/VirtualBox

  5. #5
    hey!

    The error may be related to write permissions, check this topic:

    https://www.linuxquestions.org/quest...ox-4175707429/

  6. #6
    and add the extensions to use

  7. #7
    Join Date
    2022-Dec
    Location
    USA
    Posts
    5
    $groups
    $ls -alR .config/VirtualBox

    Check your permission settings.
    If you set up parts of the Vbox with sudo then change it back to user.

    Or it can be like three other problems that i ran into. What fixed it the easiest.

    purged, remove, clean, autoclean, everything out of sudo apt-get VirtualBox

    then update and upgrade

    exit sudo
    restart would not hurt as well

    And do the VM set up as user.
    not sudo

  8. #8
    Join Date
    2022-Dec
    Location
    USA
    Posts
    5
    If you want a virtual box for linux. A live iso and a flash drive is the easiest. For windows wine64 works fine

    Not sure why but wine proper set up is harder for me than making a RAT. Had to pull my battery out to reset my laptop. From here on out. Live boots
    Last edited by Iammrgrim; 2023-01-04 at 08:42.

  9. #9
    Join Date
    2015-Sep
    Location
    Munich
    Posts
    4
    HI,

    what is the output off : dpkg --configure -a ?
    If there are errors, check the mentioned files.
    VBox worked for me, but actually I can't because of VBox Version 7

    Error! Bad return status for module build on kernel: 6.0.0-kali6-amd64 (x86_64)
    Consult /var/lib/dkms/virtualbox-guest/6.1.22/build/make.log for more information.

    Regards

Similar Threads

  1. Problem with VirtualBox on Kali
    By spider81man in forum TroubleShooting Archive
    Replies: 4
    Last Post: 2018-06-11, 04:18
  2. Problem installing Kali in virtualbox
    By Juande in forum Installing Archive
    Replies: 3
    Last Post: 2013-09-25, 14:05

Posting Permissions

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