Line 34: |
Line 34: |
| [[File:USB flash drive.jpg|156px|link=Sugar on a Stick/Downloads]] | | [[File:USB flash drive.jpg|156px|link=Sugar on a Stick/Downloads]] |
| |valign=top| | | |valign=top| |
− | # '''Download''' the latest [[Sugar on a Stick/Downloads | Sugar on a Stick]] .iso file.<br><br>
| + | {{:Sugar on a Stick/Linux/Installation}} |
− | # '''Prepare''': (with '''root''' user permissions)
| |
− | #* Create a mount point directory: {{Code|mkdir /media/soas}}
| |
− | #* Mount the .iso file as a disk: {{Code|mount '''/path/to/source'''.iso /media/soas/}}
| |
− | #* Insert a USB stick of 2 GB or greater capacity into your computer.
| |
− | #* Use the {{Code|blkid}} or {{Code|df}} command to get the USB device node name.
| |
− | #* Unmount the USB device filesystem:<br>{{Code|umount /run/media/MyAccount/MyUSBdiscMountPoint}}
| |
− | #* (You should have the isomd5sum package installed so that the following installation script can verify the download.)<br><br>
| |
− | # '''Load''': Execute, as the '''root''' user in <u>one</u> command with arguments, the following:<br><div style="padding: 1em; border: 1px dashed #2F6FAB; background-color: #FBFBFB; margin: 1em 0px 1em 1.6em; font-family: Courier;">/media/soas/LiveOS/livecd-iso-to-disk --reset-mbr --overlay-size-mb '''500''' --home-size-mb '''900''' --delete-home --unencrypted-home '''/path/to/source'''.iso /dev/sd'''?'''1</div>
| |
− | #: where '{{Code|'''?'''}}' in the final parameter represents the target USB device node, such as {{Code|sd'''b'''1}} or {{Code|sd'''c'''1}}, etc. and {{Code|'''/path/to/source'''.iso}} is the location and name of the .iso file.<br><br>
| |
− | # '''Boot''': Insert the USB stick into a bootable USB port on your computer. Set the option to "boot from USB" in your computer's <abbr title="Basic Input/Output System">BIOS</abbr> setup, and then start up the computer.<br><br>
| |
− | | |
− | ::* You may create more Sugar Sticks on other 1 GB or greater USB or SD devices. In the Terminal Activity of a running ''Sugar on a Stick'', run this command as root:<br><div style="padding: 1em; border: 1px dashed #2F6FAB; background-color: #FBFBFB; margin: 1em 0px 1em 0em; font-family: Courier;">/run/initramfs/live/LiveOS/livecd-iso-to-disk --reset-mbr --overlay-size-mb '''200''' --home-size-mb '''150''' --delete-home --unencrypted-home /run/initramfs/livedev /dev/sd'''?'''1</div>
| |
| |} | | |} |
| | | |