SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2014-11-30 23:58:06

Inodoro Pereyra
#! Die Hard
From: Back in Buenos Aires
Registered: 2013-07-01
Posts: 844

[SOLVED, DAMMIT!!!] Virtualbox issue

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... tongue

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

Help fund CrunchBang, donate to the project!

#2 2014-12-01 00:10:19

Peregrino69
#! Member
From: Am*dam
Registered: 2014-11-10
Posts: 87

Re: [SOLVED, DAMMIT!!!] Virtualbox issue

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 smile I googled "Please install the virtualbox-ose-dkms", and first hit was a stackoverflow post, which also has a few further instructions smile


As long as you learn one new thing every day, the day wasn't wasted smile

Offline

#3 2014-12-01 00:48:00

Inodoro Pereyra
#! Die Hard
From: Back in Buenos Aires
Registered: 2013-07-01
Posts: 844

Re: [SOLVED, DAMMIT!!!] Virtualbox issue

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. sad

Offline

#4 2014-12-01 00:54:27

Ozitraveller
#! Junkie
From: Less is More!
Registered: 2011-04-26
Posts: 289
Website

Re: [SOLVED, DAMMIT!!!] Virtualbox issue

how much ram does the pc have you have installed VB on?

Offline

#5 2014-12-01 01:35:13

Inodoro Pereyra
#! Die Hard
From: Back in Buenos Aires
Registered: 2013-07-01
Posts: 844

Re: [SOLVED, DAMMIT!!!] Virtualbox issue

Offline

#6 2014-12-01 07:29:27

ohnonot
...again
Registered: 2012-05-22
Posts: 2,205

Re: [SOLVED, DAMMIT!!!] Virtualbox issue

Offline

#7 2014-12-01 07:29:58

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: [SOLVED, DAMMIT!!!] Virtualbox issue

sudo modprobe vboxdrv

Offline

#8 2014-12-01 18:11:46

Peregrino69
#! Member
From: Am*dam
Registered: 2014-11-10
Posts: 87

Re: [SOLVED, DAMMIT!!!] Virtualbox issue

sudo dpkg-reconfigure virtualbox-dkms
sudo dpkg-reconfigure virtualbox

As long as you learn one new thing every day, the day wasn't wasted smile

Offline

#9 2014-12-02 00:02:28

Inodoro Pereyra
#! Die Hard
From: Back in Buenos Aires
Registered: 2013-07-01
Posts: 844

Re: [SOLVED, DAMMIT!!!] Virtualbox issue

Offline

#10 2014-12-02 00:20:12

Inodoro Pereyra
#! Die Hard
From: Back in Buenos Aires
Registered: 2013-07-01
Posts: 844

Re: [SOLVED, DAMMIT!!!] Virtualbox issue

Offline

#11 2014-12-02 01:36:35

PackRat
#! Die Hard
From: USA
Registered: 2011-03-03
Posts: 1,572

Re: [SOLVED, DAMMIT!!!] Virtualbox issue

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

#12 2014-12-02 02:12:05

Inodoro Pereyra
#! Die Hard
From: Back in Buenos Aires
Registered: 2013-07-01
Posts: 844

Re: [SOLVED, DAMMIT!!!] Virtualbox issue

Offline

#13 2014-12-02 02:57:16

PackRat
#! Die Hard
From: USA
Registered: 2011-03-03
Posts: 1,572

Re: [SOLVED, DAMMIT!!!] Virtualbox issue

uname -r 

"It does not require many words to speak the truth." - Chief Joseph, Nez Perce tribe

Offline

#14 2014-12-02 04:39:47

KrunchTime
#! Die Hard
From: not where I belong
Registered: 2012-03-02
Posts: 3,264

Re: [SOLVED, DAMMIT!!!] Virtualbox issue

@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.  wink

Last edited by KrunchTime (2014-12-02 04:41:32)

Offline

#15 2014-12-02 05:52:44

Inodoro Pereyra
#! Die Hard
From: Back in Buenos Aires
Registered: 2013-07-01
Posts: 844

Re: [SOLVED, DAMMIT!!!] Virtualbox issue

Offline

#16 2014-12-02 06:42:33

Inodoro Pereyra
#! Die Hard
From: Back in Buenos Aires
Registered: 2013-07-01
Posts: 844

Re: [SOLVED, DAMMIT!!!] Virtualbox issue

@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!!! mad

To be honest, this is getting unnerving... sad

Offline

#17 2014-12-02 07:39:04

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: [SOLVED, DAMMIT!!!] Virtualbox issue

Offline

#18 2014-12-02 08:15:45

ohnonot
...again
Registered: 2012-05-22
Posts: 2,205

Re: [SOLVED, DAMMIT!!!] Virtualbox issue

linux-headers-amd64

Last edited by ohnonot (2014-12-02 08:18:56)

Offline

#19 2014-12-02 08:27:08

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2012-03-22
Posts: 1,026
Website

Re: [SOLVED, DAMMIT!!!] Virtualbox issue

Offline

#20 2014-12-02 11:32:43

Kuno
#! Die Hard
From: Osnabrück - DE
Registered: 2009-01-09
Posts: 674

Re: [SOLVED, DAMMIT!!!] Virtualbox issue

Offline

#21 2014-12-02 23:10:45

blainester
New Member
From: California, USA
Registered: 2014-12-02
Posts: 9

Re: [SOLVED, DAMMIT!!!] Virtualbox issue

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

#22 2014-12-02 23:54:16

Inodoro Pereyra
#! Die Hard
From: Back in Buenos Aires
Registered: 2013-07-01
Posts: 844

Re: [SOLVED, DAMMIT!!!] Virtualbox issue

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... sad

Offline

#23 2014-12-03 00:40:59

blainester
New Member
From: California, USA
Registered: 2014-12-02
Posts: 9

Re: [SOLVED, DAMMIT!!!] Virtualbox issue

sudo apt-get purge virtualbox

will completely remove virtualbox from your system.

Offline

#24 2014-12-03 00:43:24

Inodoro Pereyra
#! Die Hard
From: Back in Buenos Aires
Registered: 2013-07-01
Posts: 844

Re: [SOLVED, DAMMIT!!!] Virtualbox issue

Offline

Help fund CrunchBang, donate to the project!

#25 2014-12-03 00:50:03

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: [SOLVED, DAMMIT!!!] Virtualbox issue

Offline

Board footer

Powered by FluxBB

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

Debian Logo