You are not logged in.

#1 2007-03-26 11:37:15

s26c.sayan
Member
From: Kolkata, India
Registered: 2007-02-07
Posts: 176
Website

VirtualBox Problems

I am trying to install and use the virtualization software called VirtualBox(http://www.virtualbox.org/wiki/VirtualBox) on my machine. I have downloaded the binary file for personal & evaluation use from their site and tried to install it.

While installing, after I agree to the license terms, this is what comes up :

Installing VirtualBox to /opt/VirtualBox-1.3.8
Unable to determine your Linux distribution

./runlevel.sh: Unknown system
Could not find add/remove init scripts to a runlevel utility
This operation can not continue without it
Unable to determine your Linux distribution
VirtualBox has been installed successfully.

This suggests that the app has been successfully installed to   /opt/VirtualBox-1.3.8.
But when I try to run it by typing 'VirtualBox' in a terminal from the above location, I get the following :

WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (2.6.16-ARCH) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /etc/init.d/vboxdrv setup

         You will not be able to start VMs until this problem is fixed.

What can I do to get rid of this problem ???

EDIT: This can be solved by running  AS ROOT ' /etc/rc.d/vboxdrv setup'. This builds the kernel module vboxdrv, which can be loaded at any time by modprobe or even ' /etc/rc.d/vboxdrv start'.
To make this module load at startup, it should be added to the appropriate section of /etc/rc.conf.

Last edited by s26c.sayan (2007-04-24 19:13:49)


March Linux : An Arch Linux "distrolet" that I am trying to develop (March = My Arch!)
Please take a look......:)

Offline

#2 2007-03-26 11:46:23

Susu
Member
From: Germany
Registered: 2005-11-11
Posts: 191
Website

Re: VirtualBox Problems

I haven't yet managed to install Virtual Box properly. Neither with the bin nor with the PKBUILD from AUR.


Album reviews (in german): http://schallwelle.filzo.de

Offline

#3 2007-03-26 20:06:12

stb
Member
Registered: 2007-03-13
Posts: 40

Re: VirtualBox Problems

Today I messed around a bit with pacman and ABS to learn how to package. You can use this package for installation: ftp://supa.homeip.net/pub/archlinux/vir … pkg.tar.gz. It has been built from the downloadable pre-built packages. Maybe I will make a "official" version later when I know how to make own repositories.

Offline

#4 2007-03-28 07:15:19

piie
Member
Registered: 2007-02-20
Posts: 33

Re: VirtualBox Problems

i made a package of the binary distribution, its in aur

Offline

#5 2007-03-28 07:27:33

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: VirtualBox Problems

Your pkgbuild is different to mine maybe I will test it when I have time


Mr Green

Offline

#6 2007-03-28 17:37:00

s26c.sayan
Member
From: Kolkata, India
Registered: 2007-02-07
Posts: 176
Website

Re: VirtualBox Problems

stb wrote:

Today I messed around a bit with pacman and ABS to learn how to package. You can use this package for installation: ftp://supa.homeip.net/pub/archlinux/vir … pkg.tar.gz. It has been built from the downloadable pre-built packages. Maybe I will make a "official" version later when I know how to make own repositories.

Hey!! Your package worked like a charm!!! smile Thanks a lot, mate!!! smile

However, I have a question. I have learnt that this VirtualBox software is not entirely/really open source, altough they do have an open source edition. I want to know which version I am using in this package.


March Linux : An Arch Linux "distrolet" that I am trying to develop (March = My Arch!)
Please take a look......:)

Offline

#7 2007-03-28 22:06:53

stb
Member
Registered: 2007-03-13
Posts: 40

Re: VirtualBox Problems

s26c.sayan wrote:
stb wrote:

Today I messed around a bit with pacman and ABS to learn how to package. You can use this package for installation: ftp://supa.homeip.net/pub/archlinux/vir … pkg.tar.gz. It has been built from the downloadable pre-built packages. Maybe I will make a "official" version later when I know how to make own repositories.

Hey!! Your package worked like a charm!!! smile Thanks a lot, mate!!! smile

Thanks. I packaged it because I wanted to know how to package in arch, did not even look in the AUR if that package existed. Just curious: Did the AUR packages not work for you?

s26c.sayan wrote:

However, I have a question. I have learnt that this VirtualBox software is not entirely/really open source, altough they do have an open source edition. I want to know which version I am using in this package.

It's the 'All Distributions' binary: http://www.virtualbox.org/wiki/Downloads . I had to take some stuff out of the installation routine and put it in the post-install() and pre-remove() routines in the PKGBUILD. Also I did re-write the startup script a little bit. Other stuff was not modified.

