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.

http://www.blackmoreops.com/2014/06/10/correct-way-install-virtualbox-guest-additions-packages-kali-linux/


Old info:

If you receive this message:

> "Building the main Guest Additions Module ...fail! (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/3.1.8.0-kali3-amd64/source /lib/modules/$(uname -r)/source
sudo ln -s /lib/modules/3.1.8.0-kali3-amd64/build /lib/modules/$(uname -r)/build
sudo bash '/media/cdrom0/VBoxLinuxAdditions.run'



Test 3D acceleration:

glxgears


Mount a shared folder:

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

No comments: