You are not logged in.
I installed virtualbox in my computer a few days ago, as per the instructions given in the virtualbox site (nothing fancy, just "sudo apt-get install virtualbox") without problem.
Yesterday, I tried to create a VM, but, when I got to the memory part, there was no way to move forward, no matter what I did. So today I decided to start VB from the terminal, to see if I could get some data on the problem, and got this:
bernardo@bernardo:~$ virtualbox
WARNING: The character device /dev/vboxdrv does not exist.
Please install the virtualbox-ose-dkms package and the appropriate
headers, most likely linux-headers-amd64.
You will not be able to start VMs until this problem is fixed.
bernardo@bernardo:~$
So now I have my information. All I need now is to know what to do with it...
Can anybody give me a hint?
And, while we're at it, can anybody tell me how to figure this stuff out on my own, so next time I don't have to bother you guys?
Last edited by Inodoro Pereyra (2014-12-03 06:37:22)
Offline
I've got mine running AOK. Did you try try to install the missing packages?
sudo apt-get install virtualbox-ose-dkms linux-headers-amd64
How to figure out... well, GYIF I googled "Please install the virtualbox-ose-dkms", and first hit was a stackoverflow post, which also has a few further instructions
As long as you learn one new thing every day, the day wasn't wasted
Offline
Thank you Peregrino69. Just tried it (feeling like an idiot in the process), but I still get the same error message.
I don't know if this may make a difference or not, but I had to get kernel 3.16.0, to make my wireless work. In any case, the message didn't change, and if I look at /dev, there,s no vboxdrv file anywhere.
Offline
how much ram does the pc have you have installed VB on?
Offline
Offline
Offline
sudo modprobe vboxdrv
Offline
sudo dpkg-reconfigure virtualbox-dkms
sudo dpkg-reconfigure virtualbox
As long as you learn one new thing every day, the day wasn't wasted
Offline
Offline
Offline
Terminal at left has message that your kernel headers for your 3.16 kernel are still not installed; you'll need to install those (as per your first error message). I suspect you will have to rebuild/reinstall the modules using the method outlined by Peregrino69, but I haven't run a VM in years so I'm sort of guessing at that one.
How did you install kernel 3.16? If it was from a debian repo, you can use synaptic and get the headers for that particular kernel; something like linux-headers-3.16-<rest of stuff>.
And I think Ozitraveller was asking how much RAM does your pc have - not how much you intend to use with the VM.
"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe
Offline
Offline
uname -r
"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe
Offline
@Inodoro Pereyra: I don't mean to make you feel bad, but I've never had this much trouble installing and working with VirtualBox.
@PackRat: Love your signature.
Last edited by KrunchTime (2014-12-02 04:41:32)
Offline
Offline
@Krunchtime: don't worry about it, I feel bad already.
Even worse now: I rebooted the computer, and enabled a virtual function on the BIOS, which is said should be enabled to run virtual machines. Booted back into CB, and when I tried to open virtualbox again, IT GAVE ME THE SAME MESSAGE AS BEFORE, LIKE THE KERNEL HEADER PACKAGES ARE NOT INSTALLED!!!
To be honest, this is getting unnerving...
Offline
Offline
linux-headers-amd64
Last edited by ohnonot (2014-12-02 08:18:56)
Offline
Offline
I am running the wheezy backports kernel and also had issues getting Virtualbox working correctly. I had the same exact issue where when it asks for how much RAM to allocate, the next box is greyed out. What eventually fixed it was running this command to install the correct kernel headers for my kernel:
sudo apt-get install linux-headers-$(uname -r)
Then I reinstalled Virtualbox and now everything works flawlessly.
Offline
Thank you all for the replies.
Right now, when I try to start virtualbox, I'm back to getting the same message I used to get before installing the kernel headers:
bernardo@bernardo:~$ virtualbox
WARNING: The character device /dev/vboxdrv does not exist.
Please install the virtualbox-dkms package and the appropriate
headers, most likely linux-headers-amd64.
You will not be able to start VMs until this problem is fixed.
bernardo@bernardo:~$
But what worries me is that I keep on modifying things over and over, and may finally be creating a mess.
How can I completely uninstall virtualbox, so I can reinstall it the right way from the get go?
@ Head_on_a_Stick: I know. I've had Kali for a few months now, and I'm aware it's not easy. I'm installing it again because I want to learn pentesting, as soon as I have the time (which should be the case, starting in mid January, or February next year). Either way, the reason why I created the kali VM now, instead of the Win7 VM, which I really need to run Solidworks, is because I didn't have the Windows disc with me at the time, and either way I need to get more RAM before I can run it.
@Ohnonot: the problem is that I really don't know what I'm doing here. I decided to install virtualbox because in their site they make it look easy, but, to be honest, it has been anything but. And maybe you're right, and I have the information I need right in front of me, and I don't even know that. But even if I did, I don't know what to do with it.
And that's precisely what scares me right now. I'm filling my CB with a lot of crap, and I don't want it dying on me, and having to start from scratch all over again.
To be honest, I'm getting ready to call it quits, and wait until I can get another computer to run solidworks on it...
Offline
sudo apt-get purge virtualbox
will completely remove virtualbox from your system.
Offline
Offline
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat