Line 1: |
Line 1: |
| <noinclude>{{TOCright}}</noinclude> | | <noinclude>{{TOCright}}</noinclude> |
| == Introduction == | | == Introduction == |
− | This page explores a variety of '''experimental''' options for putting a [[Sugar on a Stick]] image on a USB flash drive under GNU/Linux. Look at the page Contents box to the right to select a suitable option.
| + | For a more stable, released version of Sugar on a Stick, see '''[[Sugar_on_a_Stick/Strawberry#Linux_Users | v1 Strawberry]]'''. |
| | | |
− | For a more stable, released version, see '''[[Sugar_on_a_Stick/Strawberry#Linux_Users | v1 Strawberry]]'''.
| + | To explore a variety of '''experimental''' options for putting a [[Sugar on a Stick]] image on a USB flash drive under GNU/Linux, see the following pages: |
| + | |
| + | [[Sugar on a Stick/Beta]] | [[Sugar on a Stick/Installation/OLPC|OLPC XO-1]] | [[Sugar on a Stick/Linux/openSUSE|openSUSE]] | [[Trisquel On A Sugar Toast|Trisquel]] | [[VirtualBox]] | [[VMware]] |
| | | |
| If you have questions, trouble, or feedback, please let us know on the [[{{TALKPAGENAMEE}}|discussion]] page. "Sugar on a Stick" is provided in a number of [[Talk:Sugar_on_a_Stick/Linux#SoaS_Fedora_matrix|variants]]. If you can improve these instructions, please edit the page and do so! | | If you have questions, trouble, or feedback, please let us know on the [[{{TALKPAGENAMEE}}|discussion]] page. "Sugar on a Stick" is provided in a number of [[Talk:Sugar_on_a_Stick/Linux#SoaS_Fedora_matrix|variants]]. If you can improve these instructions, please edit the page and do so! |
| | | |
− | ==Soas03 Beta==
| + | == Put SoaS onto a stick using Fedora or Ubuntu == |
− | *(Fedora 12 beta(rawhide)) See [[Talk:Sugar_on_a_Stick/Linux#SoaS_Fedora_matrix|Soas Fedora image matrix]].
| |
− | ===Download===
| |
− | * Help save our bandwidth. Please download via BitTorrent, if possible.
| |
− | | |
− | {| border=1 cellpadding=3 style="border: 1px solid white; border-collapse: collapse; background: #e3e4e5;"
| |
− | |-style="background:#787878; color: white;"
| |
− | | '''Tracker''' || '''Link'''
| |
− | |-
| |
− | | LegalTorrents.com || http://www.legaltorrents.com/torrents/780-sugar-on-a-stick-v2-beta
| |
− | |}
| |
− | | |
− | Alternatively, you can download via http:
| |
− | * ''Sugar on a Stick v2'' snapshots are available for download at http://download2.sugarlabs.org/soas/snapshots/2/, latest test version, [http://download2.sugarlabs.org/soas/snapshots/2/soas03.iso] (updated Oct 25 2009)
| |
− | | |
− | ===Soas03 Installation on USB/SD===
| |
− | * Use ONLY this script file to create a bootable image, http://bit.ly/livecd-iso-to-disk.
| |
− | :(Don't forget to <code>chmod +x tools_livecd-iso-to-disk.sh</code> after you download the script.)
| |
− | * The .iso file may be burnt to a CD-ROM and booted on your PC (or mounted in a virtual machine to boot it):
| |
− | | |
− | '''Note:'''
| |
− | * See this [http://lists.sugarlabs.org/archive/sugar-devel/2009-September/019829.html announcement] for more information (noting the changes and notes below).
| |
− | * To install the .iso disc image, execute the shell script as the root user in <u>one</u> command with arguments as follows:
| |
− | <div style="border:1px dashed #2f6fab; padding:8px; margin:8px; background-color:#f9f9f9"><code>sudo ./tools_livecd-iso-to-disk.sh --overlay-size-mb 400 --delete-home --extra-kernel-args selinux=0 ./SoaS3-200909271154.iso /dev/sd*1</code></div>
| |
− | :* (*) ''be sure of your USB/SD '''s'''torage '''d'''evice name (such as sda, sdb, etc.) and partition (such as 1, 2, etc.), yielding, for example,'' <code>/dev/sdb1</code>. ''Use the mount command or the partition manager to confirm it before executing the script.''
| |
− | :* The <code>--format --reset-mbr</code> arguments for the shell script were in the example script, but may be excluded to preserve the existing disc format and data. See [[olpc:How to Damage a FLASH Storage Device]] for a discussion of why you might want to try to keep your factory format on a flash storage device.
| |
− | :* If you do use the format and reset master boot record arguments, you'll want to specify the target device name and not a partition, that is <code>/dev/sd*</code> with no partition number, instead of <code>/dev/sd*1</code> as in the example above used to specify an existing partition. ''As noted above, confirm your target disc device name—in this case, it is VERY DANGEROUS to your other discs if this is entered wrong, as the whole disc will be reformatted and a new master boot record written causing all previously written data on that disc to be lost.''
| |
− | | |
− | ====zyx-liveinstaller====
| |
− | * zyx-liveinstaller is a method for installing SoaS *from* either a USB device or LiveCD media *to* a system or external disk. It is known to work best with the most recent snapshot build - soas03.iso.[http://download.sugarlabs.org/soas/snapshots/2/]
| |
− | * To use, start the root terminal activity, type 'zyx-liveinstaller', then press enter.
| |
− | * start the partitioner,
| |
− | recommend 4GB USB/SD formatted as follows:
| |
− | 200 /boot ext2
| |
− | 3000 / ext3
| |
− | (no swap needed)
| |
− | Exit the partitioner by hitting the X in the top corner of window.
| |
− | Then read and follow the simple wizard, choosing destination volumes/partitions for boot, root, and swap. root must be at least 2GB(not currently checked for by the installer). boot may be the same as root, and swap is optional.
| |
− | * This is a *destructive* install, meaning that the contents of the disks or partitions you choose will be overwritten entirely.
| |
− | * During installation, you are free to use other activities.
| |
− | * After installation completes, you may remove the LiveUSB or LiveCD, and continue using the newly installed system - *without rebooting*!!!. This means that anything done with the system before, during, or after installation persists into the installed system.
| |
− | ====use dd command ====
| |
− | on this hybrid image to make a bootable USB/SD (NOT RECOMMENDED)
| |
− | Makes bootable USB from soas03.iso
| |
− | *If you use dd command to write a USB or SD image, there will be no persistence. The SCRIPT method detailed above should be used.
| |
− | | |
− | In Root Terminal:
| |
− | | |
− | dd if=soas03.iso of=/dev/sd(?) bs=4M
| |
− | | |
− | * Be sure your USB/SD is /dev/sd? check with partition manager to be sure.
| |
− | CAUTION: ** You can destroy you Hard Disk if you enter it wrong! **
| |
− | | |
− | | |
− | == Put [[Sugar on a Stick/Installation/OLPC | SoaS on an OLPC XO-1]] ==
| |
− | * See [[Sugar on a Stick/Installation/OLPC]] for booting an OLPC XO-1 with SoaS images.
| |
− | == Put SoaS onto a stick using Fedora and Ubuntu == | |
| | | |
| This is known to work in Fedora and Ubuntu. | | This is known to work in Fedora and Ubuntu. |