Homepage | Activities | Events | Lists | Development | Translate | Contact
Difference between revisions of "Sugar on a Stick/Linux/Installation"
< Sugar on a Stick | Linux
Jump to navigation
Jump to search
(update sizes for SoaS 10) |
m (misspelling) |
||
Line 42: | Line 42: | ||
<li> '''Load''': Execute the following installation command, as the [[olpc:Root|'''root''' user]], in <u>one</u> command line with many options:<br><div style="margin: 1em 0px 1em 1.6em; border: 1px dashed #2F6FAB; padding: 1em; background-color: #FBFBFB; font-family: Courier;">/run/soas/LiveOS/livecd-iso-to-disk --reset-mbr --overlay-size-mb '''500''' --home-size-mb '''800''' --unencrypted-home '''/path/to/downloaded'''.iso /dev/sd'''?'''1</div> | <li> '''Load''': Execute the following installation command, as the [[olpc:Root|'''root''' user]], in <u>one</u> command line with many options:<br><div style="margin: 1em 0px 1em 1.6em; border: 1px dashed #2F6FAB; padding: 1em; background-color: #FBFBFB; font-family: Courier;">/run/soas/LiveOS/livecd-iso-to-disk --reset-mbr --overlay-size-mb '''500''' --home-size-mb '''800''' --unencrypted-home '''/path/to/downloaded'''.iso /dev/sd'''?'''1</div> | ||
: The '{{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 '{{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 ~670 MB, and the overlay and home size arguments, '''500''' and '''800''', were selected to fit in a 2 GB device. These may be adjusted depending on your preferences and device capacity (see [[LiveOS image]]). SoaS 10 can be | + | : The operating system will occupy ~670 MB, and the overlay and home size arguments, '''500''' and '''800''', were selected to fit in a 2 GB device. These may be adjusted depending on your preferences and device capacity (see [[LiveOS image]]). SoaS 10 can be squeezed into a 1 GB device with '''160''' and '''170'''. On a 4 GB device, one might use '''1000''' and '''1600''' for the size arguments. |
{{Show| The installation transcript should look something like the following: | {{Show| The installation transcript should look something like the following: | ||
|<pre> | |<pre> |
Revision as of 21:00, 16 April 2014
These are the steps for installing Sugar on a Stick on a USB/SD device.
This page is transcluded to various installation instruction pages.
- Download the latest Sugar on a Stick .iso file.
- Prepare: (with root user permissions at a terminal or console command line)
- Create a mount point directory:
mkdir /run/soas
- Mount the .iso file to make it accessible as a disk:
mount /path/to/downloaded.iso /run/soas/
- (Where /path/to/downloaded.iso is the filesystem path, or fully specified name, of the downloaded .iso file.)
- This is the source for the installation, and must remain mounted until the installation is complete.
- Insert a USB stick of 2 GB or greater capacity into your computer.
- Use the command
df -Th
orblkid
to get the USB device node name. - Unmount the USB device filesystem:
umount /run/media/MyAccount/MyUSBdiscMountPoint
- (The
/run/media/MyAccount/
path is the new, Fedora 17 standard mount point. Other operating systems may use/media/MyMountPoint
.)
- (The
- (You should have the isomd5sum package installed so that the following installation script can verify the download.)
show ▼ You should see something like the following: - Create a mount point directory:
- Load: Execute the following installation command, as the root user, in one command line with many options:/run/soas/LiveOS/livecd-iso-to-disk --reset-mbr --overlay-size-mb 500 --home-size-mb 800 --unencrypted-home /path/to/downloaded.iso /dev/sd?1
- The '
?
' in the final parameter represents the target USB device scsi drive node, such assdb1
orsdc1
, etc., and/path/to/downloaded.iso
is the location and name of the .iso file. - The operating system will occupy ~670 MB, and the overlay and home size arguments, 500 and 800, were selected to fit in a 2 GB device. These may be adjusted depending on your preferences and device capacity (see LiveOS image). SoaS 10 can be squeezed into a 1 GB device with 160 and 170. On a 4 GB device, one might use 1000 and 1600 for the size arguments.
The installation transcript should look something like the following: - The '
- Boot: Insert the USB stick into a bootable USB port on your computer. Set the option to "boot from USB" in your computer's BIOS setup, and then start up the computer.
- To create more Sugar Sticks on other 1 GB or greater USB or SD devices, while running Sugar on a Stick, in the Terminal Activity, execute this command as the root user:/run/initramfs/live/LiveOS/livecd-iso-to-disk --reset-mbr --overlay-size-mb 160 --home-size-mb 170 --delete-home --unencrypted-home /run/initramfs/livedev /dev/sd?1
- Replace
/dev/sd?1
with a new device node for the second USB/SD device that you want to load with Sugar on a Stick.
- To create more Sugar Sticks on other 1 GB or greater USB or SD devices, while running Sugar on a Stick, in the Terminal Activity, execute this command as the root user: