Post

Install Virtualbox Guest Additions On VirtualBox - Kali Linux

Install VirtualBox Guest Additions In Kali Linux….

Previously has discussed about https://tuxnoob.com/posts/fix-apt-transport-https-could-not/. 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 :

1
2
3
4
5
6
7
#Regular Repositories  
deb http://http.kali.org/kali sana main non-free contrib  
deb http://security.kali.org/kali-security sana/updates main contrib non-free  

#Source Repositories  
deb-src http://http.kali.org/kali sana main non-free contrib  
deb-src http://security.kali.org/kali-security sana/updates main contrib non-free

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

1
# 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 :

1
# apt-get update && apt-get upgrade

After upgraded, and then type again with command :

1
# 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 VBoxAdditions.run to your place e.g /root/

1
2
3
4
# cp /media/cd-rom/VBoxLinuxAdditions.run /root/  
# chmod 755 /root/VBoxLinuxAdditions.run  
# cd /root (if not root place)  
# ./VBoxLinuxAdditions.run

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.