upgrade to Ubuntu 11.10: virtualbox not run

Asked by Lynne Stevens

Well I had to remove virtual box from 11.04 and install the version for 11.10 and got the error
Aspire-3100:/home/jackie# /etc/init.d/vboxdrv setup
 * Stopping VirtualBox kernel modules [ OK ]
 * Uninstalling old VirtualBox DKMS kernel modules [ OK ]
 * Trying to register the VirtualBox kernel modules using DKMS Error! Your kernel headers for kernel 3.0.0-12-generic-pae cannot be found.
Please install the linux-headers-3.0.0-12-generic-pae package,
or use the --kernelsourcedir option to tell DKMS where it's located

 * Failed, trying without DKMS
 * Recompiling VirtualBox kernel modules
 * Look at /var/log/vbox-install.log to find out what went wrong
I tried to download and install the linux-headers-3.0.0-12-generic-pae got zip zero nada for running virtual box
and did the sudo apt-get xxxxx stuff

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
Lynne Stevens (jackie40d) said :
#1

Uninstalling modules from DKMS
  removing old DKMS module vboxhost version 4.1.4

------------------------------
Deleting module version: 4.1.4
completely from the DKMS tree.
------------------------------
Done.
Attempting to install using DKMS

Creating symlink /var/lib/dkms/vboxhost/4.1.4/source ->
                 /usr/src/vboxhost-4.1.4

DKMS: add Completed.
Failed to install using DKMS, attempting to install without
Makefile:172: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
The Log file to this problem

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

sudo apt-get -y install linux-headers-generic-pae linux-headers-lbm-3.0.0-12-generic-pae

Should do it

Revision history for this message
Lynne Stevens (jackie40d) said :
#3

Well this is what I got AGAIN after doing the above of the sudo apt-get-y linux headers and so on

Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing

'/etc/init.d/vboxdrv setup'

as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.

well it seemed to work
root@jackie-Aspire-3100:/home/jackie# /etc/init.d/vboxdrv setup
 * Stopping VirtualBox kernel modules [ OK ]
 * Uninstalling old VirtualBox DKMS kernel modules [ OK ]
 * Trying to register the VirtualBox kernel modules using DKMS [ OK ]
 * Starting VirtualBox kernel modules [ OK ]
root@jackie-Aspire-3100:/home/jackie#
Got my fingers crossed !

Can you help with this problem?

Provide an answer of your own, or ask Lynne Stevens for more information if necessary.

To post a message you must log in.