Hello everyone,
Do you get some kind of error that asks you to install DKMS? When you try
/etc/init.d/vboxdrv setup, does it fail?? Here's the solution.
If you have Virtualbox, first, please remove it. (I'm not sure if this is necessary, but just to make sure this solution works, please remove virtualbox.)
yum remove VirtualBox-4.1
Note that the command might be "yum remove Virtualbox-4.0" instead, depending on your version of virtualbox. (e.g. when your version of Virtualbox is 4.0.16.) Note that the latest version of Virtualbox is 4.1.16, so people with this latest version will use "yum remove VirtualBox-4.1"
Then, From:
http://www.if-not-true-then-false.co...-red-hat-rhel/
Change to root user with su or sudo, obviously.
Install fedora Repo files:
cd /etc/yum.repos.d/
wget
http://download.virtualbox.org/virtu...irtualbox.repo
Update packages:
yum update
Check for latest kernel version.
rpm -qa kernel |sort |tail -n 1
uname -r
Output from these two commands should match. If not, reboot the computer.
(The following information is not from that website.)
After that, type these commands (to install what is necessary: )
yum install kernel-devel kernel-headers xinetd
yum groupinstall "Development Tools"
(The following information is from that website.)
Then reinstall virtualbox.
yum install Virtualbox-4.1
Rebuild kernel modules:
/etc/init.d/vboxdrv setup
Then add Virtualbox users to vbox group:
usermod -a -G vboxusers user_name
Replace user_name with any user name, such as your own.
Then, just run virtualbox again.