I seem to be having a problem in getting virtual machines to work. I have actually never ran virtual box at home so maybe I am missing something obvious. I am continuously getting errors when trying to start a virtual box stating the kernel driver was not found and to run /etc/init.d/vboxdrv setup as root. I have tried this and I get an error that states
This log just says that it failed to instal using DKMS and when trying to Makefile:183 it was unable to find the sources of my current linux kernel. I can specify and run Make again. I have tried to install using
but I get an error that it cannot find any package by regex '.....' You get the gist.
What am I missing here? Can anyone point me in the right direction?
uname -r results
3.5.0-27-generic
Edit: trying to correct spelling errors - virtualmachine is being run on my home server and trying to set it up via VNC viewer. For some reason I can't copy and paste right now.
Code:
Trying to register the VirtualBox KMS kernel modules using DKMSError! Your kernel headers for kernel 3.5.0-27-generic cannot be found.
Please install the linux-headers-3.5.0-27generic package or use the --kernelsourcedir option to tell DKMS where it's located
...failed!
(failed, trying without DKMS)
Recompiling VirtualBox kernel modules ...failed!
(Look at /var/log/vbox-install.log to find out what went wrong)
Code:
apt-get install linux-headers-3.5.0-27-generic
What am I missing here? Can anyone point me in the right direction?
uname -r results
3.5.0-27-generic
Edit: trying to correct spelling errors - virtualmachine is being run on my home server and trying to set it up via VNC viewer. For some reason I can't copy and paste right now.