[root@centos ~]# cd /usr/src/kernels/
[root@centos kernels]# ls
2.6.32-504.el6.i686
[root@centos kernels]# export KERN_DIR=/usr/src/kernels/2.6.32-504.el6.i686
[root@centos kernels]# service vboxdrv setup
Stopping VirtualBox kernel modules [ OK ]
Removing old VirtualBox pci kernel module [ OK ]
Removing old VirtualBox netadp kernel module [ OK ]
Removing old VirtualBox netflt kernel module [ OK ]
Removing old VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel modules [ OK ]
Starting VirtualBox kernel modules [ OK ]
[root@centos kernels]#