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/VBoxLinuxAdditions.run /tmp/
chmod 755 /tmp/VBoxLinuxAdditions.run
cd /tmp
./VBoxLinuxAdditions.run

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.

Advertisements

Leave a Reply

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

WordPress.com Logo

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

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s