Installing Guest Additions for a Kali Linux guest in VirtualBox

In order to install the guest additions within a Kali Linux guest using Oracle VM VirtualBox to optimise the guest operating system for better performance and usability, there is a requirement to install the kernel header files.

In order to perform the above we can invoke the following from the terminal:

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

Now we can attach the Guest Additions ISO to the guest virtual machine and begin the install:

cp /media/cd-rom/ /tmp/
chmod 755 /tmp/
cd /tmp

Once complete, reboot the virtual machine to complete the installation. On startup, the virtual machine will now have full mouse and screen integration as well as the ability to share folders with the host system in addition to other device drivers and system applications that have now been installed.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s