LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 03-18-2011, 01:05 PM   #1
jnnewton
LQ Newbie
 
Registered: Sep 2007
Posts: 5

Rep: Reputation: 0
Virtualbox on Lenny


So, heres a rundown of what i've done, from http://wiki.debian.org/VirtualBox#Starting . The problem part is here:

Code:
josh@NAS:/dev$ su
Password:
NAS:/dev# invoke-rc.d udev reload
invoke-rc.d: initscript udev, action "reload" failed.
NAS:/dev# modprobe -r vboxdrv ; modprobe vboxdrv
NAS:/dev# exit
then when trying to start, i get this:
Code:
josh@NAS:/dev$ virtualbox
WARNING: The character device /dev/vboxdrv does not exist.
         Please install the virtualbox-ose-modules package for your kernel and
         load the module named vboxdrv into your system.

         You will not be able to start VMs until this problem is fixed.
Qt WARNING: VirtualBox: cannot connect to X server
josh@NAS:/dev$
So, if anyone knows how to fix this, help me out!
 
Old 03-18-2011, 10:03 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,342
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
Maybe this will help:

http://wiki.debian.org/VirtualBox#Th...rvdoesnotexist

I always find that modprobe vboxdrv is enough to start the VirtualBox kernel.
 
Old 03-19-2011, 02:16 AM   #3
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
I never did it the way described on the wiki page you link to.
That is what i do (for virtualbox-ose):
Code:
apt-get install linux-headers-$(uname -r)
apt-get install module-assístant virtualbox-ose-source
m-a update
m-a prepare
m-a a-i virtualbox-ose
If that is not enough i add
Code:
vboxdrv
to /etc/modules
and do
Code:
adduser my_name vboxusers
With dkms that should get done automatically (in case you got the kernel headers).
For the PUEL-version you run
/etc/init.d/vboxdrv setup

Upgrading to the actual Debian stable (version 6, release name "Squeeze" might be an idea.

I use this Ubuntu-wiki as reminder, but it is German:
http://wiki.ubuntuusers.de/VirtualBo...leml%C3%B6sung
The English Ubuntu-wiki has a similar entry.

good luck and double-check the commands i gave (its early).

Last edited by j1alu; 03-19-2011 at 02:18 AM.
 
Old 03-19-2011, 02:39 AM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
I just installed using synaptic and there weren't any commands to run.
 
Old 03-19-2011, 03:05 AM   #5
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
I wrote:
"With dkms that should get done automatically (in case you got the kernel headers)"

If that didn't do it in your case i ain't got no idea why it works for you. I always had to run said commands.

Last edited by j1alu; 03-19-2011 at 03:06 AM.
 
Old 03-19-2011, 03:24 AM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
I wrote:
"With dkms that should get done automatically (in case you got the kernel headers)"

If that didn't do it in your case i ain't got no idea why it works for you. I always had to run said commands.
__________________
I'm not original poster I was stating that virtual-box installation can be accomplshed through synaptic.
 
Old 03-19-2011, 05:02 AM   #7
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
I realize that you are not the original poster.
You can install it with synaptic, with apt-get, with aptitude or with any other tool.
Still you will have to use the commands or dkms.
In both cases you will need to install the kernel-headers first of all.
In synaptic click on "show details" and it will show you that it makes use of dkms.
I guess. If not i did it wrong for a dozen times and most how-to's out there are wrong too.

Last edited by j1alu; 03-19-2011 at 05:11 AM.
 
Old 03-19-2011, 12:17 PM   #8
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
I realize that you are not the original poster.
You can install it with synaptic, with apt-get, with aptitude or with any other tool.
Still you will have to use the commands or dkms.
In both cases you will need to install the kernel-headers first of all.
In synaptic click on "show details" and it will show you that it makes use of dkms.
I guess. If not i did it wrong for a dozen times and most how-to's out there are wrong too.
You are correct that some commands have to be run from terminal, especially when you have to run Guest Additions

Last edited by EDDY1; 03-19-2011 at 02:56 PM.
 
Old 03-19-2011, 12:24 PM   #9
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
Installing the guest-additions is a different story. You do it from within the guest.
 
Old 03-19-2011, 10:46 PM   #10
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,342
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
Quote:
Originally Posted by j1alu View Post
I never did it the way described on the wiki page you link to.
I don't have any expertise.

I followed the instructions in the Debian wiki for installing VirtualBox in Lenny and it worked. Then it survived the upgrade to Squeeze.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Problem running a Gnome lenny LiveCD in virtualbox linx win Debian 3 08-09-2010 01:49 PM
LXer: Virtualization With VirtualBox 3.1.x On A Headless Debian Lenny Server LXer Syndicated Linux News 0 02-23-2010 06:51 PM
Virtualbox installation problems on debian lenny evercordero Linux - Virtualization and Cloud 5 12-30-2009 04:53 PM
LXer: VirtualBox: Installation on Debian Lenny LXer Syndicated Linux News 0 05-06-2009 10:00 PM
LXer: Installing VirtualBox 2 On A Debian Lenny Desktop LXer Syndicated Linux News 0 03-27-2009 10:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration