Ubuntu: Updated to VBox 5.0.20, now cant install guest additions [closed]



Question:

I cloned a fresh copy of kali2, did apt-get update. apt-get dist-upgrade(installed fine). Tried with and without installing dkms. (dkms is installed on host(ubuntu) before virtualbox upgrade). Then I try theese two commands which fail because of missing headers.

http://pastebin.com/WgHNGyNH

I was able to install guest additions fine before upgrade to new version of vbox.


Solution:1

Try this commands

deb http://httpredir.debian.org/debian/ jessie main contrib non-free  apt-get update  apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms  

Mount VBoxGuesAdditions CD and an icon is going to show up on your desktop, right click on it and click on 'Open in terminal'...then run this command

sudo ./VBoxLinuxAdditions.run  

and reboot


Solution:2

I've successfully installed guest additions on Ubuntu 16.04 over VirtualBox 5.0.20 by simply inserting the guest additions cd from the device menu of Virtual machine.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »