Line 9: |
Line 9: |
| # Add Activities, change Home favorites, save Browse bookmarks, download E-books, ... | | # Add Activities, change Home favorites, save Browse bookmarks, download E-books, ... |
| # Plug in a second, target USB/SD stick. | | # Plug in a second, target USB/SD stick. |
− | # Switch to the Terminal Activity and execute 3 simple commands. | + | # Switch to the Terminal Activity and execute [[#Live USB installation option|3 simple commands]]. |
| <span style="font-size: 105%">''Voilà''</span>, you have a '''Sugar Clone'''! And the Sugar Clone can make new Sugar Clones with just 1 simple, Terminal command. | | <span style="font-size: 105%">''Voilà''</span>, you have a '''Sugar Clone'''! And the Sugar Clone can make new Sugar Clones with just 1 simple, Terminal command. |
| | | |
Line 30: |
Line 30: |
| ===Test Usage=== | | ===Test Usage=== |
| | | |
− | Test Usage:
| + | Pre-boot installation option: |
| | | |
| # 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 Sugar Clone, 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). | | # Before booting the SoaS device that will be the source of the new Sugar Clone, 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 computer from the USB stick into SoaS, and insert, or have a second USB device inserted, into the computer.
| + | |
− | # In the Terminal Activity of that running SoaS image, enter the command,
| + | Boot: |
| + | |
| + | : Boot the computer from the USB stick into SoaS, and insert, or have a second USB device inserted, into the computer. |
| + | |
| + | Clone: |
| + | |
| + | : In the Terminal Activity [[File:Activity-terminal.png|middle|link=]] of that running SoaS image, enter the command, |
| | | |
| ::{{Code|/mnt/live/SugarClone}} | | ::{{Code|/mnt/live/SugarClone}} |
Line 43: |
Line 49: |
| 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. | | 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. |
| | | |
− | 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: | + | ====Live USB installation option==== |
| + | On a running LiveOS image, the root folder of the parent 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 [[File:Activity-terminal.png|middle|link=]],<br> |
| + | change the working directory, |
| | | |
− | In the Terminal Activity, change the working directory, and get the file:
| |
| : {{Code|cd /mnt/live}} | | : {{Code|cd /mnt/live}} |
| + | |
| + | Get the SugarClone script file: |
| + | |
| : {{Code|wget http://people.sugarlabs.org/fgrose/SugarClone}} | | : {{Code|wget http://people.sugarlabs.org/fgrose/SugarClone}} |
| | | |
− | At this point,
| + | Clone: |
| | | |
| : {{Code|SugarClone}} | | : {{Code|SugarClone}} |
− |
| |
− | will launch the script.
| |
| | | |
| ===Possible Use Cases=== | | ===Possible Use Cases=== |