Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## ### ### ### ### ### ### ### ### ##
- ### Issues installing VirtualBox Guest Additions ###
- ## ### ### ### ### ### ### ### ### ##
- -----------------------------------------------------------------------------------
- sh ./VBoxLinuxAdditions.run
- Verifying archive integrity... All good.
- Uncompressing VirtualBox 4.2.18 Guest Additions for Linux............
- VirtualBox Guest Additions installer
- Removing installed version 4.2.18 of VirtualBox Guest Additions...
- Copying additional installer modules ...
- Installing additional modules ...
- Removing existing VirtualBox non-DKMS kernel modules ...done.
- Building the VirtualBox Guest Additions kernel modules
- *** The headers for the current running kernel were not found. If the following
- module compilation fails then this could be the reason. *** // THIS IS THE PROBLEM! HOW TO FIX BELOW
- Building the main Guest Additions module ...fail!
- (Look at /var/log/vboxadd-install.log to find out what went wrong)
- Doing non-kernel setup of the Guest Additions ...done.
- Installing the Window System drivers
- Installing X.Org Server 1.12 modules ...done.
- Setting up the Window System to use the Guest Additions ...done.
- You may need to restart the hal service and the Window System (or just restart
- the guest system) to enable the Guest Additions.
- Installing graphics libraries and desktop services components ...done.
- -----------------------------------------------------------------------------------
- ### ### ### ### - ### ### ### ###
- ### ### ### ### FIX ### ### ### ###
- ### ### ### ### - ### ### ### ###
- Install the headers:
- 1. open up a terminal and type: uname -r, now copy the output, for example:
- root@kali-linux:~# uname -r
- 3.10-3-amd64
- root@kali-linux:~#
- 2. aptitude install linux-headers-3.10-3-amd64
- 3. Now open your virtualbox and once in your virtual distro, you will see a menu bar on the top, go to "devices" if I'm not wrong, and find the Install guest addition.
- 4. cp /media/cd-rom/VBoxLinuxAdditions.run /root/
- chmod 755 /root/VBoxLinuxAdditions.run
- cd /root
- ./VBoxLinuxAdditions.run
- // Source: https://forums.kali.org/showthread.php?18973-Issues-installing-VirtualBox-Guest-Additions
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement