Sugar on a Stick/Linux: Difference between revisions

Satellit (talk | contribs)
No edit summary
Line 1: Line 1:
<noinclude>{{GoogleTrans-en}}{{TOCright}}</noinclude>
<noinclude>{{TOCright}}</noinclude>
== Introduction ==
== Introduction ==
This page offers a variety of '''experimental''' options for putting a [[Sugar on a Stick]] image on a USB flash drive under GNU/Linux. Look at the page Contents box to the right to select a suitable option.
This page explores a variety of '''experimental''' options for putting a [[Sugar on a Stick]] image on a USB flash drive under GNU/Linux. Look at the page Contents box to the right to select a suitable option.


For a more stable, released version, see '''[[Sugar_on_a_Stick/Strawberry#Linux_Users | v1 Strawberry]]'''.
For a more stable, released version, see '''[[Sugar_on_a_Stick/Strawberry#Linux_Users | v1 Strawberry]]'''.
Line 34: Line 34:
:* The <code>--format --reset-mbr</code> arguments for the shell script were in the example script, but may be excluded to preserve the existing disc format and data.  See [[olpc:How to Damage a FLASH Storage Device]] for a discussion of why you might want to try to keep your factory format on a flash storage device.  
:* The <code>--format --reset-mbr</code> arguments for the shell script were in the example script, but may be excluded to preserve the existing disc format and data.  See [[olpc:How to Damage a FLASH Storage Device]] for a discussion of why you might want to try to keep your factory format on a flash storage device.  
:* If you do use the format and reset master boot record arguments, you'll want to specify the target device name and not a partition, that is <code>/dev/sd*</code> with no partition number, instead of <code>/dev/sd*1</code> as in the example above used to specify an existing partition. ''As noted above, confirm your target disc device name&mdash;in this case, it is VERY DANGEROUS to your other discs if this is entered wrong, as the whole disc will be reformatted and a new master boot record written causing all previously written data on that disc to be lost.''
:* If you do use the format and reset master boot record arguments, you'll want to specify the target device name and not a partition, that is <code>/dev/sd*</code> with no partition number, instead of <code>/dev/sd*1</code> as in the example above used to specify an existing partition. ''As noted above, confirm your target disc device name&mdash;in this case, it is VERY DANGEROUS to your other discs if this is entered wrong, as the whole disc will be reformatted and a new master boot record written causing all previously written data on that disc to be lost.''
====use dd command on this hybrid image to make bootable USB/SD (NOT RECOMMENDED)====
Makes bootable USB from soas03.iso
*:If you use dd command to write a USB or SD image, there will be no persistence The SCRIPT method detailed above should used.
In Root Terminal:
dd if=soas03.iso of=/dev/sd(?) bs=4M
* Be sure your USB/SD is /dev/sd? check with partition manager to be sure.
CAUTION: ** You can destroy you Hard Disk if you enter it wrong! **


====zyx-liveinstaller====
====zyx-liveinstaller====
* zyx-liveinstaller is a method for installing SoaS *from* either stick or LiveCD form *to* a system or external disk.  It is known to work best with the most recent snapshot build - soas03.iso.[http://download.sugarlabs.org/soas/snapshots/2/]
* zyx-liveinstaller is a method for installing SoaS *from* either a USB device or LiveCD media *to* a system or external disk.  It is known to work best with the most recent snapshot build - soas03.iso.[http://download.sugarlabs.org/soas/snapshots/2/]
* To use, start the root terminal activity, type 'zyx-liveinstaller', then press enter.  
* To use, start the root terminal activity, type 'zyx-liveinstaller', then press enter.  
* start the partitioner,
* start the partitioner,
  recommend 4GB USB/SD formatted as follows:
  recommend 4GB USB/SD formatted as follows:
  200 /boot ex2
  200 /boot ext2
  3000 / ex3
  3000 / ext3
  (no swap needed)
  (no swap needed)
Exit the partitioner by hitting the X in the top corner of window.
Exit the partitioner by hitting the X in the top corner of window.
Line 59: Line 48:
* During installation, you are free to use other activities.
* During installation, you are free to use other activities.
* After installation completes, you may remove the LiveUSB or LiveCD, and continue using the newly installed system - *without rebooting*!!!.  This means that anything done with the system before, during, or after installation persists into the installed system.
* After installation completes, you may remove the LiveUSB or LiveCD, and continue using the newly installed system - *without rebooting*!!!.  This means that anything done with the system before, during, or after installation persists into the installed system.
====use dd command ====
on this hybrid image to make a bootable USB/SD (NOT RECOMMENDED)
Makes bootable USB from soas03.iso
*If you use dd command to write a USB or SD image, there will be no persistence. The SCRIPT method detailed above should be used.
In Root Terminal:
dd if=soas03.iso of=/dev/sd(?) bs=4M
* Be sure your USB/SD is /dev/sd? check with partition manager to be sure.
CAUTION: ** You can destroy you Hard Disk if you enter it wrong! **


== Put [[Sugar on a Stick/Installation/OLPC | SoaS on an OLPC XO-1]] ==
== Put [[Sugar on a Stick/Installation/OLPC | SoaS on an OLPC XO-1]] ==