View Full Version : VirtualBox 2.0.4 and Fedora 9

27th October 2008, 04:13 PM
hello all ..


[Blackxhat@Linux ~]$ rpm -q dkms VirtualBox kernel-devel
[Blackxhat@Linux ~]$ uname -r
[Blackxhat@Linux ~]$


i added my user to - vboxusers - group
look image link :

and with command :

[Blackxhat@Linux ~]$ su -
[root@Linux ~]# usermod -G vboxusers -a Blackxhat
[root@Linux ~]#


su -c '/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)
[Blackxhat@Linux ~]$

here is problem ...
i wait the Expert ..
thanks for all ..

27th October 2008, 04:17 PM
the problem image !


27th October 2008, 05:15 PM
I wait ..

tnx for all ..

27th October 2008, 05:25 PM
this is a guess but try actually becoming root with its full environment instead of just using su -c

NOTE dash - after "su":

su -
<root password>
/etc/init.d/vboxdrv setup

Simian Man
27th October 2008, 05:27 PM
Can you post the contents of /var/log/vbox-install.log?

28th October 2008, 04:17 AM
rm -f /var/log/vbox-install.log
then /etc/init.d/vboxdrv setup

3rd November 2008, 10:34 AM
I upgraded from Fedora 8 to 9 (I don't know if it's related) but I noticed that the kernel devel file installed when the upgrade completed was for a slightly different kernel version. Of course, VirtualBox was complaining that it did not have the kernel devel file required to recompile the kernel. Uninstalling the wrong devel file and installing the correct one turned the trick for installation. Were I you, I'd check the version of the devel file against the actual kernel version. But...

Trying to actually RUN VB in Fedora 9 for the first time I get the following:

[localhost ~]$ VirtualBox

VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib/virtualbox/VirtualBox.so",) failed: /usr/lib/virtualbox/VirtualBox.so: undefined symbol: _ZN7QRegionpLERK5QRect

Any idea what that is VB users?

3rd November 2008, 11:03 AM
OK, a little research -=suggests=- that the issue is the need to update the kernel beyond 2.6.25-14. Sure enough, the Fedora 9 software update also won't run, suggesting a kernel upgrade first. Problem is: there are no kernel versions listed as available for fc9 beyond what's already running. Is there a repository I need to add?

3rd November 2008, 11:53 AM
Hi Mistergoodbytes. I'm running kernel on my Fedora 9 box. Here's my yum repolist

[glenn@johnbonham temp]$ yum repolist
Loaded plugins: refresh-packagekit
repo id repo name status
livna Livna for Fedora Core 9 - i386 - Base enabled : 967
repof9 repof9 9 - i386 - RepoF9 enabled : 9,897
updates Fedora 9 - i386 - Updates enabled : 10
updates-newkey Fedora 9 - i386 - Updates Newkey enabled : 4,612
repolist: 15,486

My repof9 repository is a local repo that I set up. I replaces the Fedora repo that everyone has. Your list should be pretty much the same except that it will show Fedora and not repof9.

I just installed VirtualBox on the Fedora 9 box. Here's the steps I took for a successful install:

sudo yum install qt qt-x11 kernel-devel
sudo yum groupinstall 'Development Tools'
sudo rpm -ivh VirtualBox-2.0.4_38406_fedora9-1.i386.rpm

This will eliminate the need to install dependencies one at a time and when you run the VirtualBox installer it should compile the module successfully. If not, then just run /etc/init.d/vboxdrv setup again.

Edit: Forgot to add that any time there is a kernel update you need to run the /etc/init.d/vboxdrv setup command again.

3rd November 2008, 01:36 PM
Let your PC do this tedium automatically. Put in /etc/rc.local

/sbin/modprobe vboxdrv
if [ $? != 0 ] ; then
# Compiles & loads vboxdrv module
/etc/init.d/vboxdrv setup

3rd November 2008, 02:18 PM
Sometimes it pays off to try helping someone with an issue. You may end up learning something yourself. Your info regarding rc.local, Brebs, is something that I wasn't aware of, although I should have been. I'll add this to my VBox notes and implement it for my Fedora boxes. Thanks.

5th November 2008, 11:19 AM
OK, after a really HUGE upgrade/update of fc9, including kernel, I was able to install and run VB again. Thanks to all for the assist!