<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sugarlabs.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rabbe</id>
	<title>Sugar Labs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sugarlabs.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rabbe"/>
	<link rel="alternate" type="text/html" href="https://wiki.sugarlabs.org/go/Special:Contributions/Rabbe"/>
	<updated>2026-06-19T04:26:20Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.sugarlabs.org/index.php?title=Sugar_on_a_Stick/Installation/OLPC&amp;diff=30354</id>
		<title>Sugar on a Stick/Installation/OLPC</title>
		<link rel="alternate" type="text/html" href="https://wiki.sugarlabs.org/index.php?title=Sugar_on_a_Stick/Installation/OLPC&amp;diff=30354"/>
		<updated>2009-06-10T20:25:43Z</updated>

		<summary type="html">&lt;p&gt;Rabbe: /* Option 2: Install the v0.84 Sugar on a Stick image */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{ Translations | [[Sugar_on_a_Stick/Installation/OLPC|english]] &amp;amp;#124; [[Sugar_on_a_Stick/Installation/OLPC/lang-es|español]] &amp;amp;#124; [[Sugar_on_a_Stick/Installation/OLPC/lang-fr|français]] }} {{ GoogleTrans-en | es =show | bg =show | zh-CN =show | zh-TW =show | hr =show | cs =show | da =show | nl =show | fi =show | fr =show | de =show | el =show | hi =show | it =show | ja =show | ko =show | no =show | pl =show | pt =show | ro =show | ru =show | sv =show }}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Do you have an OLPC XO-1?==&lt;br /&gt;
&lt;br /&gt;
[[image:OLPCXO.png]]&lt;br /&gt;
&amp;lt;!-- (This link seems to be for sugar 0.82, not the 0.84 of this paragraph) &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;&lt;br /&gt;
[http://wiki.sugarlabs.org/go/Supported_systems#Fedora_on_an_OLPC_XO http://wiki.sugarlabs.org/images/8/80/OLPCXO.png]&lt;br /&gt;
&amp;lt;/span&amp;gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sugar 0.84 has a number of improvements above and beyond 0.82. And we have a version working on the OLPC XO-1, but because of the changes in process at OLPC (see [[olpc:Future releases]]), there is a new short-term strategy for updates. Until OLPC issues its next official release, we are recommending that XO-1 users who would like to try 0.84 use Sugar on a Stick. The XO-1 can be booted from an external USB or SD card storage device, [[#Option 1: Run v0.84 of Sugar on a Stick from an SD card or external USB|Option 1]] below.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
There are three main options for OLPC XO users:&lt;br /&gt;
# Run v0.84 Sugar on a Stick from a USB flash drive or SD card&lt;br /&gt;
# Install v0.84 Sugar on a Stick on the XO-1&#039;s internal NAND flash memory&lt;br /&gt;
# Use &amp;lt;tt&amp;gt;olpc-update&amp;lt;/tt&amp;gt; to update to the latest software release from OLPC (which is currently 8.2.0 incorporating Sugar v0.82).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; The OLPC XO-1 has some built-in protections which lock the computer down in order to prevent haphazard software changes. In order to use either [[#Option 1: Run v0.84 of Sugar on a Stick from an SD card or external USB|Option 1]] or [[#Option 2: Install the v0.84 Sugar on a Stick image|Option 2]], XO-1 owners must [http://wiki.laptop.org/go/Activation_and_developer_keys request a developer key from OLPC]; it&#039;s a simple process but takes up to 24 hours.&lt;br /&gt;
&lt;br /&gt;
===Option 1: Run v0.84 of Sugar on a Stick from an SD card or external USB===&lt;br /&gt;
&lt;br /&gt;
(Requires a [http://wiki.laptop.org/go/Activation_and_developer_keys developer key for your OLPC-XO-1] and access to a Windows or Fedora computer)&lt;br /&gt;
&lt;br /&gt;
====On Windows:====&lt;br /&gt;
&lt;br /&gt;
Create the USB stick as described on the [[Sugar on a Stick/Windows]] page in the &amp;quot;Windows Instructions&amp;quot; section.&lt;br /&gt;
&lt;br /&gt;
Do &#039;&#039;&#039;not&#039;&#039;&#039; boot this stick on your Windows machine. Make sure the first boot is on your XO. If you do boot the stick on another machine first, the X server setup needed for the XO will not be done.&lt;br /&gt;
&lt;br /&gt;
====On Fedora:====&lt;br /&gt;
&lt;br /&gt;
 wget {{SoaS-2 path}}&lt;br /&gt;
&lt;br /&gt;
 sudo yum install livecd-tools&lt;br /&gt;
&lt;br /&gt;
 sudo livecd-iso-to-disk --format --xo --xo-no-home {{SoaS-2 image}} /dev/sdX1&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;code&amp;gt;/dev/sdX1&amp;lt;/code&amp;gt; is the device associated with your removable media. The livecd-iso-to-disk script needs to be a current version with XO support (not what you get by default in Fedora 10). You can find an up-to date version in the SoaS disk image /LiveOS/livecd-iso-to-disk.&lt;br /&gt;
&lt;br /&gt;
===Option 2: Install the v0.84 Sugar on a Stick image===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: Requires a [http://wiki.laptop.org/go/Activation_and_developer_keys developer key for your OLPC-XO-1] and access to a GNU/Linux computer) It also requires a recent OFW version (Q2E28 has been reported as working. [http://wiki.laptop.org/go/Manual_Firmware_Install Instructions for updating your firmware]).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING&#039;&#039;&#039;: this will overwrite all data on your OLPC-XO-1 NAND!!&lt;br /&gt;
&lt;br /&gt;
On a Fedora10 system:&lt;br /&gt;
&lt;br /&gt;
 sudo yum -y install crcimg mtd-utils&lt;br /&gt;
&lt;br /&gt;
On Debian or Ubuntu:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install mtd-utils&lt;br /&gt;
&lt;br /&gt;
:(On some older Debian/Ubuntu builds, you may need to install mtd-tools instead.)&lt;br /&gt;
&lt;br /&gt;
:crcimg is not packaged for Debian so you&#039;ll have to build it:&lt;br /&gt;
&lt;br /&gt;
 wget http://dev.laptop.org/~mstone/releases/SOURCES/crcimg-1.1.tar.bz2&lt;br /&gt;
 tar xvf crcimg-1.1.tar.bz2&lt;br /&gt;
 sudo make -f Makefile.build install&lt;br /&gt;
&lt;br /&gt;
NB:Of course, if you do not have the packages of the order wget, to install them by the order “yum install wget”&lt;br /&gt;
&lt;br /&gt;
Next:&lt;br /&gt;
&lt;br /&gt;
 wget http://dev.laptop.org/~cjb/rawhide-xo/livecd-iso-to-xo.sh&lt;br /&gt;
 wget {{SoaS-2 path}}&lt;br /&gt;
&lt;br /&gt;
run this command (or something similar depending on the version number of your .iso file)&lt;br /&gt;
&lt;br /&gt;
 sudo sh livecd-iso-to-xo.sh {{SoaS-2 image}} Soas.img&lt;br /&gt;
&lt;br /&gt;
and then copy Soas.img and Soas.crc to a USB key or SD card&lt;br /&gt;
&lt;br /&gt;
On the OLPC-XO-1, boot with the USB key plugged in and the four game keys press to get to the OK prompt in Open Firmware (OFW). &lt;br /&gt;
&lt;br /&gt;
Type the following commands:&lt;br /&gt;
&lt;br /&gt;
 disable-security&lt;br /&gt;
 copy-nand u:\Soas.img&lt;br /&gt;
&lt;br /&gt;
Note: depending upon the file system on your USB key, the names maybe truncated:&lt;br /&gt;
&lt;br /&gt;
 dir u:\&lt;br /&gt;
 copy-nand u:\SOAS-2~1.img&lt;br /&gt;
&lt;br /&gt;
You should see an animation of the blocks being written to the NAND. When it is complete, you will be back at the OK prompt. Type:&lt;br /&gt;
&lt;br /&gt;
 reboot&lt;br /&gt;
&lt;br /&gt;
and the OLPC-XO-1 will reboot and you should be running Sugar 0.84.&lt;br /&gt;
&lt;br /&gt;
===Option 3: Update to the official OLPC v0.82 Sugar build===&lt;br /&gt;
&lt;br /&gt;
You run &#039;&#039;olpc-update&#039;&#039; from the Terminal activity, e.g.,:&lt;br /&gt;
&lt;br /&gt;
 sudo olpc-update 767&lt;br /&gt;
&lt;br /&gt;
where 767 is the build number of the [http://wiki.laptop.org/go/Builds#Stable_builds latest stable release] from OLPC.  This is OLPC release 8.2.0, incorporating Sugar v0.82.&lt;br /&gt;
&lt;br /&gt;
As of March, OLPC has candidate builds for an upcoming 8.2.1 release.&lt;br /&gt;
&lt;br /&gt;
[[Supported_systems#Fedora_on_an_OLPC_XO]] has some more details on upgrading OLPC software.&lt;br /&gt;
&lt;br /&gt;
== Notes on running Sugar on a Stick on XO-1 ==&lt;br /&gt;
* You must hold down the XO-1&#039;s &#039;&#039;&#039;✓&#039;&#039;&#039; (&amp;quot;check&amp;quot;) gamepad key during boot, otherwise boot will hang at the gray &amp;quot;XO&amp;quot; logo.   You should see dots appear under the USB flash drive icon indicating the XO is booting from that drive.&lt;br /&gt;
&lt;br /&gt;
* SoaS-2 images are based on Fedora &amp;quot;Rawhide&amp;quot; spins; [[olpc:Rawhide-XO]] describes many of the known issues running these on an XO-1.&lt;br /&gt;
&lt;br /&gt;
* Also make sure you got a dev-key before booting with the SoaS using the check button..&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
[[Downloads|back to downloads page]]&lt;br /&gt;
__NOTOC__&lt;br /&gt;
&lt;br /&gt;
[[Category:HowTo]]&lt;/div&gt;</summary>
		<author><name>Rabbe</name></author>
	</entry>
</feed>