You are not logged in.

#1 2011-12-08 18:11:57

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

Virtualbox Fails To Launch

I installed Virtualbox on my Arch Linux workstation today & it failed to load:

[cmennens@ghost ~]$ virtualbox &
[1] 1258
[carlos@ghost ~]$ WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (3.1.4-1-ARCH) or it failed to
         load. Please reinstall the kernel module virtualbox-modules or
         if you don't use our stock kernel compile the modules with

           sudo /usr/bin/vboxbuild

         You will not be able to start VMs until this problem is fixed.
Qt WARNING: QGtkStyle was unable to detect the current GTK+ theme.

When I try and follow the instructions, I get the following:

[carlos@ghost ~]$ sudo /usr/bin/vboxbuild
sudo: /usr/bin/vboxbuild: command not found

I've verified I have the application installed:

[carlos@ghost ~]$ sudo pacman -Qs virtualbox 
local/virtualbox 4.1.6-4
    Powerful x86 virtualization for enterprise as well as home use
local/virtualbox-modules 4.1.6-2
    Kernel modules for VirtualBox

./

Offline

#2 2011-12-08 18:14:38

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: Virtualbox Fails To Launch

you have to run

/etc/rc.d/vboxdrv setup

Offline

#3 2011-12-08 18:16:54

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Virtualbox Fails To Launch

have you really read the message?

just load vboxdrv + eventually network modules


Give what you have. To someone, it may be better than you dare to think.

Offline

#4 2011-12-08 18:17:23

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

Re: Virtualbox Fails To Launch

Pajaro wrote:

you have to run

/etc/rc.d/vboxdrv setup
[carlos@ghost ~]$ sudo /etc/rc.d/vboxdrv setup
Password:
sudo: /etc/rc.d/vboxdrv: command not found

./

Offline

#5 2011-12-08 18:22:32

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Virtualbox Fails To Launch

[karol@black ~]$ pkgfile /etc/rc.d/vboxdrv      # not found
[karol@black ~]$ pkgfile /usr/bin/vboxbuild
community/virtualbox-source

Last edited by karol (2011-12-08 18:23:03)

Offline

#6 2011-12-08 18:31:17

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Virtualbox Fails To Launch

again, you do NOT need virtualbox-source unless he uses a different kernel than our stock one. but is not the case, the message is really clear


Give what you have. To someone, it may be better than you dare to think.

Offline

#7 2011-12-08 18:32:16

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

Re: Virtualbox Fails To Launch

karol wrote:
[karol@black ~]$ pkgfile /etc/rc.d/vboxdrv      # not found
[karol@black ~]$ pkgfile /usr/bin/vboxbuild
community/virtualbox-source

Sorry I don't understand what this means? Is this a command? What do I need to do to get this working on my machine?


./

Offline

#8 2011-12-08 18:39:30

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Virtualbox Fails To Launch

Carlwill wrote:
karol wrote:
[karol@black ~]$ pkgfile /etc/rc.d/vboxdrv      # not found
[karol@black ~]$ pkgfile /usr/bin/vboxbuild
community/virtualbox-source

Sorry I don't understand what this means? Is this a command? What do I need to do to get this working on my machine?

Found it:

[karol@black ~]$ pkgfile vboxdrv.ko.gz
community/virtualbox-modules

What happened after you've set it up and loaded the modules?

Offline

#9 2011-12-08 18:42:43

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Virtualbox Fails To Launch

neat, i'm ignored smile


Give what you have. To someone, it may be better than you dare to think.

Offline

#10 2011-12-08 18:45:35

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

Re: Virtualbox Fails To Launch

karol wrote:
Carlwill wrote:
karol wrote:
[karol@black ~]$ pkgfile /etc/rc.d/vboxdrv      # not found
[karol@black ~]$ pkgfile /usr/bin/vboxbuild
community/virtualbox-source

Sorry I don't understand what this means? Is this a command? What do I need to do to get this working on my machine?

Found it:

[karol@black ~]$ pkgfile vboxdrv.ko.gz
community/virtualbox-modules

What happened after you've set it up and loaded the modules?

I've installed Virtualbox using Pacman. I've loaded the following modules into my rc.conf:

MODULES=(vboxdrv vboxnetflt vboxnetadp bridge)

I'm not sure what else I need to do. All these commands you're recommending don't work on my system if in fact you're insinuating me to run them...

