Install Virtualbox Guest Additions On VirtualBox - Kali Linux

Install VirtualBox Guest Additions In Kali Linux….

Previously has discussed about Which are problem after update on Kali Linux OS, but this problem has fixed.

For installing virtualbox guest additions packages in kali linux virtualbox, first step time should prepare a few steps.

The first thing do this :

Check repository Kali Linux on /etc/apt/sources.list 
as the following example :

#Regular Repositories  
deb sana main non-free contrib  
deb sana/updates main contrib non-free  

#Source Repositories  
deb-src sana main non-free contrib  
deb-src sana/updates main contrib non-free

After checking your kali linux repository, then type command with :

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

But after update & install linux-header i get message like this :

For this solution, i type update & upgrade command :

# apt-get update && apt-get upgrade

After upgraded, and then type again with command :

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

Okay, Done.

Now for install VBOXADDITIONS.iso from virtualbox, select menu on devices like this

and select insert virtualbox guest image.

Wait for a second, this VBOXADDITIONS.iso will mounted on desktop like this uppermost picture.

After mounted, will show this message for run this software and happen this software can’t run like this pictures :

Alternatives, you must copy this to your place e.g /root/

# cp /media/cd-rom/ /root/  
# chmod 755 /root/  
# cd /root (if not root place)  
# ./

After complete Guest Additions installation, reboot your Kali Linux VM. And then you can see display mouse and screen integration as well as the ability to share folders with the host system.

Create Shared Folders With Host System - Kali Linux VM

After installation guest additions completed, now can create shared folders on system “host” with Kali Linux virtualbox “guest”.

From the virtualbox manager, select menu on devices > shared folders > and choose what you want folders shared.

After changed, now reboot your VM machine.
This should be show like this picture :

Thanks, may be useful and good luck!!!

This post is licensed under CC BY 4.0 by the author.