>
> I had not been confident that there would be WiFi in the conference
> center [there was], so I had CD's for Mac, but for PC's I had trouble
> creating a SageLIVE CD that included the worksheet.  I didn't have the
> budget to buy USB drives in sufficient quantity.
>

Hi,

Updating the Live CD to include some premade examples could go like
this:

Easiest Possibility:

1) Boot from the live CD, start Sage,

2) create a directory /sage/worksheets

3) create your example worksheets (or download/ copy them) and save
them to /sage/worksheets

4) Go to Setup/Installing Utilities/Remaster Puppy Live CD and run the
script
there is a special build directory created, I think its called
puppylivecduild. Stick with defaults, the script its pretty verbose
and explains whats happening.

This should produce an iso file which contains your examples in /sage/
worksheets


A bit more Advanced:

If you want to have the new worksheets available in the sage notebook
immediately at startup of the sage Live CD then additional steps are
necessary:
You have to open and save the worksheets in the sage notebook.
They are stored in the hidden folder /root/.sage During the process of
remastering, there is a popup window which asks to copy any special
files from the root folder into the folder /tmp/root.
You need to copy /root/.sage (including its contents to /tmp/
root/.sage (click the "eye" symbol in the file manager to see hidden
files, then you can drag and drop)
This procedure should result in a new iso where you have "cloned" the
admin account into the new Live CD

Last: "manual remaster":
after boot from the Live CD its content is in the folder /initrd/mnt/
dev_ro2. Make a new folder /iso somewhere (preferably on a harddisk,
e.g. on /mnt/sda3)
open terminal in this folder and type
mv lupq-511.sfs ../lupq-511-old.sfs  #this is the squashed filesystem
of the Live CD
cd ..
unsquashfs lupq-511-old.sfs  # this will "unsquash this file to
directory "squashfs-root"

then import your worksheets as above, When finished

cp /root/.sage ./squashfs-root/root/  #Copies the ./sage directory in
mksquashfs squashfs-root lupq-511.sfs # creates the new squashed
Filesystem
mv lupq-511.sfs ./iso
mkisofs -R -b grldr -no-emul-boot -boot-load-size 4 -o
sagelive-511-47.iso ./iso # Finally create a new iso image from the
directory

The above techniques can be used to produce customized Live CD ISO's.
I will make a note of this description and put it somewhere in the
documentation.

kind regards
emil


-- 
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en.

Reply via email to