installation of virtualbox failed

Asked by marcus aurelius

I downloaded and tried to install the latest virtualbox but it failed.

Message displayed:

Compilation of the kernel module FAILED!

VirtualBox will not start until this problem is fixed. Please consult /var/log/vbox-install.log to find out why the kernel module does not compile. Most probably the kernel sources were not found. Install them (the package name is probably linux-headers-<version> whereby <version> can be determined by 'uname -r') and execute

  /etc/init.d/vboxdrv setup

as root.

No sure how I should proceed with this.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu virtualbox-ose Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Thomas Krüger (thkrueger) said :
#1

Try running at the terminal:
sudo apt-get install linux-headers-generic build-essential
sudo /etc/init.d/vboxdrv setup

Can you help with this problem?

Provide an answer of your own, or ask marcus aurelius for more information if necessary.

To post a message you must log in.