Sugar on a Stick/Linux: Difference between revisions
→SoaS v2: reminder to chmod +x the script |
cause command line to wrap and not hide black text in black sidepanel when viewed on a narrow window |
||
| Line 25: | Line 25: | ||
*: 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 the shell script as the root user in <u>one</u> command with arguments as follows: | * To install the .iso disc image, execute the shell script as the root user in <u>one</u> command with arguments as follows: | ||
<div style="border:1px dashed #2f6fab; padding:8px; margin:8px; background-color:#f9f9f9"><code>sudo ./tools_livecd-iso-to-disk.sh --overlay-size-mb 400 --delete-home --extra-kernel-args selinux=0 ./SoaS3-200909271154.iso /dev/sd*1</code></div> | |||
:* (*) ''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. | ||