Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (Not For Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (Not For Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Thread Tools Search this Thread Display Modes
Old 15th June 2012, 10:56 PM
Cylinder57 Offline
Registered User
Join Date: Apr 2012
Location: North America
Posts: 46
/etc/init.d/vboxdrv setup errors? Virtualbox solutions!

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:

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.

Last edited by Cylinder57; 15th June 2012 at 11:20 PM. Reason: I don't want to have to rely on a website for instructions
Reply With Quote
Old 5th February 2014, 06:15 AM
MasterStargazer Offline
Registered User
Join Date: Feb 2014
Location: Cartersville ga
Posts: 22
Re: /etc/init.d/vboxdrv setup errors? Virtualbox solutions!

i did everything listed and everything went smoothly UNTIL the reinstall step. when i entered the text specified i got a "no package available" reply. installed it from the website as the actual virtualbox appliocation itself does not show on my yum extender, and then ran /etc/init.d/vboxdrv setup and was told it failed and read the log. the log said to run an "oldconfig" command string to fix it. i did so and was told the architecture was invalid. im using fedora 20 and latest VBox is 4.3.6 so any help getting this running would be greatly appreciated. i need to get a working virtualbox going so i can use windows in addition to my fedora as pepakura designer doesnt work on linux and doesnt run very well at all in WINE and i need this program for my prop and costume replica hobby.

Last edited by MasterStargazer; 5th February 2014 at 06:29 AM. Reason: typo
Reply With Quote

dkms , error , errors , setup , solutions , vboxdrv , virtualbox

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VIrtualBox (vboxdrv) is either not loaded pedenski Using Fedora 15 17th November 2014 11:44 AM
[SOLVED] VirtualBox USB subsystem errors bike_head Using Fedora 3 1st February 2012 02:58 AM
Install errors for VirtualBox jmcc2950 Installation, Upgrades and Live Media 6 7th May 2010 06:39 PM
VirtualBox: cannot 'modprobe vboxdrv' jeanluca Using Fedora 2 24th December 2009 11:19 PM
Medal of Honor - Allied Assult (Errors and Solutions) Rohit Gamers' Lounge 7 25th May 2007 04:30 PM

Current GMT-time: 07:35 (Wednesday, 18-10-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat