[SoaS] [SugarClone] -was Re: You scream, I scream, ...

Frederick Grose fgrose at gmail.com
Thu May 13 00:19:51 EDT 2010

A minor update to Sugar Clone, a tool to clone a customized
Sugar on a Stick device onto another USB stick.

<http://wiki.sugarlabs.org/go/Sugar_on_a_Stick/Sugar_Clone>Available at:



1. Build-dated release files to distinguish different versions.

2. A 10-second pause to review pending action for the case where
   there is only one destination device. Pressing any key will
   cancel the cloning script.

3. Use df for disk free space calculation in Sugar Cellar to
   better estimate usable home directory space available.

4. Bug fixes

   a. Invalid home directory size in Sugar Cellar when logged in
      as the root user.

Test Usage:

1. Before booting the SoaS device that will be the source of the new

   SugarClone, copy the SugarClone script to the root '/' folder at

   the base of the filesystem for the device, or, to /mnt/live (from

   the perspective of a running LiveOS image).

2. Boot the USB stick into SoaS and insert a second USB device into

   the computer running that SoaS image.

3. In the Terminal Activity of that running SoaS image, enter the



If there is more than one USB/SD storage device available, a menu of
the devices will appear to allow you to select the target device.

The scripts will copy the currently running image to the target device. When
that device is booted, a new, Sugar Learner sign-in will be triggered.  The
previously customized Journal and operating system will be present on the
Sugar Clone image.

On a running LiveOS image, the root folder of the USB/SD device is

available at the /mnt/live mount point.  The SugarClone script

can be obtained (assuming Internet connectivity) as follows:

1. In the Terminal Activity, change the working directory:

   cd /mnt/live

2. wget http://people.sugarlabs.org/fgrose/SugarClone

3. chmod +x SugarClone

at this point, you may simply execute


See http://wiki.sugarlabs.org/go/Sugar_on_a_Stick/Sugar_Clone for

more information.


See http://wiki.sugarlabs.org/go/Sugar_on_a_Stick/Mirabelle for
the latest version of Sugar on a Stick.

See http://wiki.sugarlabs.org/go/LiveOS_image for more information
on optimizing file storage on LiveOS images.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sugarlabs.org/archive/soas/attachments/20100513/96aed465/attachment-0001.htm 

More information about the SoaS mailing list