RESOLVED Devx required to run virutalbox on precise 5.6.1?

Booting, installing, newbie
Post Reply
Message
Author
User avatar
wibble
Posts: 76
Joined: Thu 11 Jul 2013, 03:48

RESOLVED Devx required to run virutalbox on precise 5.6.1?

#1 Post by wibble »

Hello,

First I would like to say what a great linux OS, the thing just works! I waisted hours trying to get another distro to load on USB before this.

What a relief - very fast!

Full disclosure - I am pretty slow, so please excuse my ignorance of linux. (I was more of a XP person)

If I had known that linux was this useful I would have switched long before now. My last experience was trying an ancient distro in the mid 90s on a 486DX2. So it was a bit of a shock to see how things have moved on.

To be honest I nearly rage quit :evil: after all the problems I had with the other distro, it seemed all the problems I had seen from my first time were still there (bloated, broken, difficult to use - just a massive productivity black hole.) but luckily I noticed a review of Precise Puppy and I figured well its less than 170meg whats the harm.

BOOM! I just sat there dumbfounded, the thing installed and ready to use in a fraction of the time I had expected (I had gone off to get lunch, coffee expecting it to still be building the usb..)

:shock: I figured something had gone wrong, it couldn't have been that fast... expecting the worst I booted my PC and to my surprise it worked!


I spent the next day or so installing my programs (impressive most are available.) 8)

What I want to do is run a virtualbox with a instance of DSL with LAMP, and possibly XP later.

What I want to do is practice socket programming with python.

Python libraries were a breeze, much easier to setup than what I am used to on XP. :P I thought something was wrong it just worked. lol.

but then I came to install the package binaries for virtual box and there was an error it said it couldn't locate a library, usually the PPM is quite good at finding all the dependency but in this case it seems to have fallen over.

Is there a way I need to install virtual box? base, ect...? I noticed there were a number of different versions.

How can I install virtualbox on Precise Puppy 5.6.1?

I checked the forum and I found this.

http://www.murga-linux.com/puppy/viewtopic.php?t=21617

But as its from 2007, I wondered if it was still good for the later versions.

Do I need to install Devx? Before I can do this?

Also It took some time to install my programs (I am on a very slow connection.)

Do i need to download everything again if i install the devx for 5.6.1?
Last edited by wibble on Sun 14 Jul 2013, 15:35, edited 1 time in total.

User avatar
wibble
Posts: 76
Joined: Thu 11 Jul 2013, 03:48

#2 Post by wibble »

:?

Ok, I have 1gb ram, 3tb of HD space. its a dual core 64bit system. its main OS is XP sp2. however at the moment its booting from the usb drive just fine and running puppy.

(going to increase the ram to 3gb to help do my virtualbox projects.)

Precise puppy 5.6.1 is on a 16gb USB2 drive.

Well in the end i figured out what the sfs files did by myself,

Installed and mounted.

Didnt solve my problems with virtual box. however now i can compile code woohoo.

so now I have all of my applications set up how i want expect for

VIRTUALBOX!!!

:cry:

Still cant get virtual box to load.

I have tried the base binary install from packages.

I have tried a sfs file (virtualbox-4.0.0-lucid.sfs) no dice.

tried 3.2.14 64 bit pet file... its not working.

what package do i need to run in precise puppy 5.6.1 to get virtual box - any virtual box working please.

any help would be great - I just want to get it working so I can do my work.

thanks.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#3 Post by Semme »

Hello Wibble- is the devx loaded? What happens when you run VB from a shell?

User avatar
wibble
Posts: 76
Joined: Thu 11 Jul 2013, 03:48

#4 Post by wibble »

Sorry I was editing the post when you replied.

yes the devx loaded without any errors and seems to be working great.

let me past in the output from the virtualbox..

Code: Select all

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

sudo /ect/init.d/vboxdrv setup

you will not be able to start VMs untill this problem is fixed.
/usr/bin/vboxwebsrv: line 100: /opt/VirtualBox/vboxwebsrv : cannot exectue binary file
/usr/bin/vboxwebsrv: line 100: /opt/VirtualBox/vboxwebsrv : Success
[/code]

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#5 Post by Semme »

Did you initially install VB via PPM? Have you tried either of these?

Is there an error if you: modprobe vboxdrv

You're on a 64bit box?

User avatar
wibble
Posts: 76
Joined: Thu 11 Jul 2013, 03:48

#6 Post by wibble »

Yes I tried with PPM,

My processor is 2x Intel(R) Core(TM)2 Duo CPU E8300 @ 2.83Ghz

its a bit long in the tooth but it does everything i need.

I looked at this page first but I saw that my kernel was not supported

Code: Select all

# uname -r
3.2.44



So i downloaded the sfs file.


I think I tried the vboxdrv-4.2.12-amd64_DEV.pet

instead of the

virtualbox-4.2.12_NLS.pet

I will try ^^^ now. Sorry my brain is slow I don't recall if i tried this one.

I am guessing this will work with the kernel?

I figure I am doing something stupid and missing a obvious step sorry.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#7 Post by Semme »

Take your time and don't sweat the incidentals. I'll need to familiarize myself..

According to this post, it may work.

What I don't know is if there's been a kernel change since Precise 5.4?

Still, I'd try Shinobar's pkg first..

User avatar
wibble
Posts: 76
Joined: Thu 11 Jul 2013, 03:48

#8 Post by wibble »

Thanks, I am just glad its only a small issue like this.

I was expecting there to be many setup problems. *touch wood
if this is the only problem then its a blessing. haha.

The hours of work that must have gone into making this distro so stable is mind blowing. The machine is rock solid and just works. I never thought I would say that of a Linux OS. 8)

Its a good way to learn more about the system. At least things are planned in a way that its easy to investigate and mess with the distro - I like that very much.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#9 Post by Semme »

Oh it's flexible, forgiving and lets you play developer- BIG plus for us weekend warriors. If you get Shinobar's to load, great! If you get another missing module message, you'll probably have to load this src pkg as well. It's 'puppy' >> 'linux' :wink: to get in..

Make sure'n peruse these README's..

User avatar
wibble
Posts: 76
Joined: Thu 11 Jul 2013, 03:48

#10 Post by wibble »

Agreed its a great tool to learn, am downloading the file now cheers.

Thanks for your help.

I now have

virtualbox-4.2.12-NLS.pet
virtualbdrv-4.2.12-amd64_DEV.pet
virtualbox-4.2.12-amd64_BASE.pet

You are right I need the kernel sources to get this to work, evidently there was an update.

On the other hand I wanted to learn how to do a source compile/build of puppy so its a start in the right direction.

(CONFIG_LOGO will be set haha I will have my fancy splash screen on boot.) :lol: but thats for another day.

More love letters from the terminal..

Code: Select all

# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules ...done.
Uninstalling old VirtualBox DKMS kernel modulesrpm: invalid option -- '-'
BusyBox v1.21.0 (2013-02-18 15:57:06 WST) multi-call binary.

Usage: rpm -i PACKAGE.rpm; rpm -qp[ildc] PACKAGE.rpm

Manipulate RPM packages

Commands:
	-i	Install package
	-qp	Query package
	-i	Show information
	-l	List contents
	-d	List documents
	-c	List config files

rpm: invalid option -- '-'
BusyBox v1.21.0 (2013-02-18 15:57:06 WST) multi-call binary.

Manipulate RPM packages

Commands:
Uninstalling modules from DKMS
Attempting to install using DKMS
Failed to install using DKMS, attempting to install without
Makefile:181: *** Error: unable to find the sources of your current Linux kerne
Last edited by wibble on Fri 12 Jul 2013, 13:47, edited 1 time in total.

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#11 Post by Semme »

:D Love letters make my head hurt. Bypass those, get your sources set- then try this one.

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

#12 Post by CatDude »

Hello wibble

Welcome to the kennels.

It appears to me like you have tried just about everything except the correct package.

Now that you have both your devx and kernel-sources sorted out,
personally i would suggest that you try this package: in the past i have normally used that method successfully.

Hope this helps
CatDude
.
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#13 Post by Semme »

Yep! :D:wink: I *sure* :oops: missed that one.

User avatar
wibble
Posts: 76
Joined: Thu 11 Jul 2013, 03:48

#14 Post by wibble »

Hi guys - I downloaded the pet,

VirtualBox shows up in the menu, however it seems to be giving the silent treatment.

when i try in the terminal i get this

Code: Select all

# VirtualBox
/usr/bin/VirtualBox: line 83: /opt/VirtualBox/VirtualBox: cannot execute binary file
/usr/bin/VirtualBox: line 83: /opt/VirtualBox/VirtualBox: Success
:shock:

I am guessing there is a package conflict?

should i install everything and just download the PET file?


on another unrelated point.

tested my chepo no-brand wireless usb stick...

I was sure it was going to die, but to my surprise. it auto detected and functioned perfectly.

If you had told me that last week I would have laughed you out of the building. :P

That is seriously impressive, I still cannot believe it. I don't care how much irritation the virtualbox issue gives me, this distro is excellent. :D

Its a shame more people don't know just how useful and easy to use puppy is. Once I get the virtualbox up and running I will be able to almost every task (bar using photoshop but thats no big deal I can always boot into XP for that.

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

#15 Post by CatDude »

Hello wibble

Please forgive me as i have made a serious blunder. :oops:

Recently i have been messing around with various 64bit Puppies,
and when i saw you mention you had a 64bit machine i completely lost the plot
and forgot that you are using precise which is most definitely NOT a 64bit OS.

So, the package i should have linked to is this one: virtualbox-4.2.12-x86_src.install.pet
i tested it myself in Precise-5.6.1 and it does work. (see pics)

Very sorry for giving the wrong link, it won't happen again (i hope :roll: )
consider this pussycat severely spanked :lol:

Regarding your comment:
wibble wrote:....should i install everything and just download the PET file?
i reckon it would be best if you did start afresh mate, just to be on the safe side.


CatDude
.
Attachments
vbox.png
(91.97 KiB) Downloaded 420 times
431-in-vbox.jpg
(136.61 KiB) Downloaded 418 times
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

User avatar
wibble
Posts: 76
Joined: Thu 11 Jul 2013, 03:48

#16 Post by wibble »

Sorry the fault is mine, I didn't realize that precise puppy was not a 64bit os. I just assumed it was.

Thanks for the help, much appreciated.

8) :lol:



Just out of interest, is there anyway I can hack precise to get it to run in 64bit mode?

You said you have been playing with the 64bit distros. Whats your recommendation for one that has the same performance/stability as precise?

Thanks again.
Attachments
success.png
Ahh the sweet smell of VirtualBox success!
(95.84 KiB) Downloaded 102 times

simargl

#17 Post by simargl »

.
Last edited by simargl on Sun 01 Sep 2013, 15:21, edited 1 time in total.

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

#18 Post by CatDude »

Hello wibble
wibble wrote:...I didn't realize that precise puppy was not a 64bit os. I just assumed it was.
Any 64bit Puppies usually indicate the fact by including '64' in the name.
wibble wrote:Just out of interest, is there anyway I can hack precise to get it to run in 64bit mode?
That would be some serious 'hack' i reckon, therefore i would have to say no.
wibble wrote:You said you have been playing with the 64bit distros.
Well, 64bit Puppies i have yes.
wibble wrote:Whats your recommendation for one that has the same performance/stability as precise?
I haven't used any of them long enough to give recommendations unfortunately.

Currently i'm taking this for a spin: Lighthouse 64 602 Beta2 with GIMP-2.8.4 (just the basic version @ 257MB)

The only other one is this: Fatdog64-620 Final (17 April 2013) and 621 (9 May 2013)
as already pointed out by simargl

Just give them both a whirl and decide for yourself which you prefer.


CatDude
.
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

Post Reply