Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-16-2017, 03:18 PM
|
#1
|
LQ Newbie
Registered: Apr 2017
Location: Keller, TX
Posts: 6
Rep: 
|
Virtual Box Error
i am trying to set up a vm for windows on my laptop. the initial setup went fine. when i try to start the vm, i get this:
kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing
'/etc/init.d/vboxdrv setup'
as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
i have run both the string above and attempted to install the dkms package, and both abort.
as a newbie, what am i missing?
|
|
|
04-16-2017, 03:23 PM
|
#2
|
Senior Member
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
|
Quote:
Originally Posted by Myra Mayns
i am trying to set up a vm for windows on my laptop. the initial setup went fine. when i try to start the vm, i get this:
kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing
'/etc/init.d/vboxdrv setup'
as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
i have run both the string above and attempted to install the dkms package, and both abort.
as a newbie, what am i missing?
|
Are you running the above command as root/superuser?
As, it needs to be run as root/superuser, for it to work.
|
|
1 members found this post helpful.
|
04-16-2017, 06:56 PM
|
#3
|
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
|
Hi Myra,
Welcome to LQ! Which distribution are you running? How new are you to Linux?
|
|
|
04-16-2017, 10:45 PM
|
#4
|
LQ Newbie
Registered: Apr 2017
Location: Keller, TX
Posts: 6
Original Poster
Rep: 
|
VBoz issues
i'm running Mint 18.0.
and i'm an intel troop attempting to learn linux. so far, so good, but i want to have a windows VM to work from as well.
|
|
|
04-16-2017, 10:45 PM
|
#5
|
LQ Newbie
Registered: Apr 2017
Location: Keller, TX
Posts: 6
Original Poster
Rep: 
|
and yes, i was running as root.
but i am also confused about root. i installed some app called root, and once i did i could not get out of it back to the standard command prompt other than killing the terminal window...but that's another issue...
Last edited by Myra Mayns; 04-16-2017 at 10:47 PM.
|
|
|
04-16-2017, 11:29 PM
|
#6
|
Member
Registered: Nov 2010
Posts: 223
Rep:
|
For both Virtualbox and VMware, you need to be sure to have "make" and "gcc" installed. And you need to have the "kernel-headers" installed that match the version of your kernel.
That was for Debian/Ubuntu distros, some distros, maybe fedora?, need "kernel-devel" installed in place of "kernel-headers".
With these programs installed, virtualbox will be able to build the kernel modules.
|
|
|
04-18-2017, 09:46 PM
|
#7
|
LQ Newbie
Registered: Apr 2017
Location: Keller, TX
Posts: 6
Original Poster
Rep: 
|
i'll go back to the drawing board...thanks.
|
|
|
04-19-2017, 01:21 AM
|
#8
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
1) don't be root.
2) the error you posted is maybe the single most posted newbie virtualbox error out there. please search a) your distro's forums and b) virtualbox documentation and c) virtualbox forums for same error.
|
|
|
04-19-2017, 05:02 AM
|
#9
|
Senior Member
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
|
Quote:
Originally Posted by ondoho
1) don't be root.
|
ondoho, You need to run the /etc/init.d/vboxdrv setup command as root (as the error message states), otherwise it will not be able to build the kernel module.
|
|
1 members found this post helpful.
|
04-19-2017, 09:05 AM
|
#10
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep: 
|
Quote:
Originally Posted by ondoho
1) don't be root.
|
Guessing they meant "don't run Virtualbox as root".
Code:
sudo /etc/init.d/vboxdrv setup
in a terminal is necessary to comply with Vbox's "instructions".
Just sayin'
|
|
|
04-19-2017, 12:20 PM
|
#11
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
Quote:
Originally Posted by jsbjsb001
ondoho, You need to run the /etc/init.d/vboxdrv setup command as root (as the error message states), otherwise it will not be able to build the kernel module.
|
i'm very sorry, i largely misread the op for lack of quote/code tags.
|
|
|
04-19-2017, 03:38 PM
|
#12
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep: 
|
|
|
|
04-23-2017, 03:03 PM
|
#13
|
LQ Newbie
Registered: Apr 2017
Location: Keller, TX
Posts: 6
Original Poster
Rep: 
|
i'm going to blow it away and start over. i need to run some updates, apparently.
thanks all.
|
|
|
All times are GMT -5. The time now is 04:38 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|