Difference between revisions of "Sugar Creation Kit"

From Sugar Labs
Jump to navigation Jump to search
m (→‎Build Your Own Remix: working save)
m
Line 203: Line 203:
 
*: or available separately at http://people.sugarlabs.org/fgrose/SugarCellar
 
*: or available separately at http://people.sugarlabs.org/fgrose/SugarCellar
  
====Build Your Own Remix====
+
==Build Your Own Remix==
  
:''' The following is Modified from: https://fedoraproject.org/wiki/Talk:How_to_create_and_use_a_Live_CD'''
+
''' The following is Modified/Adapted from: https://fedoraproject.org/wiki/Talk:How_to_create_and_use_a_Live_CD'''
  
== Introduction ==
+
=== Introduction ===
  
 
This page explains how to make a  custom-content Live CD or DVD on Fedora-based systems including derived  distributions such as RHEL, CentOS and others.  
 
This page explains how to make a  custom-content Live CD or DVD on Fedora-based systems including derived  distributions such as RHEL, CentOS and others.  
Line 215: Line 215:
 
See  the [[FedoraLiveCD | project wiki]] for more details. Discussion of this  project takes places at http://admin.fedoraproject.org/mailman/listinfo/livecd.
 
See  the [[FedoraLiveCD | project wiki]] for more details. Discussion of this  project takes places at http://admin.fedoraproject.org/mailman/listinfo/livecd.
  
== Instructions ==
+
=== Instructions ===
  
 
The basic workflow for creating a  remix is:
 
The basic workflow for creating a  remix is:
Line 224: Line 224:
 
...that's it! We will walk you through these steps  below.
 
...that's it! We will walk you through these steps  below.
  
=== Install the necessary software ===
+
==== Install the necessary software ====
  
 
To create a live image, the '''livecd-creator''' tool is used. Super user privileges are needed. The tool is more or less self-documenting, use the ''--help'' option to see options.
 
To create a live image, the '''livecd-creator''' tool is used. Super user privileges are needed. The tool is more or less self-documenting, use the ''--help'' option to see options.
Line 237: Line 237:
  
  
=== Set up your environment ===
+
==== Set up your environment ====
  
Now we'll set up the place you'll be building your remix's image file in. We assume you're running a recent version of Fedora.  
+
Now we'll set up the place you'll be building your remix's image file in. We assume you're running a recent version of Fedora.
 
+
:We will use the /home/(user)/Desktop to do our builds
 
 
Set SELinux in permissive mode.
 
  
 +
:Set SELinux in permissive mode.
 
  su -c ‘setenforce 0’
 
  su -c ‘setenforce 0’
 
+
:Copy the kickstart files you've Downloaded to your Desktop.
Copy the kickstart files you've Downloaded to your Desktop.
 
  
 
  gedit /usr/share/spin-kickstarts/
 
  gedit /usr/share/spin-kickstarts/
Line 252: Line 250:
 
  Edit one of the .ks files you just copied.
 
  Edit one of the .ks files you just copied.
 
   
 
   
=== Create''/Modify'' a kickstart file ===
+
==== Create''/Modify'' the kickstart file ====
  
 
# Create an empty text document in  the editor of your choice.
 
# Create an empty text document in  the editor of your choice.
# Import the kickstart file you chose above:
+
# Import the kickstart file you chose above:
 
 
<code>%include  fedora-live-base.ks</code>
 
  
 
# Create the package manifest section  and add your favorite packages:
 
# Create the package manifest section  and add your favorite packages:
Line 271: Line 267:
 
# Congrats -- you're done!
 
# Congrats -- you're done!
  
=== Build the image ===
+
====Example Terminal Command to Build .iso ====
 +
:'''f14(rawhide)build system using fedora-livecd-soas.ks'''
 +
 
 +
 
 +
==== Build the image ====
  
  

Revision as of 15:30, 22 July 2010


Sugar Creation Kit DVD

Download: http://people.sugarlabs.org/Tgillard/SugarCreationKit-123.iso Caution 4.2 GB

  • Complete DVD containing all the resources required to create all 3 versions of Sugar-on-a-Stick without requiring Internet access
  • List of Contents: [1]

Uses:

  • "sneakernet" or behind firewall at school.
  • should save bandwidth on servers.
  • Download 1 time and distribute copies Locally


INDEX OF Soas Features

AN ON-LINE VERSION OF THE DVD
An annotated listing of links to sources used in the SugarCreationKit DVD ver 1.2.3 (see Above)
  • Use to Download the elements you need and burn to your own DVD to save Dowloading all of the above SCK DVD.iso
Look below to the References section to see how to then convert your customized DVD to an .iso
(revised 06/16/2010)

Introduction

Sugar on a Stick.pdf (READ THIS FIRST) - AN Introduction to Sugar on a Stick http://wiki.sugarlabs.org/go/Sugar_on_a_Stick

Cautions with using Live USB's.pdf Sugar on a Stick/Installation/Variations#Cautions with using Live USB devices

How to Make a live USB.pdf (instructions on how to make a live USB in Windows, GNU/Linux, and Intel Mac's) Sugar on a Stick/Installation#with Microsoft Windows

SoaS v3 Mirabelle

(the current version of SoaS)

ASLOxo­3ss (140+Activities)

Including these NEW Programs: NOT ON DVD
OOo4Kids-1_0.9.5_en-US.xo (Open Office Suite) 113.3 MB http://wiki.ooo4kids.org/index.php/Main_Page
gcompris-15.xo (Suite of gcompris games) 62.9 MB
gcompris_administration-15.xo (for teacher control)
  • These can be copied to a 1-GB USB device and drag-­dropped into the Sugar Journal to install them.
  • Activities Index­Mirabell.ods (Included on DVD] OR
http://people.sugarlabs.org/Tgillard/Activities-Index-ASLO.ods
http://people.sugarlabs.org/Tgillard/Activities-Index-ASLO-f13-Mirabelle-f14-rawhide-Soas-tests.ods (more recent than on current DVD)
Open Office Spreadsheet showing .xo File Compatibility with Mirabelle and earlier versions of SoaS.
Note: You can sort it, as it is a spreadsheet!

DVD covers and artwork

  • 220px-Mirabellen.jpg
  • 220px-Prunus_insititia_01.jpg

(from Wikipedia article) http://en.wikipedia.org/wiki/Mirabelle_plum

CD labels to print


  • Sugar on a stick Mirabelle.png ( Mirabelle 4 stick Logo )300px-SugaronastickMirabelle.png

Expert install methods

Floss Manuals

(Important Manuals on how to use Sugar Applications and Features) http://en.flossmanuals.net/ http://en.flossmanuals.net/sugar

References

  • How to make your own custom iso file.pdf (How this DVD was converted to an .iso file)
    1. Collect, annotate and sort the files you want in a folder on your Desktop.
    2. Burn the contents of this folder to a CD or DVD.
    3. Use the following command in Terminal as the root user:
      dd if=/dev/sr0 of=Sugar-Creation-Kit.iso
    Sample output:
         dd if=/dev/sr0 of=Sugar-Creation-Kit.iso
         5555584+0 records in
         5555584+0 records out
         2844459008 bytes (2.8 GB) copied, 232.86 s, 12.2 MB/s
        
  • the resulting .iso file can be sent over the internet or used to make copies by burning to a DVD


Activities

listing: Activities

Turtle Art-(wiki).pdf Activities/Turtle Art-0.86

Graphic installers

Liveusb Creator
unetbootin

Older SoaS versions and variations

Mirabelle remix
  • ­Make a Live or non-live USB device installation from a booted CD
    1. Burn the .iso to a CD, and boot with it.
    2. In the Sugar Terminal Activity:
    3. su
    4. live-usbcreator --reset-mbr *Note: This may destroy the previous contents of your USB storage device.
    5. Insert USB device # 1 (2 GB or larger, formatted fat16, boot flag set)
    6. Insert USB device # 2 with live.iso you want to put on USB device #1, select the .iso file
    7. Move slider for desired persistence
    8. Create USB
  • This is a Mirabelle build, with these programs added to the build:
deja-dup
Simple Backup for duplicity
duplicity
Backup
gparted
­partition editor
gedit
text editor
liveusbcreator
­Install to USB devices graphically
zyxliveinstaller
Install from a running Live USB device to a full, non-live installation on a USB device or hard disk
  • These programs are accessed from Sugar Terminal Activity, they are not Sugarized

Mirabelle backup, deja-­dup

Sugar Clone

customize or duplicate Live USB installations
(script files for making a customized Live USB installation self­-replicating)

Build Your Own Remix

The following is Modified/Adapted from: https://fedoraproject.org/wiki/Talk:How_to_create_and_use_a_Live_CD

Introduction

This page explains how to make a custom-content Live CD or DVD on Fedora-based systems including derived distributions such as RHEL, CentOS and others.

If you simply want to burn a pre-made ISO to a disc, visit http://fedoraproject.org/en/get-fedora to download a LiveCD or LiveDVD, then see the install guide or burning how-to for further instructions.

See the project wiki for more details. Discussion of this project takes places at http://admin.fedoraproject.org/mailman/listinfo/livecd.

Instructions

The basic workflow for creating a remix is:

  1. Create / Modify a kickstart file that specifies the packages you want installed on your remix, along with special settings you want to tweak.
  2. Run that kickstart file through livecd-creator, which will pull in the packages and compose an .iso, which you can then burn to CD.

...that's it! We will walk you through these steps below.

Install the necessary software

To create a live image, the livecd-creator tool is used. Super user privileges are needed. The tool is more or less self-documenting, use the --help option to see options.

The livecd-creator tool is part of the livecd-tools package. If it is not installed on your system, add it with:

su -c 'yum install livecd-tools spin-kickstarts'

If you are interested in localized live cd files, install also l10n-kickstarts.

su -c 'yum install l10n-kickstarts'


Set up your environment

Now we'll set up the place you'll be building your remix's image file in. We assume you're running a recent version of Fedora.

We will use the /home/(user)/Desktop to do our builds
Set SELinux in permissive mode.
su -c ‘setenforce 0’
Copy the kickstart files you've Downloaded to your Desktop.
gedit /usr/share/spin-kickstarts/
save to your Desktop
Edit one of the .ks files you just copied.

Create/Modify the kickstart file

  1. Create an empty text document in the editor of your choice.
  2. Import the kickstart file you chose above:
  1. Create the package manifest section and add your favorite packages:

%packages foo baz bar %end

  1. Congrats -- you're done!

Example Terminal Command to Build .iso

f14(rawhide)build system using fedora-livecd-soas.ks


Build the image

The build process will take some time, as well as space and bandwidth.


Parts of this page were based on Rahul Sundaram's article Roll Out A Fedora Remix.

.........

References/Links