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
Line 7: | Line 7: | ||
<li> '''Prepare''': (with [[olpc:Root|'''root''' user]] permissions) | <li> '''Prepare''': (with [[olpc:Root|'''root''' user]] permissions) | ||
<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/}}<br> |
: <small>(Where '''/path/to/downloaded'''.iso is the [[Wikipedia:File system|filesystem]] [[Wikipedia:Path_(computing)|path, or fully specified name,]] of the downloaded .iso file.)</small> | : <small>(Where '''/path/to/downloaded'''.iso is the [[Wikipedia:File system|filesystem]] [[Wikipedia:Path_(computing)|path, or fully specified name,]] of the downloaded .iso file.)</small> | ||
+ | </li> | ||
<li> Insert a USB stick of 2 GB or greater capacity into your computer.</li> | <li> Insert a USB stick of 2 GB or greater capacity into your computer.</li> | ||
<li> Use the {{Code|blkid}} or {{Code|df -Th}} command to get the USB device node name.</li> | <li> Use the {{Code|blkid}} or {{Code|df -Th}} command to get the USB device node name.</li> | ||
− | {{Show| | + | {{Show| You should see something like the following: |
|<pre> | |<pre> | ||
[root@MyComputer ~]# df -Th | [root@MyComputer ~]# df -Th | ||
Line 25: | Line 26: | ||
</pre> | </pre> | ||
where the mount point and filesystem sizes should help you identify what you want.}} | where the mount point and filesystem sizes should help you identify what you want.}} | ||
− | <li> Unmount the USB device filesystem:<br>{{Code|umount /run/media/MyAccount/MyUSBdiscMountPoint}}</li> | + | <li> Unmount the USB device filesystem:<br>{{Code|umount /run/media/MyAccount/MyUSBdiscMountPoint}}<br> |
− | <li> (You should have the isomd5sum package installed so that the following installation script can verify the download.)<br><br></li></ul> | + | : <small>(The {{Code|/run/media/MyAccount/}} path is the new, Fedora 17 standard mount point. Other operating systems may use {{Code|/media/MyMountPoint}}.)</small></li> |
+ | <li> (You should have the isomd5sum package installed so that the following installation script can verify the download.)<br><br> | ||
+ | </li></ul> | ||
<li> '''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/downloaded'''.iso /dev/sd'''?'''1</div> | <li> '''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/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. |
Revision as of 22:32, 1 August 2012
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)
- Create a mount point directory:
mkdir /media/soas
- Mount the .iso file as a disk:
mount /path/to/downloaded.iso /media/soas/
- (Where /path/to/downloaded.iso is the filesystem path, or fully specified name, of the downloaded .iso file.)
- Insert a USB stick of 2 GB or greater capacity into your computer.
- Use the
blkid
ordf -Th
command 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, as the root user in one command with arguments, the following:/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
- where '
?
' 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 ~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 installation transcript should look something like the following:
- where '
- 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.
- 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:/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
- 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: