[SOLVED] virtualbox is installed along with virtualbox-dkms and virtualbox-ext-pack and linux-headers-generic, but error for no /dev/vboxdrv
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
virtualbox is installed along with virtualbox-dkms and virtualbox-ext-pack and linux-headers-generic, but error for no /dev/vboxdrv
I am trying to run a virtualbox image with the "vagrant up" command and I get this:
Code:
$ vagrant up
VirtualBox is complaining that the installation is incomplete. Please
run `VBoxManage --version` to see the error message which should contain
instructions on how to fix this error.
and then
Code:
$ VBoxManage --version
WARNING: The character device /dev/vboxdrv does not exist.
Please install the virtualbox-dkms package and the appropriate
headers, most likely linux-headers-generic.
You will not be able to start VMs until this problem is fixed. 5.2.18_Ubuntur123745
The virtualbox-dkms package and linux-headers-generic were installed automatically so they are installed. I have also installed virtualbox-ext-pack and it is enabled in VirtualBox's preferences -> extensions.
I am doing this on KDE-Neon.
just to clarify, vagrant is working fine my issue is VirtualBox, which I installed from Ubuntu repository with apt.
Thanks
Last edited by Astral Axiom; 03-03-2019 at 12:43 PM.
Reason: add info for clarity
Thanks BW-userx, it actually turned out to be a secure boot issue. I have always gotten away with keeping it enabled on my Ubuntu based KDE-Neon installation, but apparently it really does cause an issue once VirtualBox is installed. That is why I never have that problem on my laptop, since with Arch Linux one must disable secure boot anyway, unless one wishes to deal with self signing new keys after every kernel update, which is like once a month, and I do not even know how to do that yet. I only wanted it enabled on my desktop because it is dual booted with Windows, even though I only boot Windows once every few months to keep it updated or update my Garmin gps. I just don't know how secure running Windows without secure boot is, not that Linux is impervious but probably not as big a threat to run without secure boot enabled.
Last edited by Astral Axiom; 03-04-2019 at 08:11 PM.
Reason: spelling error
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.