check out my new blog at

Tuesday, October 23, 2007

VirtualBox on Fedora installation

I was setting up VirtualBox on my machine and encountered error:

$ sudo /etc/init.d/vboxdrv setup
Starting VirtualBox kernel module FATAL: Error inserting vboxdrv (/lib/modules/ Invalid module format

Well that was because my kernel-sources didn't match my running kernel the module was built for.

I checked the /usr/src/kernels:

and compared with uname -a:
Linux gm #1 SMP Thu Sep 27 18:48:03 EDT 2007 i686 i686 i386 GNU/Linux

machine architecture uname -i:

That means that to get module compiled i need to have kernel-sources(package named kernel-devel on fedora): for i686 architecture, and i had i586 instead

so find appropriate package:
$ sudo yum search kernel-devel:
kernel-devel.i686 updates
Matched from:

then install it
$ sudo yum install kernel-devel-

now link like:
$ cd /usr/src/
$ sudo ln -s kernels/ linux

to get linux link to point installed sources this:
[gmarik@gm src]$ ls -l
linux -> kernels/

Having done that now we can try to setup VirtualBox again:
$ sudo /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel module [ OK ]
Starting VirtualBox kernel module [ OK ]

PS: make sure your user have been added to vboxusers group
PPS: usually after rebooting machine i need to do:
$ sudo chmod g+rw /dev/vboxdrv

Labels: , , , , ,

 check out my new blog at

Thursday, October 04, 2007

yet another html+css table bars|charts

Download & view

Labels: , ,