I take the file off the ftp server now. But if someone needs it just drop me a PM.

Last edited by stb (2007-03-28 22:11:00)

Offline

#8 2007-03-29 10:00:54

s26c.sayan
Member
From: Kolkata, India
Registered: 2007-02-07
Posts: 176
Website

Re: VirtualBox Problems

Just curious: Did the AUR packages not work for you?

Well, I didn't really try the AUR PKGBUILDS!! tongue
I downloaded the binary from the VirtualBox site (infact I used the same'all distributions' binary you have used in your package). I couldnt install it, so posted here. the next thing I got hold of is your package, and it worked!! smile

It's the 'All Distributions' binary: http://www.virtualbox.org/wiki/Downloads .

Oh!! Then this is NOT the open source version!
It says it is released under PUELA or something!! sad

Wonder if sometimes we can have a package for the OSE too!! tongue


March Linux : An Arch Linux "distrolet" that I am trying to develop (March = My Arch!)
Please take a look......:)

Offline

#9 2007-03-29 16:00:28

stb
Member
Registered: 2007-03-13
Posts: 40

Re: VirtualBox Problems

s26c.sayan wrote:

[...]

It's the 'All Distributions' binary: http://www.virtualbox.org/wiki/Downloads .

Oh!! Then this is NOT the open source version!

Yes. But it should not matter for private use, shouldn't it?

Wonder if sometimes we can have a package for the OSE too!! tongue

I compiled it without problems and I still have the build. So, yes, I can make a package off this if the packages in AUR don't work. Mainly this involves exchanging one directory.

Last edited by stb (2007-03-29 16:01:00)

Offline

#10 2007-03-29 19:14:47

somairotevoli
Member
Registered: 2006-05-23
Posts: 335

Re: VirtualBox Problems

I have tried the svn, binary, regular, and the pkg from stb. I constantly get high cpu usage, 98% +. I am using beyond kernel 2.6.20. I had the same problem w/ high cpu usage when using vmware. I even turned down kernel timeslice to 100 hz, but now I get this error.

Could not launch a process for the machine 'test' (VERR_FILE_NOT_FOUND).


Result Code: 
0x80004005
Component: 
Machine
Interface: 
IMachine {fd443ec1-0009-4f5b-9282-d72760a66916}
Callee: 
IVirtualBox {e1d95593-f579-4f47-b489-0b67181014e1}

I don't know what else to try besides maybe using the stock kernel.

Offline

#11 2007-03-31 02:11:19

once
Member
From: Taiwan
Registered: 2006-09-12
Posts: 266

Re: VirtualBox Problems

piie wrote:

i made a package of the binary distribution, its in aur

how to get module install?

Offline

#12 2007-05-10 12:23:11

s26c.sayan
Member
From: Kolkata, India
Registered: 2007-02-07
Posts: 176
Website

Re: VirtualBox Problems

Now it seems Virtualbox is available in the Community repositories!
However, with my 2.6.20 kernel, the package is not starting!! sad
The virtualbox modules package is installed successfully as a dependency , but I cannot load the vboxdrv module.,.. and so virtualbox doesn't start!!

Anyone used the community packages w/o a problem in 2.6.20-ARCH kernel .?


March Linux : An Arch Linux "distrolet" that I am trying to develop (March = My Arch!)
Please take a look......:)

Offline

#13 2007-05-10 12:37:18

sH
Member
From: Braunschweig, Germany
Registered: 2007-05-02
Posts: 145

Re: VirtualBox Problems

Did you update the kernel while virtualbox was already installed?

I had the same problem: vboxdrv not found!

try doing what I did and do "pacman -R virtualbox virtualbox-modules", and then "pacman -Sy virtualbox"

I had a working module again.

I had problems before like you said, I had a kernel update and virtualbox-modules update, but it did not work. The most recent update of the kernel worked with the modules without the above mentioned procedure.

Last edited by sH (2007-05-10 12:38:19)

Offline

#14 2007-05-13 15:24:11

s26c.sayan
Member
From: Kolkata, India
Registered: 2007-02-07
Posts: 176
Website

Re: VirtualBox Problems

Ok...just now, I uninstalled virtualbox totally, and then upgraded to 2.6.21 kernel, and then reinstalled virtualbox.
This seems to solve the problem!!! [:)]


March Linux : An Arch Linux "distrolet" that I am trying to develop (March = My Arch!)
Please take a look......:)

Offline

Board footer

Powered by FluxBB