Sugar on a Stick

Revision as of 21:00, 14 February 2009 by Mick (talk | contribs) (added note about Fedora and I put a note that i'm working on bug 114)

About Sugar on a Stick (SoaS)

The goal of the Sugar on a Stick project is to give children access to *their* Sugar on any computer in their environment with just a USB key.

We are still in preAlpha on this project. It is not ready to use with children yet. At the time of this writing, the latest Fedora images are the recommended version to use if you want something that is the most stable.

Creating a USB Stick

The basics of creating a Live, bootable USB are you download a '.iso' image. Then you use a USB creator program to copy it to a USB, create a space for users to store files on the USB (if required) and set it to be bootable.

In practice this means the first thing you need is a Live USB creator.

We are working with live USBs based on both Fedora and Ubuntu (these are different distributions of Linux), you can try either or both.

If you are helping us with testing, please be sure to use one of the Sugar .iso's from this page. Please keep notes on which you got and when. Please report bugs to dev.sugarlabs.org and finally, please join the Moodle Class where we are coordinating testing. http://schools.sugarlabs.org/course/view.php?id=17

This is still in testing, its not ready for production use yet.

Fedora based Sugar on a Stick

You will need to download current version of Sugar that we are testing for Sugar on a Stick:

http://download.sugarlabs.org/soas/snapshots/1/Soas-200902061045.iso

Please note that at this point in time the versions are coming out rather quickly. It is worth checking Erikos' blog to see if the link above might be out-of-date. Note also that, while the above link (Fedora-10-based) is encouraged for testing, end users may have a better experience with the Fedora-9-based xoimages (though again, that is only true as of Feb 12 and could change quickly).

From Windows

To create a Fedora based Sugar from a Windows machine: https://fedorahosted.org/liveusb-creator/

Download that file to a windows machine and install it. (I couldn't get it to run in wine... --Walter 17:40, 3 December 2008 (UTC))


  1. Plug in a 1GB or larger USB stick into your computer.
  2. Open "liveusb-creator.exe"
  3. Use "Browse" to select the iso file that you just downloaded.
  4. Set the Target Device to your USB device
  5. Move the slider to set some persistent storage (hint, set it high then it will tell you how much space there is and you can adjust it to the right point)
  6. Click "Create Live USB". It will take a few minutes.

How much persistent memory you set will depend on the size of the .iso and the size of your USB but make sure you have some so people can save files.

From Linux

You can use the shell script livecd-iso-to-disk.sh

Problem

I tried to do this and was able to create the files on the stick, but when I try to book on a Toshiba Tecra M4 (which can boot from USB sticks) I get

SYSLINUX 3.72 2008-0925-25 EBIOS Copyright (C) 1994-2008 H. Peter Unvin
Could not find kernel image: linux
boot:

Ubuntu based Sugar on a Stick

Ubuntu based Sugar on a Stick from Windows

(Note that these instructions work on Fedora as well, and also can be run from any Linux distribution or Windows)

  1. Download the stock ubuntu-8.10-desktop-i386.iso
  2. Download UNetbootin for Windows (or Linux) and run the application
  3. Supply the Ubuntu 8.10 desktop ISO file in the "Diskimage" option, select your target USB drive, and press "OK" to make an Ubuntu Live USB
  4. Add the file sugar.squashfs to the directory casper/ on the USB stick

Using Sugar on a Stick

The trick is to set the BIOS to boot from USB. Unfortunately this is slightly different on each computer. Try Google on BIOS your computer model and explore the setup screen for your system.

If you have trouble try creating a "Boot Helper" CD using the .iso below. This will start the boot from the CD then read files from the USB.

http://www.sugarlabs.org/~marco/boot.iso

You can also use the 'PLoP Boot Manager' to create a boot floppy for machines without the ability to boot from CD or USB, see http://syslinux.zytor.com/wiki/index.php/No_native_BIOS_support

VirtualBox and Sugar on a Stick

At our pilot school for Sugar on a Stick the teachers have MacBooks. Our plan is to have teachers run Sugar in emulation mode on their personal Macbooks, while the students use the USB to access a variety of computers.

Instructions for using a preconfigured VirtualBox disk image with Sugar on a Stick Sugar on a Stick VirtualBox

Cloning Sugar on a Stick

The vision is that an adult will be able to create a Sugar on a Stick, add activities, set the language and the collaboration service and then "clone" the stick to create Sugar on a Stick for all the students in a class or a school.

Specs for Cloning Sugar on a Stick

Join the development effort

We are coordinating work on this project on Sugar Labs Moodle system. Please create an account and join the Sugar on a Stick Class. http://schools.sugarlabs.org/course/view.php?id=17

Report Sugar on a Stick Bugs

Use the Sugar Trac system at http://dev.sugarlabs.org to report bugs. Use the "SoaS" component.

Project Goals

  • Sugar on a Stick as 1 to 1 computing in an elementary school
  • Sugar on a Stick to empower middle and high school students to help test Sugar as Service Learning
  • Sugar on a Stick for conferences to let people try Sugar and collaborate with other conference participants

Sugar on a Stick ToDo List

 * Create an Easy Emulation for Boston School teachers macbooks - http://dev.sugarlabs.org/ticket/114 <-- Mick is working on this
 * Create a boot helper CD that lets Macs boot from the stick
 * Install the latest version of Sugar on a Stick, pick an activity and test it
 * Create a system for tracking activity testing
 * Solicit USB stick donations from companies
 * Create a design for a CD sticker to put on boot helper CDs

See Also