Thursday, September 10, 2015

Installing Virtualbox guest additions in KALI LINUX (1.x-2.0)

Installing Virtualbox guest additions in KALI LINUX (1.x-2.0):

The first and foremost starting with this do an update:

apt-get update

Recheck on your source file:

You can access your source file at  /etc/apt/source.list

cat /etc/apt/source.list

deb kali main contrib non-free
deb kali/updates main contrib non-free

deb sana main non-free contrib
deb sana/updates main contrib non-free

Probabilities are there that you will not find the below lines:

deb kali main contrib non-free
deb kali/updates main contrib non-free

If not kindly add them (Source: g0tmi1k (

You will have to require to do an update if you have edited your source file.

apt-get update

Next installing linux headers:

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

or you can combine the above two commands with an && operator:

apt-get update && apt-get install -y linux-headers-$(uname -r)

Next is attaching the “Guest Additions” CD-ROM image. Select “Devices” from the VirtualBox menu and then select “Install Guest Additions”. This will mount the Guest Additions ISO in the virtual CD drive in your Kali Linux virtual machine. When prompted to autorun the CD, click the Cancel button.

Now call your friend THE TERMINAL

Search for a file in the cdrom and copy the to some local path on your system . I have copied it to root folder.

cp /media/cdrom/ /root/

Change the permissions on the file to make it executable.

chmod 755 /root/

Go to the location where you have copied the file and run it. Below are the commands that can help you if you are stuck anywhere. :)

cd /root


Final step is to reboot the machine and Tada.

You have the guest additions installed and can use full screen and full mouse integrations kinda stuff. I know it is not rocket science but this additions will be very helpful.

No comments:

Post a Comment