Thursday, May 21, 2015

Kali Linux 1.1.0 VirtualBox Guest Additions

Edit, you may want to try this out, notably the "dist-upgrade" portion.

Old info:

If you receive this message:

> "Building the main Guest Additions Module! (Look at /var/log/vboxadd-install.log to find out what went wrong)"

There seems to be a difference between the versioning of the Kernel Headers running in Kali Linux versus the Kernel Header sources available via apt-get.

These commands will expose the kali3 kernel sources to the currently running kernel (i.e. kali1, etc) thus allowing the VirtualBox display adapter to work properly.

sudo apt-get install build-essential
sudo ln -s /lib/modules/ /lib/modules/$(uname -r)/source
sudo ln -s /lib/modules/ /lib/modules/$(uname -r)/build
sudo bash '/media/cdrom0/'

Test 3D acceleration:


Mount a shared folder:

mount -t vboxsf 'Shared_Windows_Or_Host_Folder_Name' /empty/folder/to/mount/it/to

No comments: