[squeak-dev] RE: running squeak from flash stick

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] RE: running squeak from flash stick

Ralph Boland
> > I want to be able to store and run my Squeak project on a flash stick  ...

> Most of the mainline Squeak's don't require install.
> Grab one and put the files on the stick.

I only know squeak.org  which requires that I use install which of
course fails if I try to install on my flash stick.
Can you  point me to a version of Squeak that does not require
an install and runs the version of Squeak  3.10 (linux) from squeak.org?

> I always work using a one-click distro, which on a USB key allows you
> plug the key into a Linux, Windows, or Mac machine and continue
> working against the same image.

This would be cool.
I don't need to run on non Linux OSs right now but I might in the future.

> ...
> There are three text files that point at the image name (one for each > platform):

> squeak.ini (Windows)
> squeak.sh (Unix)
> Contents/info.plist (Mac)

I don't see any of these files anywhere.  This helps in one way though.
I remember reading Squeak doc referring to squeak.ini
but I could never find the file.
Turns out It was never in in the Linux distro!



>From  - Bert -

> You should simply copy a working installation to the stick. That does
> not require symlinks.

It is not clear to me what files I need to copy or where I should put them.
Since file "squeak" is a binary I cannot tell what it is doing or how
to modify it.

> We are actually working on something similar for classroom use. Take a
> look at this:

> http://wiki.squeakland.org/display/sq/Etoys+on+a+Stick

> If you run this on a Linux machine it should create a zip file that
> you can unzip to a USB flash drive, and use on (x86) Linux, Mac, and
Windows.

   Using your file I got Etoys to work fine on my flash stick (I only
tried Linux).
   Looks cool!
   But I do not see how to get squeak to  run the same way.


   By the way, I also looked at the INSTALL file and config file that
came with the
Linux version of the Squeak virtual machine.  But, not being and
expert in config files
or INSTALL files, I couldn't figure out what I need to know.
I could solve the symbolic links problem by making copies but I don't
believe that will
solve all my problems.

Ralph Boland

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] RE: running squeak from flash stick

Bert Freudenberg
On 30.03.2009, at 05:09, Ralph Boland wrote:

>
>> From  - Bert -
>
>> You should simply copy a working installation to the stick. That does
>> not require symlinks.
>
> It is not clear to me what files I need to copy or where I should  
> put them.
> Since file "squeak" is a binary I cannot tell what it is doing or how
> to modify it.

It is the "Virtual Machine" that executes the Smalltalk code in your  
image. There usually is no need to modify it.

>
>> We are actually working on something similar for classroom use.  
>> Take a
>> look at this:
>
>> http://wiki.squeakland.org/display/sq/Etoys+on+a+Stick
>
>> If you run this on a Linux machine it should create a zip file that
>> you can unzip to a USB flash drive, and use on (x86) Linux, Mac, and
> Windows.
>
>   Using your file I got Etoys to work fine on my flash stick (I only
> tried Linux).
>   Looks cool!
>   But I do not see how to get squeak to  run the same way.

Just put your image and changes and sources files in the Etoys.app/
Contents/Resources directory where etoys.image, etoys.changes, and  
EtoysV4.sources are. Then copy etoys.sh to squeak.sh and edit it so  
that it uses your image instead of the etoys image. That should be all  
that's needed.

- Bert -



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] RE: running squeak from flash stick

David Mitchell-10
In reply to this post by Ralph Boland
> I only know squeak.org  which requires that I use install which of
> course fails if I try to install on my flash stick.
> Can you  point me to a version of Squeak that does not require
> an install and runs the version of Squeak  3.10 (linux) from squeak.org?


http://www.seaside.st/download/squeak#167943699

This includes a Linux VM (and a Mac VM and a Windows VM, but you won't
notice them). It also includes the .sh file needed to launch the Linux
VM.

Then grab a 3.10 image and changes file.

(The image and changes is always platform independent. We don't have
platform-specific images.)

Put the 3.10 image and changes file in the /Contents/Resources directory.

Modify the squeak.sh file to point to your image name.