Sugar on a Stick/Linux/Installation: Difference between revisions
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
<ol start="0"> | <ol start="0"> | ||
<li> '''Download''' the latest [[Sugar on a Stick/Downloads | Sugar on a Stick]] .iso file.<br><br></li> | <li> '''Download''' the latest [[Sugar on a Stick/Downloads | Sugar on a Stick]] .iso file.<br><br></li> | ||
<li> '''Prepare''': (with [[olpc:Root|'''root''' user]] permissions) | <li> '''Prepare''': (with [[olpc:Root|'''root''' user]] permissions at a terminal or [[Wikipedia:System_console|console]] command line) | ||
<ul><li> Create a mount point directory: {{Code|mkdir /media/soas}}</li> | <ul><li> Create a mount point directory: {{Code|mkdir /media/soas}}</li> | ||
<li> Mount the .iso file as a disk: {{Code|mount '''/path/to/downloaded'''.iso /media/soas/}} | <li> Mount the .iso file as a disk: {{Code|mount '''/path/to/downloaded'''.iso /media/soas/}} | ||
| Line 31: | Line 31: | ||
<li> (You should have the isomd5sum package installed so that the following installation script can verify the download.)<br><br> | <li> (You should have the isomd5sum package installed so that the following installation script can verify the download.)<br><br> | ||
</li></ul> | </li></ul> | ||
<li> '''Load''': Execute, as the '''root''' user in <u>one</u> command with arguments | <li> '''Load''': Execute the following installation command, as the [[olpc:Root|'''root''' user]], in <u>one</u> command line with many arguments:<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/downloaded'''.iso /dev/sd'''?'''1</div> | ||
: where '{{Code|'''?'''}}' in the final parameter represents the target USB device '''''s'''csi '''d'''rive'' node, such as {{Code|sd'''b'''1}} or {{Code|sd'''c'''1}}, etc., and {{Code|'''/path/to/downloaded'''.iso}} is the location and name of the .iso file. | : where '{{Code|'''?'''}}' in the final parameter represents the target USB device '''''s'''csi '''d'''rive'' node, such as {{Code|sd'''b'''1}} or {{Code|sd'''c'''1}}, etc., and {{Code|'''/path/to/downloaded'''.iso}} is the location and name of the .iso file. | ||
: The operating system will occupy ~510 MB, and the overlay and home size arguments, '''500''' and '''900''', were selected to fit in a 2 GB device, but may be adjusted according to your device capacity. | : The operating system will occupy ~510 MB, and the overlay and home size arguments, '''500''' and '''900''', were selected to fit in a 2 GB device, but may be adjusted according to your device capacity. | ||
| Line 95: | Line 95: | ||
Target device is now set up with a Live image! | Target device is now set up with a Live image! | ||
</pre>}}<br> | </pre>}}<br> | ||
<li> '''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></li></ol> | <li> '''[[Sugar on a Stick/Boot|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></li></ol> | ||
::* 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 '''300''' --home-size-mb '''175''' --delete-home --unencrypted-home /run/initramfs/livedev /dev/sd'''?'''1</div> | ::* 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 '''300''' --home-size-mb '''175''' --delete-home --unencrypted-home /run/initramfs/livedev /dev/sd'''?'''1</div> | ||