LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (http://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   Virtual Box Will Not Install XP (http://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/virtual-box-will-not-install-xp-767830/)

Novatian 11-09-2009 12:51 AM

Virtual Box Will Not Install XP
 
I am using Mint 7 on a Dell pentium 4 laptop. By Mint 7's search I got virtual box, it seems to be the latest edition. Nov 09.

After configuring things in user groups and in virtual box, I cannot get virtual box to load Windows XP.

It will not start. "VERR_VM_DRIVER NOT INSTALLED", abort...

Even though the CD drive is going.

Perhaps I should get another edition? If so, how can I completely remove this one with the 10240 space? Or should I repair it?

neonsignal 11-09-2009 02:39 AM

It may just be that the vboxdrv module has not been started.

Have a look at /etc/default/virtualbox-ose and see if the driver has been set to load automatically:
Code:

LOAD_VBOXDRV_MODULE=1
Then see if the module starts:
Code:

sudo /etc/init.d/virtualbox-ose start
If your installation is different and doesn't have these files, just try inserting the module directly:
Code:

sudo modprobe vboxdrv
sudo modprobe vboxnetflt

If modprobe cannot find the kernel modules, they need to be installed or built. They will have a package name something like virtualbox-ose-modules-2.6.686. They can also be built from source (there will be details in other posts).

FrankRhoades 01-22-2010 04:26 PM

I am also having problems running Virtual Box
 
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?

neonsignal 01-22-2010 08:10 PM

Regarding questions from FrankRhoades

To view the log, you can use the command less, ie
Code:

less /var/log/vbox-install.log
Chances are that you can't compile it because you don't have the headers for your kernel installed (linux-headers-2.6-686).

However, instead of compiling your own vboxdrv, some distros already have precompiled versions. Have a look for a package called something like virtualbox-ose-modules-2.6-686 (it might not be exactly that, but it will start with 'virtualbox-ose-modules').

If you still have problems, I would suggest starting a new forum thread, so it doesn't get confused with the original post.

FrankRhoades 01-23-2010 02:00 PM

Thanks for the help. I posted a new thread for this problem; Getting Virtual Box to run XP problem with the /etc/init.d/vboxdrv setup. I am still having problems, but I know what the initial issue was. I posted it under the new thread. Thanks again.


All times are GMT -5. The time now is 11:42 AM.