LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-01-2008, 01:16 PM   #1
joegumbo
Member
 
Registered: Sep 2006
Distribution: Frugalware
Posts: 228

Rep: Reputation: 32
VirtualBox.SlackBuild problems (SOLVED!)


Hi,

I've searched to see if anyone else had this problem, and apparently I'm the only one.

I'm running Slackware 12.1 with 'slackpkg upgrades-all' applied. After installing Virtualbox along with virtualbox-kernel by using SlackBuilds, the GUI part seems to have installed just fine. I was able to use the wizard to create a fixed disk image to install an OS on. But, when I try to begin the installation of the guest OS, the following error message appears:

Quote:
VirtualBox kernel driver not installed. The vboxdrv kernel module was either not loaded or /dev/vboxdrv was not created for some reason. Re-setup the kernel module by executing '/etc/init.d/vboxdrv setup' as root.
VBox status code: -1908 (VERR_VM_DRIVER_NOT_INSTALLED).


Result Code:
0x80004005
Component:
Console
Interface:
IConsole {d5a1cbda-f5d7-4824-9afe-d640c94c7dcf}
When I run '/etc/init.d/vboxdrv setup' as root, bash tells me that there is no such file or directory. Also, '/dev/vboxdrv' does not exist.

I followed the directions in the README:

Quote:
You'll probably want to add the following lines to your rc.local:

# Start vboxdrv
if [ -x /etc/rc.d/rc.vboxdrv ]; then
. /etc/rc.d/rc.vboxdrv start
fi

# Start vboxnet
if [ -x /etc/rc.d/rc.vboxnet ]; then
. /etc/rc.d/rc.vboxnet start
fi

This will load the support kernel module and will setup the network
configuration for VirtualBox. You should add similar "stop" lines to
your rc.local_shutdown.
and I manually 'groupadd -g 215 vboxusers' as root as well as making my user a member of vboxusers.

I also rebooted just in case.

After this failed once, I uninstalled VirtualBox with pkgtool, cleaned out /tmp and did it all over again. I still cannot get VBox to work correctly.

The only thing that I can think of is that there may be a conflict with Win4Lin. But, I've successfully used both Win4Lin and VBox together on other distros in the past.

The reason I need VBox is because I need to use Fedora CORE 2. I'm taking my first actual real honest-to-goodness formal Linux class and this is the distro that the Prof decided we are to use. FC2 is too dated to use on my hw (that still works), so I need to virtualize it. However, if anyone here has a different idea as to a different (free) approach to virtualizing FC2 on Slackware, of course I'd welcome that too.

Thanks,
-Joe G.

Last edited by joegumbo; 09-01-2008 at 01:45 PM. Reason: Problem solved. Needed to edit Title
 
Old 09-01-2008, 01:29 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,175

Rep: Reputation: Disabled
Did you check that the files
Code:
/etc/rc.d/rc.vboxdrv
/etc/rc.d/rc.vboxnet
are actually executable? Because if they are not, your kernel driver and network support will not be initialized.

Eric
 
Old 09-01-2008, 01:44 PM   #3
joegumbo
Member
 
Registered: Sep 2006
Distribution: Frugalware
Posts: 228

Original Poster
Rep: Reputation: 32
Hi Eric!

That did it!

You are a genius!

Thank you!
-Joe

Last edited by joegumbo; 09-01-2008 at 01:53 PM.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
question about SLACKBUILD: clamav and problems with milter ragebot Slackware 13 08-21-2008 03:36 PM
Permission problems after installing virtualbox . minkynink Linux - Newbie 2 04-30-2008 11:00 AM
VirtualBox - problems Franz1234 Ubuntu 14 06-09-2007 10:41 PM
Problems recompiling WindowMaker from original slackbuild garr0n Slackware 8 03-06-2007 11:00 AM


All times are GMT -5. The time now is 12:05 AM.

Main Menu
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