Virtualbox in Kali Linux Issue (Can't start virtual machine)

This publication summarizes the procedure to enable Virtualbox to run in Kali Linux.
After downloading and installing Virtualbox ( How to install )  , you configure your virtual machine, but while trying to start it you get an error.

Issue:

  • Description:
    After installing Virtualbox in Kali Linux, it is not possible to start a virtual machine.
  • Action requested by virtualbox:
      /etc/init.d/vboxdrv setup
  • While executing that command you are requested to look for the error in the log file:
    cat /var/log/vbox-install.log
  • Error found:
    Makefile:183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
Solution:
  • Verify that the file /etc/apt/sources.list have the following lines (If not add them):
    deb http://http.kali.org/kali kali main contrib non-free
    deb http://security.kali.org/kali-security kali/updates main contrib non-free
  • Execute:
    apt-get update
  • Then execute:
     apt-get install linux-headers-$(uname -r)
  • When it ends, execute once more:
    /etc/init.d/vboxdrv setup


Sources:

http://docs.kali.org/frequently-asked-questions
https://forums.kali.org/archive/index.php/t-5804.html
http://www.brianworm.net/2014/04/kali-linux-tutorial-installing_5.html


¿Desea donar?/Do you wish to give some money to the author?


Give money to the author/writer

Comentarios

Entradas populares de este blog

Xencenter on GNU/Linux

ICMP Monitor With MySQL - Linux

Citrix - Xenserver - Migrate MAC address