LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 12-28-2007, 03:22 AM   #1
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,600
Blog Entries: 1

Rep: Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046
no vboxdrv


Hi, I recompiled the kernel some time ago to 23.9. As far as I remember, I might have switched off the virtualization options.
Now I want to install (edit: run) virtual box, however I don't even have /dev/vboxdrv
so I can't start it by /etc/init.d/vboxdrv start

Is there anything I can do without recompiling the whole kernel again (which is obviously fun, but a lot of things need to be updated with it)?

btw, in /etc/init.d/ I've got virtualbox-ose

thanks

Last edited by sycamorex; 12-28-2007 at 08:08 AM.
 
Old 12-28-2007, 07:32 AM   #2
LinuxManMikeC
Member
 
Registered: Nov 2007
Location: Provo, Utah
Distribution: Debian and Ubuntu
Posts: 74

Rep: Reputation: 15
Any options regarding virtualization you might have disabled during your kernel build were probably unrelated to VirtualBox.

What do you mean "install virtual box"? The kernel module? To recompile the module for your new kernel simply run /etc/init.d/vboxdrv setup. This command will also install and load the fresh module. As you said you don't have this script, but you do have something called virtualbox-ose. Perhaps it is the same thing. Crack it open in a text editor to find out. There should be comments at the top saying what it is.

Also, there is a newer version of VirtualBox available as of October with several bug fixes and improvements.
 
Old 12-28-2007, 08:07 AM   #3
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,600
Blog Entries: 1

Original Poster
Rep: Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046
thanks for your reply and sorry I was in a hurry. My previous post is very confusing I meant I installed and want to run it. I used to use it in the past on some other machine. When I want to start a virtual machine from virtual box I get the error

Quote:
VirtualBox kernel driver not installed. The vboxdrv kernel module was either not loaded or /dev/vboxdrv was not created for some reason. Please install the virtualbox-ose-modules package for your kernel and execute '/etc/init.d/vboxdrv start' as root

VBox status code: - 1908 (VERR_VM_DRIVER_NOT_INSTALLED
I understand it, what I need to do is just install the virtualbox-ose-modules, however, my kernel is 2.6.23.9-custom
and I can't find those modules for a 2.6.23.9 kernel in the lenny's repositories:

Quote:
virtualbox-ose - PC virtualization solution
virtualbox-ose-dbg - PC virtualization solution (debug)
virtualbox-ose-guest-source - Source for the VirtualBox Guest Addition module
virtualbox-ose-guest-utils - PC virtualization solution - guest utils
virtualbox-ose-modules-2.6-486 - PC virtualization solution modules for Linux 2.6 on x86
virtualbox-ose-modules-2.6-686 - PC virtualization solution modules for Linux 2.6 on PPro/Celeron/PII/PIII/P4
virtualbox-ose-modules-2.6-686-bigmem - PC virtualization solution modules for Linux 2.6 on PPro/Celeron/PII/PIII/P4
virtualbox-ose-modules-2.6-k7 - PC virtualization solution modules for Linux 2.6 on AMD K7
virtualbox-ose-modules-2.6-vserver-686 - PC virtualization solution modules for Linux 2.6 on PPro/Celeron/PII/PIII/P4
virtualbox-ose-modules-2.6-vserver-k7 - PC virtualization solution modules for Linux 2.6 on AMD K7
virtualbox-ose-modules-2.6.22-3-486 - PC virtualization solution modules for Linux 2.6.22 on x86
virtualbox-ose-modules-2.6.22-3-686 - PC virtualization solution modules for Linux 2.6.22 on PPro/Celeron/PII/PIII/P4
virtualbox-ose-modules-2.6.22-3-686-bigmem - PC virtualization solution modules for Linux 2.6.22 on PPro/Celeron/PII/PIII/P4
virtualbox-ose-modules-2.6.22-3-k7 - PC virtualization solution modules for Linux 2.6.22 on AMD K7
virtualbox-ose-modules-2.6.22-3-vserver-686 - PC virtualization solution modules for Linux 2.6.22 on PPro/Celeron/PII/PIII/P4
virtualbox-ose-modules-2.6.22-3-vserver-k7 - PC virtualization solution modules for Linux 2.6.22 on AMD K7
virtualbox-ose-source - Source for the VirtualBox module
What can I do?
 
Old 12-28-2007, 08:14 AM   #4
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,600
Blog Entries: 1

Original Poster
Rep: Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046
Btw, I started virtualbox-ose and tried to run virtual box again, however I get the same error as the one in my previous post.

Quote:
debian205:/etc/init.d# ./virtualbox-ose
Usage: virtualbox-ose {start|stop|restart|force-reload|status}
debian205:/etc/init.d# ./virtualbox-ose start
Starting VirtualBox host networking ...done.
thanks

Last edited by sycamorex; 12-28-2007 at 08:15 AM.
 
Old 12-28-2007, 08:45 AM   #5
LinuxManMikeC
Member
 
Registered: Nov 2007
Location: Provo, Utah
Distribution: Debian and Ubuntu
Posts: 74

Rep: Reputation: 15
My guess is download the virtualbox-ose-source package and you will be able to compile the module. I use the RPM directly from the VirtualBox web site, so I have no idea how you compile from this Debian package.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



All times are GMT -5. The time now is 11:03 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration