Page 1 of 1

VBox 4.3.8-- Installing VboxGuestAddition in Kali

Posted: 14. Mar 2014, 00:58
by CSpace
Hi there,

I am having a hard time in installing VBoxGuestAddition in Kali.

Error Details:
It gives an error "Building the main Guest Additions module ... failed!" The error logged by VBox log file is " (modprobe vboxguest failed) Starting VirtualBox Guest Addition service VirtualBox Additions module not loaded!"

Things already tried:
1- Upgraded and updated Kali, still no luck.
2- Uninstalling and re-installing
3- Copying the VBoxLinuxAddition file in /root, changing permission to 755 and running from there.
4- Restarting virtual machine

More Information:
The kernel module I have is 3.7 -trunk-686-pae and the VirtualBox version is 4.3.8.

Is this the unsupported kernel issue? Any help would be appreciated!

Thanks

Re: VBox 4.3.8-- Installing VboxGuestAddition in Kali

Posted: 14. Mar 2014, 01:05
by Perryg
The usual issue is missing packages to properly build the kernel modules.
Kali is Debian based so make sure the following packages are installed on the guest, then re-install the guest additions.

Code: Select all

dkms build-essential linux-headers-$(uname -r)

Re: VBox 4.3.8-- Installing VboxGuestAddition in Kali

Posted: 18. Mar 2014, 21:10
by mattamizer
I am having the same issue and I cannot figure out the cause. I have the correct headers installed and everything is up to date. The contents of the log aren't very useful either:

Code: Select all

Uninstalling modules from DKMS
Attempting to install using DKMS

Creating symlink /var/lib/dkms/vboxguest/4.3.8/source ->
                 /usr/src/vboxguest-4.3.8

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=3.2.0-4-686-pae -C /lib/modules/3.2.0-4-686-pae/build M=/var/lib/dkms/vboxguest/4.3.8/build........................
cleaning build area....

DKMS: build completed.

vboxguest:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.2.0-4-686-pae/updates/dkms/

vboxsf.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.2.0-4-686-pae/updates/dkms/

vboxvideo.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.2.0-4-686-pae/updates/dkms/

depmod....

DKMS: install completed.
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.
I am not sure what else to try at this point. Any and all help would be appreciated.
 Edit:  I am running Debian 7.4 "Wheezy".