Virtual Box: Specify KERN_DIR=<directory>
Today I was trying to run Oracle Virtual Box when an error occured.This is a step by step guide for me to use, as it worked for me.
Virtual Box Error |
when I went to /var/log/vbox-install.log I got this error:
Makefile:183: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
To fix this error I told my package Manager to install kernel-devel, make, gcc, gcc-c++, kernel-source, kernel-syms
I used the command "
zypper install make gcc gcc-c++ kernel-source kernel-syms"
The install was about 400MB.
try running "/etc/init.d/vboxdrv setup"
I added my user to the vboxgroup (and it still was not working). <<== Need to check this name
Then I uninstalled everything with virtual box, "zypper rm virt*"
a Nice command was "zypper search virt*"
What I saw from running that was there were many different Virtual Box Applications, and I wanted the oracle one, which was not the basic VirtualBox.
I re-installed Oracle VirtualBox with "zypper install virtualboc-qt"
and then it worked. (Not to sure what the cause of the problem was.)
Remember also add yourself to the vbox user group
#bearMan
No comments:
Post a Comment