LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem starting a vm in oracle virtualbox on sabayon linux8 (https://www.linuxquestions.org/questions/linux-software-2/problem-starting-a-vm-in-oracle-virtualbox-on-sabayon-linux8-4175419384/)

abhishekgit 07-30-2012 10:30 AM

Problem starting a vm in oracle virtualbox on sabayon linux8
 
Hi everyone,
I've downloaded and installed Oracle virtualbox. After i give all the required configurations to run a vm. This is the error i get after i start the VM.

Code:

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. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.

Then executed /etc/init.d/vboxdrv setup as root.
And all i got is,

Code:

Stopping VirtualBox kernel modules ...                                [ ok ]
 * Uninstalling old VirtualBox DKMS kernel modules ...                    [ !! ]
 * Trying to register the VirtualBox kernel modules using DKMS ...
 * Failed, trying without DKMS
 * Recompiling VirtualBox kernel modules ...
 * Look at /var/log/vbox-install.log to find out what went wrong

The /var/log/vbox-install.log
Code:

make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 CONFIG_MODULE_SIG= -C /lib/modules/3.2.0-sabayon/build modules
Makefile:327: /usr/src/linux-3.2.0-sabayon/scripts/Kbuild.include: No such file or directory
Makefile:567: /usr/src/linux-3.2.0-sabayon/arch/x86/Makefile: No such file or directory
/bin/sh: /usr/src/linux-3.2.0-sabayon/scripts/gcc-goto.sh: No such file or directory
make[1]: *** No rule to make target `/usr/src/linux-3.2.0-sabayon/arch/x86/Makefile'.  Stop.
make: *** [vboxdrv] Error 2

I don't know what that means. Kindly help my way out. Thank you.


Regards...

darthaxul 07-31-2012 12:06 AM

virtualizor
 
looks like either you don't have your kernel sources and/or make settings under /usr/src/
after you compile kernel and you do "make mrproper" you will delete all make settings. VBOX needs those make settings to configure the modules.


All times are GMT -5. The time now is 10:22 AM.