Changes

→‎SoaS v2: reminder to chmod +x the script
Line 12: Line 12:  
* ''Sugar on a Stick v2'' snapshots are available for download at {{SoaS snapshot path}}, (27 September 2009).
 
* ''Sugar on a Stick v2'' snapshots are available for download at {{SoaS snapshot path}}, (27 September 2009).
 
* Use ONLY this script file to create a bootable image, http://bit.ly/livecd-iso-to-disk.
 
* Use ONLY this script file to create a bootable image, http://bit.ly/livecd-iso-to-disk.
 +
:(Don't forget to <code>chmod +x tools_livecd-iso-to-disk.sh</code> after you download the script.)
 
* The .iso file may be burnt to a CD-ROM and booted on your PC (or mounted in a virtual machine to boot it):
 
* The .iso file may be burnt to a CD-ROM and booted on your PC (or mounted in a virtual machine to boot it):
 
*# Press <Esc> at the blue. initial boot screen,
 
*# Press <Esc> at the blue. initial boot screen,
Line 24: 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:
  sudo ./tools_livecd-iso-to-disk.sh --overlay-size-mb 400 --delete-home
+
  sudo ./tools_livecd-iso-to-disk.sh --overlay-size-mb 400 --delete-home --extra-kernel-args selinux=0 ./SoaS3-200909271154.iso /dev/sd*1
  --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.