[carlos@ghost ~]$ pkgfile vboxdrv.ko.gz
bash: pkgfile: command not found

./

Offline

#11 2011-12-08 18:53:29

theringmaster
Member
From: Air Force
Registered: 2007-07-16
Posts: 581
Website

Re: Virtualbox Fails To Launch

How did you install virtualbox? Shouldn't virtualbox-ose (if you installed that), automatically pull virtualbox-modules as a dependency? Remember to reboot your system after adding the modules to rc.conf, or you can modprobe them.

From the wiki:

To load the VirtualBox driver at startup, edit /etc/rc.conf and add
vboxdrv to the
MODULES array:
MODULES=(... vboxdrv)

To load the module manually:
# modprobe vboxdrv

There is also the optional networking module
MODULES=(... vboxnetflt)

To load the module manually:
# modprobe vboxnetflt

Last edited by theringmaster (2011-12-08 19:01:48)


Check me out on twitter!!! twitter.com/The_Ringmaster

Offline

#12 2011-12-08 19:07:36

Carlwill
Member
From: Orlando, FL
Registered: 2008-10-06
Posts: 560
Website

Re: Virtualbox Fails To Launch

I just installed Arch Linux today. I installed it using Pacman. I don't see 'virtualbox-ose' but I do see 'virtualbox'.

[root@ghost ~]# pacman -Ss virtualbox
community/libvirt 0.9.8-1
    API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)
community/phpvirtualbox 4.1_5-1
    PHP/AJAX web interface for VirtualBox 4.*
community/virtualbox 4.1.6-4 [installed]
    Powerful x86 virtualization for enterprise as well as home use
community/virtualbox-additions 4.1.6-1
    The official all-in-one VirtualBox Guest Additions ISO/CD image
community/virtualbox-archlinux-additions 4.1.6-4
    Additions only for Arch Linux guests (userspace tools)
community/virtualbox-archlinux-modules 4.1.6-2
    Additions only for Arch Linux guests (kernel modules)
community/virtualbox-modules 4.1.6-2 [installed]
    Kernel modules for VirtualBox
community/virtualbox-sdk 4.1.6-4
    VirtualBox Software Developer Kit (SDK)
community/virtualbox-source 4.1.6-4
    VirtualBox kernel modules source

./

Offline

#13 2011-12-08 19:12:02

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Virtualbox Fails To Launch

dude, i said what you have to do from the first comment.

modprobe vboxdrv

or just reboot since you added the modules in rc.conf

virtualbox-source is NOT required if you use our stock kernel. PERIOD.

also read the pacman output is very very useful.

Last edited by wonder (2011-12-08 19:14:16)


Give what you have. To someone, it may be better than you dare to think.

Offline

#14 2011-12-08 19:21:47

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Virtualbox Fails To Launch

wonder wrote:

neat, i'm ignored smile

Have you ever wanted to be invisible? Beware what you wish for ;P

Offline

#15 2011-12-08 19:44:25

RichAustin
Member
From: Wakefield, Yorkshire, England
Registered: 2011-07-27
Posts: 186

Re: Virtualbox Fails To Launch

I see two sides of things here having worked in support. The Expert, in this case Wonder, tells you right at the start what to do. The User doesn't understand what he / she has been told. Trouble is that the Expert has been through all this a million times and it seems blindingly obvious.
Where does the fault lie really? The User for not understanding? The Expert for not putting it in such simple terms anyone can follow it (and trust me they don't!!)? I don't know the answer really, but when I am on support I sure do wish I was invisible sometimes!

Offline

#16 2011-12-08 20:29:15

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Virtualbox Fails To Launch

If the User does not understand the Expert then the User should ask more questions.

Anyways let us not drag this thread off topic.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#17 2011-12-08 20:29:24

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Virtualbox Fails To Launch

RichAustin wrote:

I see two sides of things here having worked in support. The Expert, in this case Wonder, tells you right at the start what to do. The User doesn't understand what he / she has been told. Trouble is that the Expert has been through all this a million times and it seems blindingly obvious.
Where does the fault lie really? The User for not understanding? The Expert for not putting it in such simple terms anyone can follow it (and trust me they don't!!)? I don't know the answer really, but when I am on support I sure do wish I was invisible sometimes!

What if the answer is 'reboot' and wonder explicitly wrote it?
If it didn't work, OP should post 'I rebooted and it still doesn't work' or e.g. what errors is he getting.

Offline

Board footer

Powered by FluxBB