Sugar on a Stick/Linux: Difference between revisions
No edit summary |
No edit summary |
||
Line 23: | Line 23: | ||
* Note that selinux must be disabled in the startup (selinux=0) or Sugar will not load. | * Note that selinux must be disabled in the startup (selinux=0) or Sugar will not load. | ||
*: This precludes using a dd command to write a USB or SD image. The SCRIPT MUST BE USED. | *: This precludes using a dd command to write a USB or SD image. The SCRIPT MUST BE USED. | ||
* To install the .iso disc image, execute | * To install the .iso disc image, execute the shell script as the root user in <u>one</u> command with arguments as follows: | ||
sudo ./tools_livecd-iso-to-disk.sh --overlay-size-mb 400 --delete-home | |||
--extra-kernel-args selinux=0 ./SoaS3-200909271154.iso /dev/sd*1 | |||
:* (*) ''be sure of your USB/SD '''s'''torage '''d'''evice name (such as sda, sdb, etc.) and partition (such as 1, 2, etc.), yielding, for example,'' <code>/dev/sdb1</code>. ''Use the mount command or the partition manager to confirm it before executing the script.'' | :* (*) ''be sure of your USB/SD '''s'''torage '''d'''evice name (such as sda, sdb, etc.) and partition (such as 1, 2, etc.), yielding, for example,'' <code>/dev/sdb1</code>. ''Use the mount command or the partition manager to confirm it before executing the script.'' | ||
:* 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. |