Changes

Jump to navigation Jump to search
no edit summary
Line 8: Line 8:  
'''Sugar Clone''' is, at this point in time (April 2010), a Bash script that aids in the copying of a customized LiveOS image, such as [[Sugar on a Stick]], to a secondary device. It works from within a booted LiveOS image to copy that image.  Or it may be used to copy a LiveOS image between 2 attached USB/SD storage devices.  It is intended to support the Sugar customization kit projects.
 
'''Sugar Clone''' is, at this point in time (April 2010), a Bash script that aids in the copying of a customized LiveOS image, such as [[Sugar on a Stick]], to a secondary device. It works from within a booted LiveOS image to copy that image.  Or it may be used to copy a LiveOS image between 2 attached USB/SD storage devices.  It is intended to support the Sugar customization kit projects.
   −
http://people.sugarlabs.org/fgrose/SugarClone
+
A small utility script '''Sugar Cellar''' is included in the bundle, or separately. It is used to report on the storage space available on the persistent overlay, home directory, and other file spaces on the device.  
    +
* http://people.sugarlabs.org/fgrose/SugarClone
 +
* http://people.sugarlabs.org/fgrose/SugarCellar
      −
See this announcement post, <div class="NavFrame collapsed"><div class="NavHead">[http://www.mail-archive.com/soas@lists.sugarlabs.org/msg01018.html You scream, I scream, we all scream for Mirabelle ice cream in a Sugar Clone] </div><div class="NavContent">{{#widget:Iframe
+
 
|url=http://www.mail-archive.com/soas@lists.sugarlabs.org/msg01018.html
+
See this announcement post, {{Show|[http://www.mail-archive.com/soas@lists.sugarlabs.org/msg01018.html You scream, I scream, we all scream for Mirabelle ice cream in a Sugar Clone]|{{Iframe
|width=900
+
|http://www.mail-archive.com/soas@lists.sugarlabs.org/msg01018.html
|height=336
+
|900|336|1}}
|border=1
+
}}.
}}</div></div> .
+
And this follow-on discussion thread, {{Show|[http://www.mail-archive.com/soas@lists.sugarlabs.org/msg01138.html <nowiki>[SugarClone]</nowiki> -was: You scream, I scream, ...]|{{Iframe
 +
|http://www.mail-archive.com/soas@lists.sugarlabs.org/msg01138.html
 +
|900|336|1}}
 +
}}.
 
==Introduction==
 
==Introduction==
 
* See the embedded help documentation in the script [[#Source|displayed below]].
 
* See the embedded help documentation in the script [[#Source|displayed below]].
Line 25: Line 30:     
# Obtain the SugarClone script at http://people.sugarlabs.org/fgrose/SugarClone.
 
# Obtain the SugarClone script at http://people.sugarlabs.org/fgrose/SugarClone.
# 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 (not the /root folder).  
+
# 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).  
 
# Boot the USB stick into SoaS and insert a second USB device into the computer running that SoaS image.
 
# Boot the USB stick into SoaS and insert a second USB device into the computer running that SoaS image.
 
# In the Terminal Activity of that running SoaS image, enter the command,
 
# In the Terminal Activity of that running SoaS image, enter the command,
Line 35: Line 40:  
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 SugarClone image.
 
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 SugarClone 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 could be obtained (assuming Internet connectivity) as follows:
+
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:
    
In the Terminal Activity, change the working directory, get the files, & make them executable:<big>
 
In the Terminal Activity, change the working directory, get the files, & make them executable:<big>
Line 103: Line 108:     
==Source==
 
==Source==
 +
===Sugar Clone===
 
The script is available at http://people.sugarlabs.org/fgrose/SugarClone and is displayed from there below.<br>
 
The script is available at http://people.sugarlabs.org/fgrose/SugarClone and is displayed from there below.<br>
 
Embedded help, which describes the script and its usage in greater detail, is available (just after the stock header) in the script below.
 
Embedded help, which describes the script and its usage in greater detail, is available (just after the stock header) in the script below.
{{#widget:Iframe
+
{{Iframe|collapsed=|http://people.sugarlabs.org/fgrose/SugarClone|800|342|1}}
|url=http://people.sugarlabs.org/fgrose/SugarClone
+
===Sugar Cellar===
|width=800
+
{{Iframe|collapsed=|http://people.sugarlabs.org/fgrose/SugarCellar|800|200|1}}
|height=342
+
===Bundle===
|border=1
+
{{Iframe|collapsed=|http://people.sugarlabs.org/fgrose/bundle|800|200|1}}
}}
 

Navigation menu