Changes

Jump to navigation Jump to search
no edit summary
Line 34: Line 34:  
<li>Use this script file http://bit.ly/livecd-iso-to-disk to create a bootable image.<br>(Run {{Code|chmod +x tools_livecd-iso-to-disk.sh}} after you download the script to make it executable.)</li>
 
<li>Use this script file http://bit.ly/livecd-iso-to-disk to create a bootable image.<br>(Run {{Code|chmod +x tools_livecd-iso-to-disk.sh}} after you download the script to make it executable.)</li>
 
<li>Execute, as the root user, in <u>one</u> command with arguments, the following:<br>
 
<li>Execute, as the root user, in <u>one</u> command with arguments, the following:<br>
{{Code|./tools_livecd-iso-to-disk.sh --reset-mbr --overlay-size-mb 300 --home-size-mb 175 --delete-home --unencrypted-home /path/to/source.iso /dev/sd'''?'''1}}<br>
+
{{Code|./tools_livecd-iso-to-disk.sh --reset-mbr --overlay-size-mb '''300''' --home-size-mb '''175''' --delete-home --unencrypted-home '''/path/to/source.iso''' /dev/sd'''?'''1}}<br>
: where '{{Code|'''?'''}}' in the final parameter represents the target bootable device node, such as {{Code|sdb1}} or {{Code|sdc1}}, etc.<br>
+
: where '{{Code|'''?'''}}' in the final parameter represents the target bootable device node, such as {{Code|sdb1}} or {{Code|sdc1}}, etc., and<br>
: make sure to replace {{Code|/path/to/source.iso}} with the name of the downloaded sugar-on-a-stick image, like {{Code|Fedora-14-i686-Live-SoaS.iso}}
+
: make sure to replace {{Code|/path/to/source.iso}} with the path to the downloaded sugar-on-a-stick image or the just the name, like {{Code|Fedora-14-i686-Live-SoaS.iso}}, if it is in your working directory.<br>
 +
: The overlay and home size parameters, 300 & 175, may be adjusted according to your device capacity. The operating system will occupy ~520 MB. The 300 & 175 values were selected to fit in a 1GB device. See [[LiveOS image]] for more background.
 
''Be certain of your USB/SD '''s'''csi '''d'''rive node name (such as sda, sdb, etc.) and partition (such as 1, 2, etc.).<br>
 
''Be certain of your USB/SD '''s'''csi '''d'''rive node name (such as sda, sdb, etc.) and partition (such as 1, 2, etc.).<br>
 
: Use the {{Code|df -Th}} command to confirm your devices before executing the script.  
 
: Use the {{Code|df -Th}} command to confirm your devices before executing the script.  

Navigation menu