If you have installed RPMfusion repo, please disable that from going to add/remove software -> sources.
1. sudo yum -y update kernel
2. sudo yum install -y wget
3. wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo
4. Move the downloaded file "virtualbox.repo" to "/etc/yum.repos.d/"
5. yum install -y gcc kernel-devel dkms
6. yum install -y VirtualBox-4.1
7. /etc/init.d/vboxdrv setup ## OR ## service vboxdrv setup
Fix probelems:
1. Check kernel header version and kernel version matches each other.
rpm -q kernel
rpm q -kernel-header
2. After installing VirtualBox please restart.
Note : If you are on fedora 17 and did not updated the kernel (The default kernel on Fedora 17 is kernel-3.3.4-5.fc17.x86_64) yet then you will need to run this :
sudo yum install kernel-devel-3.3.4-5.fc17.x86_64
1. sudo yum -y update kernel
2. sudo yum install -y wget
3. wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo
4. Move the downloaded file "virtualbox.repo" to "/etc/yum.repos.d/"
5. yum install -y gcc kernel-devel dkms
6. yum install -y VirtualBox-4.1
7. /etc/init.d/vboxdrv setup ## OR ## service vboxdrv setup
8. usermod -a -G vboxusers $your_user_name
Fix probelems:
1. Check kernel header version and kernel version matches each other.
rpm -q kernel
rpm q -kernel-header
2. After installing VirtualBox please restart.
Note : If you are on fedora 17 and did not updated the kernel (The default kernel on Fedora 17 is kernel-3.3.4-5.fc17.x86_64) yet then you will need to run this :
sudo yum install kernel-devel-3.3.4-5.fc17.x86_64
No comments:
Post a Comment