Page 1 of 1

Ubuntu Problems

Posted: 8. Feb 2009, 21:00
by BogWarrior
Just trying to install and received this message in v-box install.log:

Attempting to install using DKMS
removing old DKMS module vboxdrv version

Error! Invalid number of parameters passed.
Usage: remove -m <module> -v <module-version> --all
or: remove -m <module> -v <module-version> -k <kernel-version>

------------------------------
Deleting module version: 2.1.2
completely from the DKMS tree.
------------------------------
Done.

Creating symlink /var/lib/dkms/vboxdrv/2.1.2/source ->
/usr/src/vboxdrv-2.1.2

DKMS: add Completed.

Error! Your kernel source for kernel 2.6.22-14-generic cannot be found at
/lib/modules/2.6.22-14-generic/build or /lib/modules/2.6.22-14-generic/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without
Makefile:143: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.

Too new to know what is going on here.

Thanks,

BW

Posted: 8. Feb 2009, 21:06
by stefan.becker
Install "build-essentials" Package.

Posted: 9. Feb 2009, 03:43
by BogWarrior
Still no luck... I get an error message:


Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Machine
Interface:
IMachine {ea6fb7ea-1993-4642-b113-f29eb39e0df0}

Thanks

BW

Posted: 9. Feb 2009, 20:09
by stefan.becker
You have done what exact?

Posted: 18. Feb 2009, 15:01
by Sasquatch
Things you need to do:
  • Install the Build-Essentials Stephad mentioned;
  • Install the kernel headers of your current kernel;
  • Run /etc/init.d/vboxdrv as root;
  • Try to start VB and a VM if you have one;
What errors do you get now?