You are not logged in.

#1 2012-10-09 12:50:08

UNS
Member
Registered: 2012-10-05
Posts: 4

[Solved] VirtualBox Problem

hi

i removed virtualbox4 and installed virtualbox4.2

its work but i reboot my system when i try to log into virtual Os i got this error

Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing

'pacman -S virtualbox-modules'

as root. If you don't use our stock kernel, install virtualbox-host-source andexecute dkms autoinstall 

so like every time i open the terminal and type [modprobe vboxdrv]

[root@UNS programmer]# modprobe vboxdrv
ERROR: could not insert 'vboxdrv': Exec format error

i got this error

i don't have this

[root@UNS programmer]# /etc/rc.d/vboxdrv setup
bash: /etc/rc.d/vboxdrv: No such file or directory

i search in pacman database for virtualbox-mudols

[root@UNS programmer]# pacman -Ss virtualbox
warning: config file /etc/pacman.conf, line 106: directive 'server' in section 'multilib' not recognized.
community/libvirt 0.10.2-1
    API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)
community/phpvirtualbox 4.2_0-1
    PHP/AJAX web interface for VirtualBox 4.*
community/virtualbox 4.2.0-3 [installed]
    Powerful x86 virtualization for enterprise as well as home use
community/virtualbox-guest-iso 4.2.0-2
    The official VirtualBox Guest Additions ISO image
community/virtualbox-guest-modules 4.2.0-5
    Guest kernel modules for VirtualBox
community/virtualbox-guest-modules-lts 4.2.0-3
    Guest kernel modules for VirtualBox
community/virtualbox-guest-source 4.2.0-3 [installed]
    VirtualBox Guest kernel modules source
community/virtualbox-guest-utils 4.2.0-3
    VirtualBox Guest userspace utilities
community/virtualbox-host-modules 4.2.0-5 [installed]
    Host kernel modules for VirtualBox
community/virtualbox-host-modules-lts 4.2.0-3
    Host kernel modules for VirtualBox
community/virtualbox-host-source 4.2.0-3 [installed]
    VirtualBox Host kernel modules source
community/virtualbox-sdk 4.2.0-3
    VirtualBox Software Developer Kit (SDK)

i just have this
how can i fix this?!!

Last edited by UNS (2012-10-09 21:25:45)


WE DO WHAT WE WANT BECAUSE WE CAN

Offline

#2 2012-10-09 14:06:35

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 442

Re: [Solved] VirtualBox Problem

I've had something like this this morning, and I did not wanted to bother too much to find what is wrong, so I've done the following:

Refresh your whole system with:

pacman -Syyu

Then, (re)install virtualbox and its drivers:

pacman -S virtualbox virtualbox-host-modules

Add your user to the virtualbox group (as root):

gpasswd -a yourusername vboxusers

create a file named (for example) "/etc/modules-load.d/vbox.conf" with the following content:

#my vbox modules loaded on system startup
vboxdrv
vboxnetadp
vboxnetflt

and reboot.

This should do it.

Last edited by scar (2012-10-09 14:08:57)


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

#3 2012-10-09 14:20:58

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [Solved] VirtualBox Problem

Please use [ code ] tags when posting code. It's easier to read this way.

https://wiki.archlinux.org/index.php/Fo … s_and_Code


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#4 2012-10-09 15:23:14

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,772

Re: [Solved] VirtualBox Problem

UNS wrote:

i removed virtualbox4 and installed virtualbox4.2[

How, specifically, did you do that?

Also, please post the output of
uname -a
ls /lib/modules
and of
pacman -Qi virtualbox


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2012-10-09 21:25:22

UNS
Member
Registered: 2012-10-05
Posts: 4

Re: [Solved] VirtualBox Problem

Thanks [scar] That Work .

Thanks A lot


WE DO WHAT WE WANT BECAUSE WE CAN

Offline

#6 2013-10-12 08:01:26

Brad Arch
Member
Registered: 2013-10-01
Posts: 1

Re: [Solved] VirtualBox Problem

I got this same problem...

Offline

#7 2013-10-12 14:43:10

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,772

Re: [Solved] VirtualBox Problem

Hi Brad Arch.

Welcome to Arch Linux. 
Did Scar's setup help?  If not, please post the output from the commands I gave in post #4.  Also, what OS is the host, and what OS is the guest?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB