VirtualBox on Puppy Linux

Booting, installing, newbie
Message
Author
User avatar
Shinzon
Posts: 20
Joined: Sun 21 Dec 2008, 11:06
Location: Italy

VirtualBox on Puppy Linux

#1 Post by Shinzon »

Hi, I installed Virtual Box following the instrunctions on this link:

http://www.murga-linux.com/puppy/viewto ... 12&t=30297

I installed first SDL and QT then VirtualBox (both of the two versions in the link).

When I try to start a machine the program opens another window: "Spawning Session..." and stands on it.

I found on internet that this is a known problem:
http://tombuntu.com/index.php/2008/10/1 ... ion-issue/

the proposed solution is
/etc/init.d/vboxdrv setup

But when i execute that the following lines appear:
Stopping VirtualBox kernel module ...done.
Recompiling VirtualBox kernel module ...failed!
(Look at /var/log/vbox-install.log to find out what went wrong)
Anyone who can help me? thanks!

Edit: I'm using puppy 4.1.2 kernel 2.6.25.16

User avatar
Shinzon
Posts: 20
Joined: Sun 21 Dec 2008, 11:06
Location: Italy

#2 Post by Shinzon »

vbox-install.log contains:

/opt/VirtualBox-2.0.2/src/build_in_tmp: line 99: make: command not found

Actuallu the build_in_tmp file contains:
# make, cleanup if success
cd "$tmpdir"
if make "$@"; then
if [ -n "$SAVE_MOD_SYMVERS" ]; then
if [ -f Module.symvers ]; then
cp -f Module.symvers $SAVE_MOD_SYMVERS
else
cat /dev/null > $SAVE_MOD_SYMVERS
fi
fi
rm -rf $tmpdir
exit 0
fi

i386
Posts: 17
Joined: Sun 14 Dec 2008, 16:10

#3 Post by i386 »

Hi Shinzon,

What version of puppy are you using? I have been able to install the "virtualbox-1.6.6_k2.6.21.7.pet" from the link you listed above on puppy version "puppy-4.00-k2.6.21.7-seamonkey.iso". As you suggest you have to also install SDL and QT to get it to get it going.

I can't seem to get it to work on any of the later versions of Puppy- even with the retro 2.6.21.7 kernel.

You can also download the "Vuppy" puplet which comes with Virtualbox already install.

Cheers
Mark.

User avatar
Evil20071
Posts: 489
Joined: Sat 07 Jun 2008, 19:50
Location: Piedmont, SC,.United States
Contact:

#4 Post by Evil20071 »

Make is unknown because you don't have the developers package installed with your pup.
[url=http://totalelectronics.us]TotalElectronics.us[/url]

User avatar
Shinzon
Posts: 20
Joined: Sun 21 Dec 2008, 11:06
Location: Italy

#5 Post by Shinzon »

Well, I'm using puppy 4.1.2 kernel 2.6.25.16.

I installed devx_412.sfs (ora i think so because the cc command is recognized in the console but not the MAKE )

Are there other developers packages?

Thanks to all! :D

User avatar
Burn_IT
Posts: 3650
Joined: Sat 12 Aug 2006, 19:25
Location: Tamworth UK

#6 Post by Burn_IT »

I've gone though all the above steps, but when I try the setup I get
Makefile:142: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
I have the Dev_412.sfs included.
Where should I point the KERN_DIR ?

Oh by the way I am not a Linux expert (although I'm learning rapidly), so simple instructions please.
"Just think of it as leaving early to avoid the rush" - T Pratchett

User avatar
Shinzon
Posts: 20
Joined: Sun 21 Dec 2008, 11:06
Location: Italy

#7 Post by Shinzon »

Well, I tried Vuppy and it works fine. i386 suggests to use puppy-4.00-k2.6.21.7.

But this two solutions will mean to re-install puppy and all the applications i installed on it. It's hard to take a decision :D

i386
Posts: 17
Joined: Sun 14 Dec 2008, 16:10

#8 Post by i386 »

Hi Shinzon,

I had the same dilemma with respect to what to do about Virtualbox.

In the end I had to install two versions of Puppy. If I want to use Virtualbox I boot up Vuppy. Although Vuppy doesn't support my sound card- so I also have installed Puppy 4.1.2 which I use if I want sound. I can execute either one at Grub.

I just hope that someone can come up with a solution with how to install VBox on Puppy 4.1.2 and then I can just have one install.

User avatar
Shinzon
Posts: 20
Joined: Sun 21 Dec 2008, 11:06
Location: Italy

#9 Post by Shinzon »

Wow. Yours might be my final solution too.
Did you install vuppy before or later then the latest puppy? (because i've the latest installed now).

i386
Posts: 17
Joined: Sun 14 Dec 2008, 16:10

#10 Post by i386 »

I installed Vuppy after I had 4.2 installed. Lucky enough I had a bit of room on my HDD, then created another partition and installed Vuppy (also had to update my grub). So when I boot the machine I now have an option to run one or another.

I'd prefer it if I could get everything to run under the one version of Puppy (4.2), but my linux skills are pretty basic. Maybe the next version of Puppy will come with Virtualbox as standard- wouldn't that be great!

User avatar
Shinzon
Posts: 20
Joined: Sun 21 Dec 2008, 11:06
Location: Italy

#11 Post by Shinzon »

I agree!!! :D

User avatar
Burn_IT
Posts: 3650
Joined: Sat 12 Aug 2006, 19:25
Location: Tamworth UK

#12 Post by Burn_IT »

Fine, but that doesn't answer my question about the source.
"Just think of it as leaving early to avoid the rush" - T Pratchett

User avatar
Burn_IT
Posts: 3650
Joined: Sat 12 Aug 2006, 19:25
Location: Tamworth UK

#13 Post by Burn_IT »

Never mind chaps I've cracked it.


I now have virtualbox 2.02 running under Puppy 4.12 Frugal
Hi, I installed Virtual Box following the instrunctions on this link:

http://www.murga-linux.com/puppy/viewto ... 12&t=30297

I installed first SDL and QT then VirtualBox (both of the two versions in the link).

When I try to start a machine the program opens another window: "Spawning Session..." and stands on it.
I included the misnamed kernel modules:
kernel-src-2.6.25.15-patched-puppy4.1.sfs
as well as the dev_412.sfs

Then ran in a console


/etc/init.d/vboxdrv setup

and it works.
"Just think of it as leaving early to avoid the rush" - T Pratchett

User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

#14 Post by Ted Dog »

Could you post a step by step with links of where you got the needed files.
Thanks- Ted

i386
Posts: 17
Joined: Sun 14 Dec 2008, 16:10

#15 Post by i386 »

Good on you Burn_IT!

Yeah, if you could please give us a line by line explanation for us newbees that would be much appreciated.

Thanks

User avatar
Burn_IT
Posts: 3650
Joined: Sat 12 Aug 2006, 19:25
Location: Tamworth UK

#16 Post by Burn_IT »

OK, Here goes (I am a newbie as well so forgive and correct any whoopsies):

First I did a Frugal install of Puppy 412 - but the same steps should apply to other installs as well (I think).

Include:
Devx_412.sfs
and
kernel-src-2.6.25.15-patched-puppy4.1.sfs (wrongly named but the right one)
from http://distro.ibiblio.org/pub/linux/dis ... modules-4/



Then get these library pets and install:
sdl-1.2.9.pet
md5sum

qt-3.3.8.pet
md5sum

Then get VirtualBox 2.02 and install
http://puppylinux.ca/tpp/bugs/virtualbo ... 6.21.7.pet
Yes I know it is for a different Kernel, but that is handled later.

At this stage you should have Virtualbox installed.
Reboot and when you try it (utilities menu), it will stall at Spawning... etc.

Because it is locked open pprocess (from System) and End the running Virtualbox processes. (I suspect a restart of X-server would do as well).

Now open Rxvt (from Utilities) which gives a console window.

Type:

Code: Select all

etc/init.d/vboxdrv setup
and enter.

Once completed restart X-server and try Virtualbox again.
It should work - well it does for me :roll: :wink:
Last edited by Burn_IT on Mon 05 Jan 2009, 00:29, edited 1 time in total.
"Just think of it as leaving early to avoid the rush" - T Pratchett

User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

#17 Post by Ted Dog »

Thanks, I'm having a problem with puppylinux.ca but looks like I have already downloaded that pet before. Sounds like a good afternoon project, since the Dallas Cowboys CHOKED again this year & nothing but GAZA WAR on TV.

Caneri
Posts: 1513
Joined: Tue 04 Sep 2007, 13:23
Location: Canada

#18 Post by Caneri »

Hi Ted Dog,

Use right click and save as for now until I get the mime types corrected...sorry 'bout that.

Eric
[color=darkred][i]Be not afraid to grow slowly, only be afraid of standing still.[/i]
Chinese Proverb[/color]

Caneri
Posts: 1513
Joined: Tue 04 Sep 2007, 13:23
Location: Canada

#19 Post by Caneri »

or use this link as the above is not correct

http://puppylinux.ca/tpp/bugs/virtualbo ... 6.21.7.pet

Still need to right click and save..grrr
Eric

PS.. @Burn_IT...your link for VirtualBox is broken....not to worry though I've done it many times.
[color=darkred][i]Be not afraid to grow slowly, only be afraid of standing still.[/i]
Chinese Proverb[/color]

Charge
Posts: 4
Joined: Sun 04 Jan 2009, 22:35

#20 Post by Charge »

Hey first off.. thanks to everyone for your input. With the posts I have found already, I have been able to get to this point ;-) ( ms guru, linux newbie)

So.. I have puppy 4.1.2 loaded and operational, followed this post and have the last VirtualBox xxx pet installed, downloaded and mounted devx_412 and kernel-src... but still not having luck (Virtualbox starts, but hangs on Spawning)

The last pet posted got me to these errors:

VboxREM.so has these missing library files:
VBoxVMM.so VBoxRT.so

libVBoxQtGui.so.4 has these missing library files:
libVBoxQtCore.so.4


and I have even tried to install the latest VBox directly, and am cut off there by the following:

Makefile:142: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
(Pretty sure that trying to load the kernel-src-xxx.sfs is failing with the SFS Boot config, )

So.. now back here trying again on the pet install ;-)

Anyone know where I can get / build the missing library files?

Thanks.

Post Reply