So after a series of uninstalling and reinstalling VirtualBox to get the updated version, I was able to get it installed and working but it seemed to be crashing my computer as everytime i walked away for 10 minutes and came back, it would be at the login screen. It never did it while I was on it though so I never saw any errors. Now after a couple days of that… Whenever I start it I get an error:
Failed to create VirtualBox COM object
The application will now terminate.
Could not load the settings file ‘/home/user/.VirtualBox/VirtualBox.xml’
Cannont convert settings from version ‘1.10-linux’
Source version is not supported.
I try to reinstall it with zypper in virtualbox and I get:
insserv: warning: script ‘S01pwrstatd’ missing LSB tags and overrides
insserv: warning: script ‘pwrstatd’ missing LSB tags and overrides
No precompiled module for this kernel found – trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.
Compilation of the kernel module FAILED! VirtualBox will not start until this
problem is fixed. Please consult /var/log/vbox-install.log to find out why the
kernel module does not compile. Most probably the kernel sources are not found.
Install them and execute
/etc/init.d/vboxdrv setup
as root.
I run the /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module done
Recompiling VirtualBox kernel module failed
(Look at /var/log/vbox-install.log to find out what went wrong)
That log file says:
Makefile:174: *** Error: unable to find the include directory for your current Linux kernel. Specify KERN_INCL=<directory> and run Make again. Stop.
Has anyone run into this before and/or can help me fix this?
I would bring this to Sun’s forums for vbox but you guys are always most helpful so i thought I’d bug you with it first (sorry)!
Thanks for any help in advanced!
EDIT: oops, forgot… Im running OpenSUSE 11.1 and it seems as though the installed version of vbox is 3.0.14
There is a guide here, just replace 11.1 for where you read 11.2 or 11.3
Virtual Box (Sun Version) Install HowTo
Probably the easiest way for you is to open a terminal and become su -
then copy and paste this code using your mouse:
zypper ar -f http://download.virtualbox.org/virtualbox/rpm/opensuse/11.1 virtualbox
Then close that and go to Yast > Software Management
accept the key from VirtualBox
Then search for Virtualbox and install, currently v. 3.2.6
I had this message with 11.3. Installing the base development package fixed it for me.
Open Software Manager
Select Patterns from the Drop Down
Check the tick box next to the “Base Development” option
Click apply
Hope this helps
Thanks! I went through the manual installations and I didnt have Kernel-source or gcc installed, after installing those I also installed the “Base Development” like richard suggested (thanks Richard)!
Now VirtualBox opens and before I went any further I wanted to do the post install reqs.
When running the “modprobe vboxdrv” I get
FATAL: Module vboxdrv not found.
As a side note I also noticed that it installed 3.2.2, not 3.2.6, though this is not a big deal for me.
Hi there,
The error: FATAL: Module vboxdrv not found means that the kernel module is not installed. This looks like the original problem you were having back from you first post. Earlier you tried to run this to make the kernel module:
/etc/init.d/vboxdrv setup
But it failed, and directed you to the log, in which you correctly identified this line:
Makefile:174: *** Error: unable to find the include directory for your current Linux kernel. Specify KERN_INCL=<directory> and run Make again. Stop.
You are very close, all you should need to do is install the kernel sources (zypper install kernel-source) and then try to build the module again (/etc/init.d/vboxdrv setup). It should then work and you should then be able to start Vbox.
Cheers,
Lews Therin
ahh, right on!! Dont know why that didnt click in my head (Ill get the hang of this eventually) to run the “/ect/init.d/vboxdrv”, ran that with no errors this time, same with “modprobe vboxdrv”
and now vbox itself is working and everything looks normal again!
Awesome:) Thank You all soo much! Really appreciate your time
Great - glad to hear it is working now. I love VirtualBox - good stuff.
Cheers,
Lews Therin