Install Guest additions in Kali

Posted on Actualizado enn

Set the repositories

Go to this page docs.kali.org/general-use/kali-linux-sources-list-reposit

the go to a terminal and

#cd /etc/apt

#nano sources.list

add the first two list and

#apt-get update

#apt-get install -y dkms linux-headers-$(uname -r)

$ is a variable, what ever the uname -r commands outputs is going to be stored into this variable and it will be added to text-line linux-headers

I had to run #apt-cache search header | grep -i linux

the I had to look for -kali-all-amd64 and run

#apt-get install linux-headers-4.8.0-kali2-all-amd64

Just in case run apt-get update && apt-get update -y (their might be nothing toupdate but it is good to check)

#reboot

Go to devices/insert guest addions cd image to mount guest additions

Your should see a graphic of a cd and an option to run and when u click run it will fail, Just click OK

Then go back to your terminal navigate to the media you just mounted type in cd /media/cdrom0 then type ls so you can verify the file VBoxLinuxAdditions.run

captura

You want to copy this file to your desktop in order to get it to run type in cp VBoxLinuxAdditions.run /root/Desktop (you must remember this is case sensitive)

captura

captura

Navigate back to root and type in cd Desktop (remember the caps) then ls to verify you see it

Now run the file by typing ./VBoxLinuxAdditions.run (you can copy & paste)

captura

 

 

Anuncios

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s