Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

EDIT: Installing the lastest VirtualBox version made it work.


I can't install VirtualBox's Guest Additions on Ubuntu. I've already did this,

sudo apt-get install build-essential linux-headers-`uname -r` dkms

This is my /var/log/vboxadd-install.log, and this is my terminal output,

root@virtualbox:/media/username/VBOXADDITIONS_4.3.0_89960# ./VBoxLinuxAdditions.run 
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.3.0 Guest Additions for Linux............
VirtualBox Guest Additions installer
Removing installed version 4.3.0 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
Removing existing VirtualBox DKMS kernel modules ...done.
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.

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
Warning: unknown version of the X Window System installed. Not installing
X Window System drivers.
 ...done.
Installing graphics libraries and desktop services components ...done.

These are my "linux" packages,

username@virtualbox:/media/username/VBOXADDITIONS_4.3.0_89960$ dpkg --get-selections | grep linux
libselinux1:amd64    install
linux-firmware   install
linux-generic    install
linux-headers-3.13.0-29  install
linux-headers-3.13.0-29-generic  install
linux-headers-3.13.0-30  install
linux-headers-3.13.0-30-generic  install
linux-headers-generic    install
linux-image-3.13.0-29-generic    install
linux-image-3.13.0-30-generic    install
linux-image-extra-3.13.0-29-generic  install
linux-image-extra-3.13.0-30-generic  install
linux-image-generic  install
linux-libc-dev:amd64     install
linux-sound-base     install
pptp-linux   install
util-linux   install

and my installed version,

username@virtualbox:/media/username/VBOXADDITIONS_4.3.0_89960$ uname -a
Linux virtualbox 3.13.0-30-generic #54-Ubuntu SMP Mon Jun 9 22:45:01 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.