Getting Virtual Box to run XP problem with the /etc/init.d/vboxdrv setup
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Getting Virtual Box to run XP problem with the /etc/init.d/vboxdrv setup
I installed virtual box and was able to set up the vm, but when I try to run it I get this message:
WARNING: The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (2.6.30.10-105.fc11.i686.PAE) or it failed to load. Please recompile the kernel module and install it by
sudo /etc/init.d/vboxdrv setup
You will not be able to start VMs until this problem is fixed.
I do the command and I get this:
[root@FrankLaptop Frank]# sudo /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel module [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
[root@FrankLaptop Frank]# /var/log/vbox-install.log
bash: /var/log/vbox-install.log: Permission denied
I don't know what to do from this point can you please help?
Error! Bad return status for module build on kernel: 2.6.30.10-105.fc11.i686.PAE (i686)
Consult the make.log in the build directory
/var/lib/dkms/vboxdrv/3.1.2/build/ for more information.
DO YOU HAVE gcc INSTALLED???
this is what the make.log looks like:
DKMS make.log for vboxdrv-3.1.2 for kernel 2.6.30.10-105.fc11.i686.PAE (i686)
Sat Jan 23 11:53:31 MST 2010
/usr/src/kernels/2.6.30.10-105.fc11.i686.PAE/scripts/gcc-version.sh: line 25: gcc: command not found
/usr/src/kernels/2.6.30.10-105.fc11.i686.PAE/scripts/gcc-version.sh: line 26: gcc: command not found
make: gcc: Command not found
make: Entering directory `/usr/src/kernels/2.6.30.10-105.fc11.i686.PAE'
LD /var/lib/dkms/vboxdrv/3.1.2/build/built-in.o
CC [M] /var/lib/dkms/vboxdrv/3.1.2/build/linux/SUPDrv-linux.o
/bin/sh: gcc: command not found
make[1]: *** [/var/lib/dkms/vboxdrv/3.1.2/build/linux/SUPDrv-linux.o] Error 127
make: *** [_module_/var/lib/dkms/vboxdrv/3.1.2/build] Error 2
make: Leaving directory `/usr/src/kernels/2.6.30.10-105.fc11.i686.PAE'
make.log (END)
I am not trying to be a loser, but I don't know what to do from here. I downloaded the source code, but I don't really know what to look for.
•sudo apt-get update
then
•apt-get upgrade
This will make sure that you have all of the newest files.
then do the
•sudo apt-get install linux-headers-$(uname -r)
Thanks AlucardZero! yum groupinstall "Development Tools" did it. Now all that's left is to find a free way to upgrade xp home to xp pro. good luck with that right? Thanks again.
•sudo apt-get update
then
•apt-get upgrade
This will make sure that you have all of the newest files.
then do the
•sudo apt-get install linux-headers-$(uname -r)
hope this helps
He's running Fedora which does not use apt. Please don't give completely wrong answers.
Quote:
Originally Posted by FrankRhoades
Thanks AlucardZero! yum groupinstall "Development Tools" did it. Now all that's left is to find a free way to upgrade xp home to xp pro. good luck with that right? Thanks again.
You're welcome . If you'd like, please click the Thanks button on my post for a more 'official' thanking.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.