I am trying to setup Windows XP using Sun Virtual Box on my Ubuntu Desktop(Server) 8.04 Hardy Heron (It's a server. I don't have any physical or boot menu access). I am getting the "Kernel Module is either not loaded or their is a permission problem".

Here's the command line on trying the setup:
Code: Select all
root@ks302332:/home/admin# /etc/init.d/vboxdrv setup
* Stopping VirtualBox kernel module
Opening /proc/modules: No such file or directory
* done.
* Recompiling VirtualBox kernel module
* Look at /var/log/vbox-install.log to find out what went wrong
That command doesn't return anything. I just checked the proc folder and it doesn't have any /modules dir in it. How to get one now?
The Kernel is a custom one by OVH, I believe.
Code: Select all
root@ks302332:/home/admin# uname -a
Linux ks302332.kimsufi.com 2.6.28.1-xxxx-std-ipv4-32 #2 SMP Fri Jan 30 09:55:02 UTC 2009 i686 GNU/Linux
Here's the Ubuntuforums thread where I fixed the permission error:Attempting to install using DKMS
removing old DKMS module vboxdrv version 2.2.0
------------------------------
Deleting module version: 2.2.0
completely from the DKMS tree.
------------------------------
Done.
Creating symlink /var/lib/dkms/vboxdrv/2.2.0/source ->
/usr/src/vboxdrv-2.2.0
DKMS: add Completed.
Error! Your kernel source for kernel 2.6.28.1-xxxx-std-ipv4-32 cannot be found at
/lib/modules/2.6.28.1-xxxx-std-ipv4-32/build or /lib/modules/2.6.28.1-xxxx-std-ipv4-32/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: Warning: using /usr/src/linux as the source directory of your Linux kernel. If this is not correct, specify KERN_DIR=<directory> and run Make again.
Makefile:178: *** Unable to find the folder to install the support driver to. Stop.
Code: Select all
http://ubuntuforums.org/showthread.php?t=1136829