You are not logged in.

#1 2013-07-26 21:18:55

leostereo
Member
From: Mendoza Argentina
Registered: 2013-05-18
Posts: 19
Website

installing virtualbox on 64 bits box (SOLVED)

Hi guys , Im trying to run a 64 bits iso windows 7 image on my arch box.
I installed the package as wiki recomends:

pacman -S virtualbox

After that, run virtualbox, and run my created virtual machine, but received following message:
" 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 "

I did

modprobe vboxdrv

modprobe: ERROR: could not insert 'vboxdrv': Exec format error

So I did:

pacman -S virtualbox-host-modules

but din`t work either.




Then I tryed to compile a new module using the:

dkms install vboxhost/$(pacman -Q virtualbox|awk {'print $2'}|sed 's/\-.\+//') -k $(uname -rm|sed 's/\ /\//') 

but it can not find my kernel header files,
I was trying to make a link to the directories where it is searching...
BUT I can not find my kernell header files enywhere.

my  /usr/src/linux-3.9.4-1-ARCH is empty.

What should I do ??  I tryed to download the header but could not find the same version, my kernel is 3.9.4-1-ARCH


Any help would be preciated,
Thanks.
Leo.

Last edited by leostereo (2013-08-08 12:57:21)


aguante la cumbia!!!

Offline

#2 2013-07-26 21:30:10

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

Re: installing virtualbox on 64 bits box (SOLVED)

I think you should be using linux-headers & linux 3.10.2-1. Update your system, reboot and see if it works.

Offline

#3 2013-07-26 21:47:31

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: installing virtualbox on 64 bits box (SOLVED)

You can download the host modules precompiled for the official arch kernel.  Why in the world you have a leftover or active 3.9.4 dir I do not know.  Is your mirror up to date?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2013-07-27 17:43:30

leostereo
Member
From: Mendoza Argentina
Registered: 2013-05-18
Posts: 19
Website

Re: installing virtualbox on 64 bits box (SOLVED)

karol , what do you mean with "update your system"
should I update my kernel ?
should I update my mirrors ?
should I update my aplications ?

How should I do for each ?


aguante la cumbia!!!

Offline

#5 2013-07-27 17:45:15

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

Re: installing virtualbox on 64 bits box (SOLVED)

You should update all your packages. What command is used for this, leostereo?

Offline

#6 2013-07-28 22:09:37

leostereo
Member
From: Mendoza Argentina
Registered: 2013-05-18
Posts: 19
Website

Re: installing virtualbox on 64 bits box (SOLVED)

Im not sure if do

pacman -Syu 

or

pacman -Sy 

Thanks.


aguante la cumbia!!!

Offline

#7 2013-07-28 22:24:50

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

Re: installing virtualbox on 64 bits box (SOLVED)

pacman -Syu


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

Online

#8 2013-07-28 22:42:36

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

Re: installing virtualbox on 64 bits box (SOLVED)

Why are you not sure? Both the man page and 'pacman -Sh' clearly say what you have to do to upgrade installed packages.
This is really basic stuff, it's covered in the wiki too.

Offline

#9 2013-08-07 18:44:58

leostereo
Member
From: Mendoza Argentina
Registered: 2013-05-18
Posts: 19
Website

Re: installing virtualbox on 64 bits box (SOLVED)

I would like to mark this post as SOLVED  ... how to do ?


aguante la cumbia!!!

Offline

#10 2013-08-08 00:29:14

stryder
Member
Registered: 2009-02-28
Posts: 500

Re: installing virtualbox on 64 bits box (SOLVED)

Edit your first post.

Offline

#11 2013-08-08 09:23:08

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

Re: installing virtualbox on 64 bits box (SOLVED)

leostereo wrote:

I would like to mark this post as SOLVED  ... how to do ?

Read the relevant stickied threads https://bbs.archlinux.org/viewtopic.php?id=130309 or the faq in the wiki.

Offline

Board footer

Powered by FluxBB