<?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=Coltivare+Fiori</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=Coltivare+Fiori"/>
	<link rel="alternate" type="text/html" href="https://wiki.sugarlabs.org/go/Special:Contributions/Coltivare_Fiori"/>
	<updated>2026-06-09T12:19:30Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.sugarlabs.org/index.php?title=How_to_have_spell-checking_in_Write_Activity_on_Sugar_0.96.2&amp;diff=83893</id>
		<title>How to have spell-checking in Write Activity on Sugar 0.96.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.sugarlabs.org/index.php?title=How_to_have_spell-checking_in_Write_Activity_on_Sugar_0.96.2&amp;diff=83893"/>
		<updated>2012-10-31T20:17:13Z</updated>

		<summary type="html">&lt;p&gt;Coltivare Fiori: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== What is spell-checking good for ==&lt;br /&gt;
&lt;br /&gt;
Spell-checking can help children with writing disabilities/dyslexia improve their writing speed.&lt;br /&gt;
&lt;br /&gt;
Since there is a minimum speed that children need to have to follow the meaning within the writing, spell-checking can make the difference between writing-without-understanding and writing-and-understanding.&lt;br /&gt;
&lt;br /&gt;
== Spell-checking in the DEFAULT language of Sugar ==&lt;br /&gt;
To enable spell-checking in Write for the a document in a language that IS the DEFAULT language of Sugar, install (as suggested at http://forums.fedoraforum.org/archive/index.php/t-247039.html, and choosing Aspell as a spell-checker) the packages&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;aspell&#039;&#039;&#039;,&lt;br /&gt;
# &#039;&#039;&#039;aspell-&amp;lt;your language code&amp;gt;&#039;&#039;&#039;, AND also&lt;br /&gt;
# &#039;&#039;&#039;enchant-aspell&#039;&#039;&#039;, that is necessary for Abiword to use aspell.&lt;br /&gt;
&lt;br /&gt;
In practice, do in a terminal (as root, or with &#039;&#039;&#039;sudo&#039;&#039;&#039;, and being connected to the Internet)&lt;br /&gt;
&lt;br /&gt;
     # yum install aspell aspell-&amp;lt;the code of the default language on your Sugar&amp;gt; enchant-aspell&lt;br /&gt;
&lt;br /&gt;
== Spell-checking in the rest of the languages ==&lt;br /&gt;
&lt;br /&gt;
To enable spell-checking in Write for the a document in a language that IS NOT the DEFAULT language of Sugar, follow the instructions at&lt;br /&gt;
http://www.olpcnews.com/software/sugar/hacking_sugars_write_activity_to_support_spellchecking.html&lt;br /&gt;
and use the right-click (if your device allows it) to select the language of the document.&lt;br /&gt;
&lt;br /&gt;
The language of the document can then be spell-checked if the spell-checker package corresponding to that language is installed. &lt;br /&gt;
&lt;br /&gt;
In practice, do in a terminal (as root, or with &#039;&#039;&#039;sudo&#039;&#039;&#039;, and being connected to the Internet)&lt;br /&gt;
&lt;br /&gt;
     # yum install aspell-&amp;lt;the code of the language of the document&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then restart the Write Activity for that document, and spell-checking should start working in the non-default language.&lt;br /&gt;
&lt;br /&gt;
== Getting help from the Spell-checker ==&lt;br /&gt;
&lt;br /&gt;
When a word is marked as incorrect, right-click (if your device allows it) on the word marked as incorrect to get help.&lt;br /&gt;
If this does not work, follow - if you haven&#039;t already done so - the instructions at&lt;br /&gt;
http://www.olpcnews.com/software/sugar/hacking_sugars_write_activity_to_support_spellchecking.html&lt;br /&gt;
and try again.&lt;/div&gt;</summary>
		<author><name>Coltivare Fiori</name></author>
	</entry>
	<entry>
		<id>https://wiki.sugarlabs.org/index.php?title=How_to_have_spellchecking_in_Write_Activity_on_Sugar_0.96.2&amp;diff=83892</id>
		<title>How to have spellchecking in Write Activity on Sugar 0.96.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.sugarlabs.org/index.php?title=How_to_have_spellchecking_in_Write_Activity_on_Sugar_0.96.2&amp;diff=83892"/>
		<updated>2012-10-31T20:07:10Z</updated>

		<summary type="html">&lt;p&gt;Coltivare Fiori: moved How to have spellchecking in Write Activity on Sugar 0.96.2 to How to have spell-checking in Write Activity on Sugar 0.96.2: The spell-checker warned me that &amp;quot;spellchecking&amp;quot; should be written &amp;quot;spell-checking&amp;quot; ;-)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[How to have spell-checking in Write Activity on Sugar 0.96.2]]&lt;/div&gt;</summary>
		<author><name>Coltivare Fiori</name></author>
	</entry>
	<entry>
		<id>https://wiki.sugarlabs.org/index.php?title=How_to_have_spell-checking_in_Write_Activity_on_Sugar_0.96.2&amp;diff=83891</id>
		<title>How to have spell-checking in Write Activity on Sugar 0.96.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.sugarlabs.org/index.php?title=How_to_have_spell-checking_in_Write_Activity_on_Sugar_0.96.2&amp;diff=83891"/>
		<updated>2012-10-31T20:07:10Z</updated>

		<summary type="html">&lt;p&gt;Coltivare Fiori: moved How to have spellchecking in Write Activity on Sugar 0.96.2 to How to have spell-checking in Write Activity on Sugar 0.96.2: The spell-checker warned me that &amp;quot;spellchecking&amp;quot; should be written &amp;quot;spell-checking&amp;quot; ;-)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= What is spell-checking good for =&lt;br /&gt;
&lt;br /&gt;
Spell-checking can help children with writing disabilities/dyslexia improve their writing speed.&lt;br /&gt;
&lt;br /&gt;
Since there is a minimum speed that children need to have to follow the meaning within the writing, spell-checking can make the difference between writing-without-understanding and writing-and-understanding.&lt;br /&gt;
&lt;br /&gt;
= Spell-checking in the DEFAULT language of Sugar =&lt;br /&gt;
To enable spell-checking in Write for the a document in a language that IS the DEFAULT language of Sugar, install (as suggested at http://forums.fedoraforum.org/archive/index.php/t-247039.html, and choosing Aspell as a spell-checker) the packages&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;aspell&#039;&#039;&#039;,&lt;br /&gt;
# &#039;&#039;&#039;aspell-&amp;lt;your language code&amp;gt;&#039;&#039;&#039;, AND also&lt;br /&gt;
# &#039;&#039;&#039;enchant-aspell&#039;&#039;&#039;, that is necessary for Abiword to use aspell.&lt;br /&gt;
&lt;br /&gt;
In practice, do in a terminal (as root, or with &#039;&#039;&#039;sudo&#039;&#039;&#039;, and being connected to the Internet)&lt;br /&gt;
&lt;br /&gt;
     # yum install aspell aspell-&amp;lt;the code of the default language on your Sugar&amp;gt; enchant-aspell&lt;br /&gt;
&lt;br /&gt;
= Spell-checking in the rest of the languages =&lt;br /&gt;
&lt;br /&gt;
To enable spell-checking in Write for the a document in a language that IS NOT the DEFAULT language of Sugar, follow the instructions at&lt;br /&gt;
http://www.olpcnews.com/software/sugar/hacking_sugars_write_activity_to_support_spellchecking.html&lt;br /&gt;
and use the right-click (if your device allows it) to select the language of the document.&lt;br /&gt;
&lt;br /&gt;
The language of the document can then be spell-checked if the spell-checker package corresponding to that language is installed. &lt;br /&gt;
&lt;br /&gt;
In practice, do in a terminal (as root, or with &#039;&#039;&#039;sudo&#039;&#039;&#039;, and being connected to the Internet)&lt;br /&gt;
&lt;br /&gt;
     # yum install aspell-&amp;lt;the code of the language of the document&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then restart the Write Activity for that document, and spell-checking should start working in the non-default language.&lt;br /&gt;
&lt;br /&gt;
= Getting help from the Spell-checker =&lt;br /&gt;
&lt;br /&gt;
When a word is marked as incorrect, right-click (if your device allows it) on the word marked as incorrect to get help.&lt;br /&gt;
If this does not work, follow - if you haven&#039;t already done so - the instructions at&lt;br /&gt;
http://www.olpcnews.com/software/sugar/hacking_sugars_write_activity_to_support_spellchecking.html&lt;br /&gt;
and try again.&lt;/div&gt;</summary>
		<author><name>Coltivare Fiori</name></author>
	</entry>
	<entry>
		<id>https://wiki.sugarlabs.org/index.php?title=How_to_have_spell-checking_in_Write_Activity_on_Sugar_0.96.2&amp;diff=83890</id>
		<title>How to have spell-checking in Write Activity on Sugar 0.96.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.sugarlabs.org/index.php?title=How_to_have_spell-checking_in_Write_Activity_on_Sugar_0.96.2&amp;diff=83890"/>
		<updated>2012-10-31T20:04:44Z</updated>

		<summary type="html">&lt;p&gt;Coltivare Fiori: /* What is spellchecking good for */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= What is spell-checking good for =&lt;br /&gt;
&lt;br /&gt;
Spell-checking can help children with writing disabilities/dyslexia improve their writing speed.&lt;br /&gt;
&lt;br /&gt;
Since there is a minimum speed that children need to have to follow the meaning within the writing, spell-checking can make the difference between writing-without-understanding and writing-and-understanding.&lt;br /&gt;
&lt;br /&gt;
= Spell-checking in the DEFAULT language of Sugar =&lt;br /&gt;
To enable spell-checking in Write for the a document in a language that IS the DEFAULT language of Sugar, install (as suggested at http://forums.fedoraforum.org/archive/index.php/t-247039.html, and choosing Aspell as a spell-checker) the packages&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;aspell&#039;&#039;&#039;,&lt;br /&gt;
# &#039;&#039;&#039;aspell-&amp;lt;your language code&amp;gt;&#039;&#039;&#039;, AND also&lt;br /&gt;
# &#039;&#039;&#039;enchant-aspell&#039;&#039;&#039;, that is necessary for Abiword to use aspell.&lt;br /&gt;
&lt;br /&gt;
In practice, do in a terminal (as root, or with &#039;&#039;&#039;sudo&#039;&#039;&#039;, and being connected to the Internet)&lt;br /&gt;
&lt;br /&gt;
     # yum install aspell aspell-&amp;lt;the code of the default language on your Sugar&amp;gt; enchant-aspell&lt;br /&gt;
&lt;br /&gt;
= Spell-checking in the rest of the languages =&lt;br /&gt;
&lt;br /&gt;
To enable spell-checking in Write for the a document in a language that IS NOT the DEFAULT language of Sugar, follow the instructions at&lt;br /&gt;
http://www.olpcnews.com/software/sugar/hacking_sugars_write_activity_to_support_spellchecking.html&lt;br /&gt;
and use the right-click (if your device allows it) to select the language of the document.&lt;br /&gt;
&lt;br /&gt;
The language of the document can then be spell-checked if the spell-checker package corresponding to that language is installed. &lt;br /&gt;
&lt;br /&gt;
In practice, do in a terminal (as root, or with &#039;&#039;&#039;sudo&#039;&#039;&#039;, and being connected to the Internet)&lt;br /&gt;
&lt;br /&gt;
     # yum install aspell-&amp;lt;the code of the language of the document&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then restart the Write Activity for that document, and spell-checking should start working in the non-default language.&lt;br /&gt;
&lt;br /&gt;
= Getting help from the Spell-checker =&lt;br /&gt;
&lt;br /&gt;
When a word is marked as incorrect, right-click (if your device allows it) on the word marked as incorrect to get help.&lt;br /&gt;
If this does not work, follow - if you haven&#039;t already done so - the instructions at&lt;br /&gt;
http://www.olpcnews.com/software/sugar/hacking_sugars_write_activity_to_support_spellchecking.html&lt;br /&gt;
and try again.&lt;/div&gt;</summary>
		<author><name>Coltivare Fiori</name></author>
	</entry>
	<entry>
		<id>https://wiki.sugarlabs.org/index.php?title=How_to_have_spell-checking_in_Write_Activity_on_Sugar_0.96.2&amp;diff=83889</id>
		<title>How to have spell-checking in Write Activity on Sugar 0.96.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.sugarlabs.org/index.php?title=How_to_have_spell-checking_in_Write_Activity_on_Sugar_0.96.2&amp;diff=83889"/>
		<updated>2012-10-31T20:04:19Z</updated>

		<summary type="html">&lt;p&gt;Coltivare Fiori: Created page with &amp;quot;= What is spellchecking good for =  Spellchecking can help children with writing disabilities/dyslexia improve their writing speed.  Since there is a minimum speed that childr...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= What is spellchecking good for =&lt;br /&gt;
&lt;br /&gt;
Spellchecking can help children with writing disabilities/dyslexia improve their writing speed.&lt;br /&gt;
&lt;br /&gt;
Since there is a minimum speed that children need to have to follow the meaning within the writing, spell-checking can make the difference between writing-without-understanding and writing-and-understanding.&lt;br /&gt;
&lt;br /&gt;
= Spell-checking in the DEFAULT language of Sugar =&lt;br /&gt;
To enable spell-checking in Write for the a document in a language that IS the DEFAULT language of Sugar, install (as suggested at http://forums.fedoraforum.org/archive/index.php/t-247039.html, and choosing Aspell as a spell-checker) the packages&lt;br /&gt;
&lt;br /&gt;
# &#039;&#039;&#039;aspell&#039;&#039;&#039;,&lt;br /&gt;
# &#039;&#039;&#039;aspell-&amp;lt;your language code&amp;gt;&#039;&#039;&#039;, AND also&lt;br /&gt;
# &#039;&#039;&#039;enchant-aspell&#039;&#039;&#039;, that is necessary for Abiword to use aspell.&lt;br /&gt;
&lt;br /&gt;
In practice, do in a terminal (as root, or with &#039;&#039;&#039;sudo&#039;&#039;&#039;, and being connected to the Internet)&lt;br /&gt;
&lt;br /&gt;
     # yum install aspell aspell-&amp;lt;the code of the default language on your Sugar&amp;gt; enchant-aspell&lt;br /&gt;
&lt;br /&gt;
= Spell-checking in the rest of the languages =&lt;br /&gt;
&lt;br /&gt;
To enable spell-checking in Write for the a document in a language that IS NOT the DEFAULT language of Sugar, follow the instructions at&lt;br /&gt;
http://www.olpcnews.com/software/sugar/hacking_sugars_write_activity_to_support_spellchecking.html&lt;br /&gt;
and use the right-click (if your device allows it) to select the language of the document.&lt;br /&gt;
&lt;br /&gt;
The language of the document can then be spell-checked if the spell-checker package corresponding to that language is installed. &lt;br /&gt;
&lt;br /&gt;
In practice, do in a terminal (as root, or with &#039;&#039;&#039;sudo&#039;&#039;&#039;, and being connected to the Internet)&lt;br /&gt;
&lt;br /&gt;
     # yum install aspell-&amp;lt;the code of the language of the document&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then restart the Write Activity for that document, and spell-checking should start working in the non-default language.&lt;br /&gt;
&lt;br /&gt;
= Getting help from the Spell-checker =&lt;br /&gt;
&lt;br /&gt;
When a word is marked as incorrect, right-click (if your device allows it) on the word marked as incorrect to get help.&lt;br /&gt;
If this does not work, follow - if you haven&#039;t already done so - the instructions at&lt;br /&gt;
http://www.olpcnews.com/software/sugar/hacking_sugars_write_activity_to_support_spellchecking.html&lt;br /&gt;
and try again.&lt;/div&gt;</summary>
		<author><name>Coltivare Fiori</name></author>
	</entry>
	<entry>
		<id>https://wiki.sugarlabs.org/index.php?title=Sugar_on_a_Stick/Linux&amp;diff=83583</id>
		<title>Sugar on a Stick/Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.sugarlabs.org/index.php?title=Sugar_on_a_Stick/Linux&amp;diff=83583"/>
		<updated>2012-10-09T13:47:44Z</updated>

		<summary type="html">&lt;p&gt;Coltivare Fiori: Suggesting /run/initramfs/live/LiveOS/livecd-iso-to-disk [...] --format as discovered on an Ubuntu 12.04&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:HowTo]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
== Introduction ==&lt;br /&gt;
This page provides additional detail for loading &#039;&#039;&#039;[[Sugar on a Stick/Quandong|Quandong]]&#039;&#039;&#039;, the most stable, released version of Sugar on a Stick (SoaS), available at [[Sugar on a Stick/Downloads]], onto a USB/SD flash storage device using GNU/Linux.&lt;br /&gt;
&lt;br /&gt;
: To explore a variety of &#039;&#039;&#039;experimental&#039;&#039;&#039; options for putting a [[What is Sugar?|Sugar]] image on a USB or SD flash drive under GNU/Linux, see the following pages:&lt;br /&gt;
&lt;br /&gt;
: [[Sugar on a Stick/Beta|SoaS test builds]] | [[Sugar on a Stick/Installation/OLPC|OLPC XO-1]] | [[Sugar on a Stick/Linux/openSUSE|openSUSE]] | [[Trisquel On A Sugar Toast|Trisquel]] | [[VirtualBox]] | [[VMware]] | [[Sugar on a Stick/Linux/Non-compressed Fedora|non-compressed Fedora]] | [[:Category:Live USB|Live USB: (all known portable Sugar distributions)]] &lt;br /&gt;
&lt;br /&gt;
If you have questions, trouble, or feedback, please let us know on the [[{{TALKPAGENAMEE}}|discussion]] page. If you can improve these instructions, please edit the page and do so!&lt;br /&gt;
* See this reference for more background details: [[fedora:How to create and use Live USB]]&lt;br /&gt;
&lt;br /&gt;
== Load SoaS onto a stick using Fedora or Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
This is known to work in Fedora and Ubuntu.&lt;br /&gt;
&lt;br /&gt;
First, download a SoaS {{Code|.iso}} image from  http://spins.fedoraproject.org/soas/#downloads, then return here.&lt;br /&gt;
&lt;br /&gt;
* Make sure you have the &#039;&#039;syslinux&#039;&#039; package installed on the operating system that you will use to prepare the Live USB image. It is recommended that you also have the &#039;&#039;isomd5sum&#039;&#039; package installed. The &#039;&#039;cryptsetup&#039;&#039; package is another option potentially used by the &amp;quot;livecd-iso-to-disk&amp;quot; installation script. (On Ubuntu, {{Code|sudo apt-get install syslinux isomd5sum cryptsetup}} will install the packages. They are also available through the Synaptic Package Manager.)&lt;br /&gt;
:: &amp;lt;small&amp;gt;(On Gentoo, one needs to uncomment &#039;SAMPLE FILE&#039; in /etc/mtools/mtools.conf to make syslinux work.)&amp;lt;/small&amp;gt;&lt;br /&gt;
:*&#039;&#039;[[wikipedia:Syslinux|syslinux]]&#039;&#039; is needed to set up booting on the FAT file system of the USB disc or Live CD.&lt;br /&gt;
:*&#039;&#039;[[wikipedia:md5sum|isomd5sum]]&#039;&#039; is needed for the recommended verification step, which checks that the .iso file is complete after its travels. If there is a problem with the .iso file, the script will exit and provide a failure message.  The verification step can be bypassed by using the &amp;lt;code&amp;gt;--noverify&amp;lt;/code&amp;gt; option.&lt;br /&gt;
:*&#039;&#039;[[wikipedia:dm-crypt|cryptsetup]]&#039;&#039; is only needed for the option to provide password protection and encryption for the persistent /home/liveuser folder. It is not necessary if one applies the  recommended {{Code|--unencrypted-home}} option. The {{Code|--unencrypted-home}} option is preferred because the reduced overhead improves robustness with the compressed &#039;&#039;[[wikipedia:SquashFS|SquashFS]]&#039;&#039; file system employed by the Live USB deployment.&lt;br /&gt;
* Plug in a 2 GB or larger USB stick into your computer.&lt;br /&gt;
* Mount the &#039;SoaS.iso&#039; image to reach the onboard livecd-iso-to-disk installation script:&lt;br /&gt;
: {{Code|sudo mkdir /media/soas/}}&lt;br /&gt;
: {{Code|sudo mount /path/to/Fedora-17-x86_64-Live-SoaS.iso /media/soas/}}&lt;br /&gt;
:: (mount: warning: /media/soas/ seems to be mounted read-only.)&lt;br /&gt;
* Change the working directory to the LiveOS folder on the SoaS.iso mount:&lt;br /&gt;
: {{Code|cd /media/soas/LiveOS}}&lt;br /&gt;
* Execute {{Code|./livecd-iso-to-disk --help}} for usage details. (The file is already executable.)&lt;br /&gt;
&lt;br /&gt;
* Check the USB device node name on your system. In the example below, the &amp;lt;abbr title=&amp;quot;small computer system interface&amp;quot;&amp;gt;&#039;&#039;&#039;s&#039;&#039;&#039;csi&amp;lt;/abbr&amp;gt; &#039;&#039;&#039;d&#039;&#039;&#039;evice is /dev/sdc and filesystem partition on that device is /dev/sdc1:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ df -Th&lt;br /&gt;
Filesystem    Type    Size  Used Avail Use% Mounted on&lt;br /&gt;
rootfs      rootfs     20G   12G  7.5G  61% /&lt;br /&gt;
udev      devtmpfs    1.6G     0  1.6G   0% /dev&lt;br /&gt;
tmpfs        tmpfs    1.6G  904K  1.6G   1% /dev/shm&lt;br /&gt;
tmpfs        tmpfs    1.6G  788K  1.6G   1% /run&lt;br /&gt;
/dev/sda2     ext4     20G   12G  7.5G  61% /&lt;br /&gt;
tmpfs        tmpfs    1.6G     0  1.6G   0% /sys/fs/cgroup&lt;br /&gt;
tmpfs        tmpfs    1.6G     0  1.6G   0% /media&lt;br /&gt;
/dev/sda2     ext4     20G   12G  7.5G  61% /tmp&lt;br /&gt;
/dev/sda2     ext4     20G   12G  7.5G  61% /var/tmp&lt;br /&gt;
/dev/sda2     ext4     20G   12G  7.5G  61% /home&lt;br /&gt;
/dev/loop0 iso9660    509M  509M     0 100% /media/soas&lt;br /&gt;
/dev/sdc1     vfat    3.8G  4.0K  3.8G   1% /run/media/MyAccount/MyUSBdiscMountPoint&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another way to find out the USB device node name on your system is issuing the command&lt;br /&gt;
&lt;br /&gt;
    sudo fdisk -l&lt;br /&gt;
&lt;br /&gt;
and looking in the output for the disk that corresponds to the USB key, e.g. a disk described with a stanza like&lt;br /&gt;
&lt;br /&gt;
    Disk /dev/sd&#039;&#039;&#039;?&#039;&#039;&#039;: 1939 MB, 1939865600 bytes&lt;br /&gt;
    150 heads, 42 sectors/track, 601 cylinders, total 3788800 sectors&lt;br /&gt;
    Units = sectors of 1 * 512 = 512 bytes&lt;br /&gt;
    Sector size (logical/physical): 512 bytes / 512 bytes&lt;br /&gt;
    I/O size (minimum/optimal): 512 bytes / 512 bytes&lt;br /&gt;
    Disk identifier: 0x000e14bf&lt;br /&gt;
    &lt;br /&gt;
    Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;
    /dev/sd&#039;&#039;&#039;?&#039;&#039;&#039;1   *        2048     3784703     1891328    c  W95 FAT32 (LBA)&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;&#039;?&#039;&#039;&#039; in /dev/sd&#039;&#039;&#039;?&#039;&#039;&#039; is (usually) a letter of the alphabet.&lt;br /&gt;
&lt;br /&gt;
If you have only &#039;&#039;&#039;one&#039;&#039;&#039; storage device with 2 Gb of nominal capacity, it will be easy to recognize the USB key in the fdisk output by looking at which device has (about) 2 Gb of capacity. In the example above, &amp;quot;Disk /dev/sd&#039;&#039;&#039;?&#039;&#039;&#039;&amp;quot; reports to be as large as &#039;&#039;1939 MB&#039;&#039;, that is, almost 2 Gb.&lt;br /&gt;
&lt;br /&gt;
Indeed, if you have &#039;&#039;&#039;more than one&#039;&#039;&#039; disks with about 2 Gb of capacity, consider moving to a situation where you&#039;ll have only &#039;&#039;&#039;one&#039;&#039;&#039; device with 2 Gb of capacity, because this will help out a lot in recognizing the drive correctly.&lt;br /&gt;
&lt;br /&gt;
* Unmount the drive,&amp;lt;br&amp;gt;&lt;br /&gt;
: {{Code|sudo umount /run/media/MyAccount/MyUSBdiscMountPoint}}&lt;br /&gt;
:: &amp;lt;small&amp;gt;(The {{Code|/run/media/MyAccount/}} path is the new, Fedora 17 standard mount point. Other operating systems may use {{Code|/media/MyMountPoint}}.)&amp;lt;/small&amp;gt;&lt;br /&gt;
{{:Sugar on a Stick/Linux/bootable device}}&lt;br /&gt;
&lt;br /&gt;
* Run {{Code|livecd-iso-to-disk}} as the root user, making sure to pass the correct USB device node name and to set overlay and home size appropriately, depending on the target USB device storage capacity.&lt;br /&gt;
:&amp;lt;div style=&amp;quot;padding: 1em; border: 1px dashed #2F6FAB; background-color: #FBFBFB; margin: 1em 0px 1em 0em; font-family: Courier;&amp;quot;&amp;gt;./livecd-iso-to-disk --reset-mbr --overlay-size-mb &#039;&#039;&#039;500&#039;&#039;&#039; --home-size-mb &#039;&#039;&#039;900&#039;&#039;&#039; --delete-home --unencrypted-home &#039;&#039;&#039;/path/to/downloaded&#039;&#039;&#039;.iso /dev/sd&#039;&#039;&#039;?&#039;&#039;&#039;1&amp;lt;/div&amp;gt;&lt;br /&gt;
:If the command fails telling you that /dev/sd&#039;&#039;&#039;?&#039;&#039;&#039;1 does not exist, try using the command for /dev/sd&#039;&#039;&#039;?&#039;&#039;&#039; (the name of the device) and not for /dev/sd&#039;&#039;&#039;?&#039;&#039;&#039;1 (the name of the partition), like this:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;div style=&amp;quot;padding: 1em; border: 1px dashed #2F6FAB; background-color: #FBFBFB; margin: 1em 0px 1em 0em; font-family: Courier;&amp;quot;&amp;gt;/run/initramfs/live/LiveOS/livecd-iso-to-disk --reset-mbr --overlay-size-mb &#039;&#039;&#039;500&#039;&#039;&#039; --home-size-mb &#039;&#039;&#039;900&#039;&#039;&#039; --delete-home --unencrypted-home /run/initramfs/livedev /dev/sd&#039;&#039;&#039;?&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:If the command fails returning a complaint about the filesystem not mounted, &#039;&#039;&#039;and&#039;&#039;&#039; you can afford to &#039;&#039;&#039;loose all data on the USB key&#039;&#039;&#039;, you can:&lt;br /&gt;
&lt;br /&gt;
:* mount the USB key (e.g. by unplugging and re-inserting it),&lt;br /&gt;
:* repeat the steps for knowing its device name (there can be situations when the device name has changed!!!)&lt;br /&gt;
:* issue the command with the &#039;&#039;&#039;&amp;quot;--format option&amp;quot;&#039;&#039;&#039;, like this (&#039;&#039;&#039;(WARNING!!!!!!!!!!!!! THE COMMAND DESCRIBED HERE WILL NOT ASK FOR CONFIRMATION AND WILL DESTROY ALL PRE-EXISTING DATA ON YOUR USB KEY!!!&#039;&#039;&#039;)&lt;br /&gt;
::&amp;lt;div style=&amp;quot;padding: 1em; border: 1px dashed #2F6FAB; background-color: #FBFBFB; margin: 1em 0px 1em 0em; font-family: Courier;&amp;quot;&amp;gt;/run/initramfs/live/LiveOS/livecd-iso-to-disk --reset-mbr &#039;&#039;&#039;--format&#039;&#039;&#039; --overlay-size-mb &#039;&#039;&#039;500&#039;&#039;&#039; --home-size-mb &#039;&#039;&#039;900&#039;&#039;&#039; --delete-home --unencrypted-home /run/initramfs/livedev /dev/sd&#039;&#039;&#039;???&#039;&#039;&#039;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: {{Highlight|&#039;&#039;&#039;Note&#039;&#039;&#039;:In the above example, the {{Code|&#039;&#039;&#039;/path/to/downloaded&#039;&#039;&#039;.iso}} may be substituted with {{Code|/dev/loop0}}, as this is the loop device that the mount command chose.}}&lt;br /&gt;
&lt;br /&gt;
: {{Highlight|&#039;&#039;&#039;Note&#039;&#039;&#039;: Additional USB or SD devices may be loaded from a running &#039;&#039;Sugar on a Stick&#039;&#039; image that was loaded with the livecd-iso-to-disk script (but not those installed by other methods) by running this command in the Terminal Activity as a root user:}}&lt;br /&gt;
:&amp;lt;div style=&amp;quot;padding: 1em; border: 1px dashed #2F6FAB; background-color: #FBFBFB; margin: 1em 0px 1em 0em; font-family: Courier;&amp;quot;&amp;gt;/run/initramfs/live/LiveOS/livecd-iso-to-disk --reset-mbr --overlay-size-mb &#039;&#039;&#039;500&#039;&#039;&#039; --home-size-mb &#039;&#039;&#039;900&#039;&#039;&#039; --delete-home --unencrypted-home /run/initramfs/livedev /dev/sd&#039;&#039;&#039;?&#039;&#039;&#039;1&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: The &#039;&#039;livecd-iso-to-disk&#039;&#039; installation method has other advantages over the &#039;&#039;liveusb-creator&#039;&#039; method by allowing the creation of a separate,  persistent /home/liveuser folder with the &amp;lt;tt&amp;gt;--home-size-mb &#039;&#039;NNN&#039;&#039;&amp;lt;/tt&amp;gt; option. This feature avoids consumption of the write-once persistent overlay for Activity storage (see [[LiveOS image]]) and allows one to update the OS image while keeping the user files (by running the script against your existing installation but &amp;lt;u&amp;gt;leaving out&amp;lt;/u&amp;gt; the --home-size-mb NNN option).&lt;br /&gt;
::* The {{Code|--delete-home}} option is used to avoid an error message while requesting both a new home (with {{Code|--home-size-mb}}) and a persistent home (indirectly with {{Code|--unencrypted-home}}). You wouldn&#039;t use the --delete-home option on an upgrade of the operation system only.&lt;br /&gt;
:Depending on the size of your USB stick, you may have to decrease {{Code|--overlay-size-mb}} and {{Code|--home-size-mb}} values (for example, for a 2 GB stick, use 500 for the overlay and 900 for the home folder).&lt;br /&gt;
:: If you have sufficient capacity on your target device, and format it with an ext[234] filesystem to overcome the 2048-MB fat32 file size limit, you may avoid the SquashFS compression by including the {{Code|--skipcompress}} option in the script command line.&lt;br /&gt;
&amp;lt;!--:* If you get an error about udevinfo, you have the new version of udev where &amp;quot;udevadm info&amp;quot; is the proper command.&lt;br /&gt;
:*:Create an executable file called udevinfo somewhere in your path with the following contents:&lt;br /&gt;
:::{{Code|#!/bin/bash}}&amp;lt;br&amp;gt;&lt;br /&gt;
:::&amp;lt;code&amp;gt;udevadm info $*&amp;lt;/code&amp;gt; --&amp;gt;&lt;br /&gt;
:* Watch out for errors in the output of the script, the script seems to ignore them! (and say all is fine on the last line).&lt;br /&gt;
&lt;br /&gt;
===livecd-iso-to-disk transcript===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[LiveOS]$ sudo ./livecd-iso-to-disk --reset-mbr --overlay-size-mb 500 --home-size-mb 900 --delete-home --unencrypted-home /media/SoaS/Fedora-17-x86_64-Live-SoaS.iso /dev/sdc1&lt;br /&gt;
Verifying image...&lt;br /&gt;
/media/SoaS/Fedora-17-x86_64-Live-SoaS.iso:   470134baa7e48085595243e53b55d41e&lt;br /&gt;
Fragment sums: 7de3e14f3d5aa991343fa35bdfe3a1db59d578db95a844a63d22de789de1&lt;br /&gt;
Fragment count: 20&lt;br /&gt;
Press [Esc] to abort check.&lt;br /&gt;
Checking: 100.0%&lt;br /&gt;
&lt;br /&gt;
The media check is complete, the result is: PASS.&lt;br /&gt;
&lt;br /&gt;
It is OK to use this media.&lt;br /&gt;
Copying live image to target device.&lt;br /&gt;
squashfs.img&lt;br /&gt;
   512344064 100%   43.04MB/s    0:00:11 (xfer#1, to-check=0/1)&lt;br /&gt;
&lt;br /&gt;
sent 512406681 bytes  received 31 bytes  44557105.39 bytes/sec&lt;br /&gt;
total size is 512344064  speedup is 1.00&lt;br /&gt;
osmin.img&lt;br /&gt;
        8192 100%    0.00kB/s    0:00:00 (xfer#1, to-check=0/1)&lt;br /&gt;
&lt;br /&gt;
sent 8265 bytes  received 31 bytes  16592.00 bytes/sec&lt;br /&gt;
total size is 8192  speedup is 0.99&lt;br /&gt;
Updating boot config file&lt;br /&gt;
Initializing persistent overlay file&lt;br /&gt;
500+0 records in&lt;br /&gt;
500+0 records out&lt;br /&gt;
524288000 bytes (524 MB) copied, 5.1728 s, 101 MB/s&lt;br /&gt;
Initializing persistent /home&lt;br /&gt;
900+0 records in&lt;br /&gt;
900+0 records out&lt;br /&gt;
943718400 bytes (944 MB) copied, 152.195 s, 6.2 MB/s&lt;br /&gt;
Formatting unencrypted /home&lt;br /&gt;
mke2fs 1.42.3 (14-May-2012)&lt;br /&gt;
Filesystem label=&lt;br /&gt;
OS type: Linux&lt;br /&gt;
Block size=4096 (log=2)&lt;br /&gt;
Fragment size=4096 (log=2)&lt;br /&gt;
Stride=0 blocks, Stripe width=0 blocks&lt;br /&gt;
57600 inodes, 230400 blocks&lt;br /&gt;
11520 blocks (5.00%) reserved for the super user&lt;br /&gt;
First data block=0&lt;br /&gt;
Maximum filesystem blocks=239075328&lt;br /&gt;
8 block groups&lt;br /&gt;
32768 blocks per group, 32768 fragments per group&lt;br /&gt;
7200 inodes per group&lt;br /&gt;
Superblock backups stored on blocks: &lt;br /&gt;
	32768, 98304, 163840, 229376&lt;br /&gt;
&lt;br /&gt;
Allocating group tables: done                            &lt;br /&gt;
Writing inode tables: done                            &lt;br /&gt;
Creating journal (4096 blocks): done&lt;br /&gt;
Writing superblocks and filesystem accounting information: done&lt;br /&gt;
&lt;br /&gt;
tune2fs 1.42.3 (14-May-2012)&lt;br /&gt;
Setting maximal mount count to -1&lt;br /&gt;
Setting interval between checks to 0 seconds&lt;br /&gt;
Installing boot loader&lt;br /&gt;
Target device is now set up with a Live image!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== What&#039;s next? ==&lt;br /&gt;
&lt;br /&gt;
After you&#039;ve created your stick, it&#039;s time to [[Sugar on a Stick/Boot|boot your stick]] and [[Sugar on a Stick/Getting Involved | test]] it out.  Please also [[Sugar on a Stick/Getting Involved/Testing | report]] your observations.&lt;/div&gt;</summary>
		<author><name>Coltivare Fiori</name></author>
	</entry>
	<entry>
		<id>https://wiki.sugarlabs.org/index.php?title=Sugar_on_a_Stick/Linux&amp;diff=83443</id>
		<title>Sugar on a Stick/Linux</title>
		<link rel="alternate" type="text/html" href="https://wiki.sugarlabs.org/index.php?title=Sugar_on_a_Stick/Linux&amp;diff=83443"/>
		<updated>2012-10-07T17:24:27Z</updated>

		<summary type="html">&lt;p&gt;Coltivare Fiori: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:HowTo]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
== Introduction ==&lt;br /&gt;
This page provides additional detail for loading &#039;&#039;&#039;[[Sugar on a Stick/Quandong|Quandong]]&#039;&#039;&#039;, the most stable, released version of Sugar on a Stick (SoaS), available at [[Sugar on a Stick/Downloads]], onto a USB/SD flash storage device using GNU/Linux.&lt;br /&gt;
&lt;br /&gt;
: To explore a variety of &#039;&#039;&#039;experimental&#039;&#039;&#039; options for putting a [[What is Sugar?|Sugar]] image on a USB or SD flash drive under GNU/Linux, see the following pages:&lt;br /&gt;
&lt;br /&gt;
: [[Sugar on a Stick/Beta|SoaS test builds]] | [[Sugar on a Stick/Installation/OLPC|OLPC XO-1]] | [[Sugar on a Stick/Linux/openSUSE|openSUSE]] | [[Trisquel On A Sugar Toast|Trisquel]] | [[VirtualBox]] | [[VMware]] | [[Sugar on a Stick/Linux/Non-compressed Fedora|non-compressed Fedora]] | [[:Category:Live USB|Live USB: (all known portable Sugar distributions)]] &lt;br /&gt;
&lt;br /&gt;
If you have questions, trouble, or feedback, please let us know on the [[{{TALKPAGENAMEE}}|discussion]] page. If you can improve these instructions, please edit the page and do so!&lt;br /&gt;
* See this reference for more background details: [[fedora:How to create and use Live USB]]&lt;br /&gt;
&lt;br /&gt;
== Load SoaS onto a stick using Fedora or Ubuntu ==&lt;br /&gt;
&lt;br /&gt;
This is known to work in Fedora and Ubuntu.&lt;br /&gt;
&lt;br /&gt;
First, download a SoaS {{Code|.iso}} image from  http://spins.fedoraproject.org/soas/#downloads, then return here.&lt;br /&gt;
&lt;br /&gt;
* Make sure you have the &#039;&#039;syslinux&#039;&#039; package installed on the operating system that you will use to prepare the Live USB image. It is recommended that you also have the &#039;&#039;isomd5sum&#039;&#039; package installed. The &#039;&#039;cryptsetup&#039;&#039; package is another option potentially used by the &amp;quot;livecd-iso-to-disk&amp;quot; installation script. (On Ubuntu, {{Code|sudo apt-get install syslinux isomd5sum cryptsetup}} will install the packages. They are also available through the Synaptic Package Manager.)&lt;br /&gt;
:: &amp;lt;small&amp;gt;(On Gentoo, one needs to uncomment &#039;SAMPLE FILE&#039; in /etc/mtools/mtools.conf to make syslinux work.)&amp;lt;/small&amp;gt;&lt;br /&gt;
:*&#039;&#039;[[wikipedia:Syslinux|syslinux]]&#039;&#039; is needed to set up booting on the FAT file system of the USB disc or Live CD.&lt;br /&gt;
:*&#039;&#039;[[wikipedia:md5sum|isomd5sum]]&#039;&#039; is needed for the recommended verification step, which checks that the .iso file is complete after its travels. If there is a problem with the .iso file, the script will exit and provide a failure message.  The verification step can be bypassed by using the &amp;lt;code&amp;gt;--noverify&amp;lt;/code&amp;gt; option.&lt;br /&gt;
:*&#039;&#039;[[wikipedia:dm-crypt|cryptsetup]]&#039;&#039; is only needed for the option to provide password protection and encryption for the persistent /home/liveuser folder. It is not necessary if one applies the  recommended {{Code|--unencrypted-home}} option. The {{Code|--unencrypted-home}} option is preferred because the reduced overhead improves robustness with the compressed &#039;&#039;[[wikipedia:SquashFS|SquashFS]]&#039;&#039; file system employed by the Live USB deployment.&lt;br /&gt;
* Plug in a 2 GB or larger USB stick into your computer.&lt;br /&gt;
* Mount the &#039;SoaS.iso&#039; image to reach the onboard livecd-iso-to-disk installation script:&lt;br /&gt;
: {{Code|sudo mkdir /media/soas/}}&lt;br /&gt;
: {{Code|sudo mount /path/to/Fedora-17-x86_64-Live-SoaS.iso /media/soas/}}&lt;br /&gt;
:: (mount: warning: /media/soas/ seems to be mounted read-only.)&lt;br /&gt;
* Change the working directory to the LiveOS folder on the SoaS.iso mount:&lt;br /&gt;
: {{Code|cd /media/soas/LiveOS}}&lt;br /&gt;
* Execute {{Code|./livecd-iso-to-disk --help}} for usage details. (The file is already executable.)&lt;br /&gt;
&lt;br /&gt;
* Check the USB device node name on your system. In the example below, the &amp;lt;abbr title=&amp;quot;small computer system interface&amp;quot;&amp;gt;&#039;&#039;&#039;s&#039;&#039;&#039;csi&amp;lt;/abbr&amp;gt; &#039;&#039;&#039;d&#039;&#039;&#039;evice is /dev/sdc and filesystem partition on that device is /dev/sdc1:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ df -Th&lt;br /&gt;
Filesystem    Type    Size  Used Avail Use% Mounted on&lt;br /&gt;
rootfs      rootfs     20G   12G  7.5G  61% /&lt;br /&gt;
udev      devtmpfs    1.6G     0  1.6G   0% /dev&lt;br /&gt;
tmpfs        tmpfs    1.6G  904K  1.6G   1% /dev/shm&lt;br /&gt;
tmpfs        tmpfs    1.6G  788K  1.6G   1% /run&lt;br /&gt;
/dev/sda2     ext4     20G   12G  7.5G  61% /&lt;br /&gt;
tmpfs        tmpfs    1.6G     0  1.6G   0% /sys/fs/cgroup&lt;br /&gt;
tmpfs        tmpfs    1.6G     0  1.6G   0% /media&lt;br /&gt;
/dev/sda2     ext4     20G   12G  7.5G  61% /tmp&lt;br /&gt;
/dev/sda2     ext4     20G   12G  7.5G  61% /var/tmp&lt;br /&gt;
/dev/sda2     ext4     20G   12G  7.5G  61% /home&lt;br /&gt;
/dev/loop0 iso9660    509M  509M     0 100% /media/soas&lt;br /&gt;
/dev/sdc1     vfat    3.8G  4.0K  3.8G   1% /run/media/MyAccount/MyUSBdiscMountPoint&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Another way to find out the USB device node name on your system is issuing the command&lt;br /&gt;
&lt;br /&gt;
    sudo fdisk -l&lt;br /&gt;
&lt;br /&gt;
and looking in the output for the disk that corresponds to the USB key, e.g. a disk described with a stanza like&lt;br /&gt;
&lt;br /&gt;
    Disk /dev/sd&#039;&#039;&#039;?&#039;&#039;&#039;: 1939 MB, 1939865600 bytes&lt;br /&gt;
    150 heads, 42 sectors/track, 601 cylinders, total 3788800 sectors&lt;br /&gt;
    Units = sectors of 1 * 512 = 512 bytes&lt;br /&gt;
    Sector size (logical/physical): 512 bytes / 512 bytes&lt;br /&gt;
    I/O size (minimum/optimal): 512 bytes / 512 bytes&lt;br /&gt;
    Disk identifier: 0x000e14bf&lt;br /&gt;
    &lt;br /&gt;
    Device Boot      Start         End      Blocks   Id  System&lt;br /&gt;
    /dev/sd&#039;&#039;&#039;?&#039;&#039;&#039;1   *        2048     3784703     1891328    c  W95 FAT32 (LBA)&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;&#039;?&#039;&#039;&#039; in /dev/sd&#039;&#039;&#039;?&#039;&#039;&#039; is (usually) a letter of the alphabet.&lt;br /&gt;
&lt;br /&gt;
If you have only &#039;&#039;&#039;one&#039;&#039;&#039; storage device with 2 Gb of nominal capacity, it will be easy to recognize the USB key in the fdisk output by looking at which device has (about) 2 Gb of capacity. In the example above, &amp;quot;Disk /dev/sd&#039;&#039;&#039;?&#039;&#039;&#039;&amp;quot; reports to be as large as &#039;&#039;1939 MB&#039;&#039;, that is, almost 2 Gb.&lt;br /&gt;
&lt;br /&gt;
Indeed, if you have &#039;&#039;&#039;more than one&#039;&#039;&#039; disks with about 2 Gb of capacity, consider moving to a situation where you&#039;ll have only &#039;&#039;&#039;one&#039;&#039;&#039; device with 2 Gb of capacity, because this will help out a lot in recognizing the drive correctly.&lt;br /&gt;
&lt;br /&gt;
* Unmount the drive,&amp;lt;br&amp;gt;&lt;br /&gt;
: {{Code|sudo umount /run/media/MyAccount/MyUSBdiscMountPoint}}&lt;br /&gt;
:: &amp;lt;small&amp;gt;(The {{Code|/run/media/MyAccount/}} path is the new, Fedora 17 standard mount point. Other operating systems may use {{Code|/media/MyMountPoint}}.)&amp;lt;/small&amp;gt;&lt;br /&gt;
{{:Sugar on a Stick/Linux/bootable device}}&lt;br /&gt;
&lt;br /&gt;
* Run {{Code|livecd-iso-to-disk}} as the root user, making sure to pass the correct USB device node name and to set overlay and home size appropriately, depending on the target USB device storage capacity.&lt;br /&gt;
:&amp;lt;div style=&amp;quot;padding: 1em; border: 1px dashed #2F6FAB; background-color: #FBFBFB; margin: 1em 0px 1em 0em; font-family: Courier;&amp;quot;&amp;gt;./livecd-iso-to-disk --reset-mbr --overlay-size-mb &#039;&#039;&#039;500&#039;&#039;&#039; --home-size-mb &#039;&#039;&#039;900&#039;&#039;&#039; --delete-home --unencrypted-home &#039;&#039;&#039;/path/to/downloaded&#039;&#039;&#039;.iso /dev/sd&#039;&#039;&#039;?&#039;&#039;&#039;1&amp;lt;/div&amp;gt;&lt;br /&gt;
:: (In the above example, the {{Code|&#039;&#039;&#039;/path/to/downloaded&#039;&#039;&#039;.iso}} may be substituted with {{Code|/dev/loop0}}, as this is the loop device that the mount command chose.)&lt;br /&gt;
: {{Highlight|&#039;&#039;&#039;Note&#039;&#039;&#039;: Additional USB or SD devices may be loaded from a running &#039;&#039;Sugar on a Stick&#039;&#039; image that was loaded with the livecd-iso-to-disk script (but not those installed by other methods) by running this command in the Terminal Activity as a root user:}}&lt;br /&gt;
:&amp;lt;div style=&amp;quot;padding: 1em; border: 1px dashed #2F6FAB; background-color: #FBFBFB; margin: 1em 0px 1em 0em; font-family: Courier;&amp;quot;&amp;gt;/run/initramfs/live/LiveOS/livecd-iso-to-disk --reset-mbr --overlay-size-mb &#039;&#039;&#039;500&#039;&#039;&#039; --home-size-mb &#039;&#039;&#039;900&#039;&#039;&#039; --delete-home --unencrypted-home /run/initramfs/livedev /dev/sd&#039;&#039;&#039;?&#039;&#039;&#039;1&amp;lt;/div&amp;gt;&lt;br /&gt;
: The &#039;&#039;livecd-iso-to-disk&#039;&#039; installation method has other advantages over the &#039;&#039;liveusb-creator&#039;&#039; method by allowing the creation of a separate,  persistent /home/liveuser folder with the &amp;lt;tt&amp;gt;--home-size-mb &#039;&#039;NNN&#039;&#039;&amp;lt;/tt&amp;gt; option. This feature avoids consumption of the write-once persistent overlay for Activity storage (see [[LiveOS image]]) and allows one to update the OS image while keeping the user files (by running the script against your existing installation but &amp;lt;u&amp;gt;leaving out&amp;lt;/u&amp;gt; the --home-size-mb NNN option).&lt;br /&gt;
::* The {{Code|--delete-home}} option is used to avoid an error message while requesting both a new home (with {{Code|--home-size-mb}}) and a persistent home (indirectly with {{Code|--unencrypted-home}}). You wouldn&#039;t use the --delete-home option on an upgrade of the operation system only.&lt;br /&gt;
:Depending on the size of your USB stick, you may have to decrease {{Code|--overlay-size-mb}} and {{Code|--home-size-mb}} values (for example, for a 2 GB stick, use 500 for the overlay and 900 for the home folder).&lt;br /&gt;
:: If you have sufficient capacity on your target device, and format it with an ext[234] filesystem to overcome the 2048-MB fat32 file size limit, you may avoid the SquashFS compression by including the {{Code|--skipcompress}} option in the script command line.&lt;br /&gt;
&amp;lt;!--:* If you get an error about udevinfo, you have the new version of udev where &amp;quot;udevadm info&amp;quot; is the proper command.&lt;br /&gt;
:*:Create an executable file called udevinfo somewhere in your path with the following contents:&lt;br /&gt;
:::{{Code|#!/bin/bash}}&amp;lt;br&amp;gt;&lt;br /&gt;
:::&amp;lt;code&amp;gt;udevadm info $*&amp;lt;/code&amp;gt; --&amp;gt;&lt;br /&gt;
:* Watch out for errors in the output of the script, the script seems to ignore them! (and say all is fine on the last line).&lt;br /&gt;
&lt;br /&gt;
===livecd-iso-to-disk transcript===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[LiveOS]$ sudo ./livecd-iso-to-disk --reset-mbr --overlay-size-mb 500 --home-size-mb 900 --delete-home --unencrypted-home /media/SoaS/Fedora-17-x86_64-Live-SoaS.iso /dev/sdc1&lt;br /&gt;
Verifying image...&lt;br /&gt;
/media/SoaS/Fedora-17-x86_64-Live-SoaS.iso:   470134baa7e48085595243e53b55d41e&lt;br /&gt;
Fragment sums: 7de3e14f3d5aa991343fa35bdfe3a1db59d578db95a844a63d22de789de1&lt;br /&gt;
Fragment count: 20&lt;br /&gt;
Press [Esc] to abort check.&lt;br /&gt;
Checking: 100.0%&lt;br /&gt;
&lt;br /&gt;
The media check is complete, the result is: PASS.&lt;br /&gt;
&lt;br /&gt;
It is OK to use this media.&lt;br /&gt;
Copying live image to target device.&lt;br /&gt;
squashfs.img&lt;br /&gt;
   512344064 100%   43.04MB/s    0:00:11 (xfer#1, to-check=0/1)&lt;br /&gt;
&lt;br /&gt;
sent 512406681 bytes  received 31 bytes  44557105.39 bytes/sec&lt;br /&gt;
total size is 512344064  speedup is 1.00&lt;br /&gt;
osmin.img&lt;br /&gt;
        8192 100%    0.00kB/s    0:00:00 (xfer#1, to-check=0/1)&lt;br /&gt;
&lt;br /&gt;
sent 8265 bytes  received 31 bytes  16592.00 bytes/sec&lt;br /&gt;
total size is 8192  speedup is 0.99&lt;br /&gt;
Updating boot config file&lt;br /&gt;
Initializing persistent overlay file&lt;br /&gt;
500+0 records in&lt;br /&gt;
500+0 records out&lt;br /&gt;
524288000 bytes (524 MB) copied, 5.1728 s, 101 MB/s&lt;br /&gt;
Initializing persistent /home&lt;br /&gt;
900+0 records in&lt;br /&gt;
900+0 records out&lt;br /&gt;
943718400 bytes (944 MB) copied, 152.195 s, 6.2 MB/s&lt;br /&gt;
Formatting unencrypted /home&lt;br /&gt;
mke2fs 1.42.3 (14-May-2012)&lt;br /&gt;
Filesystem label=&lt;br /&gt;
OS type: Linux&lt;br /&gt;
Block size=4096 (log=2)&lt;br /&gt;
Fragment size=4096 (log=2)&lt;br /&gt;
Stride=0 blocks, Stripe width=0 blocks&lt;br /&gt;
57600 inodes, 230400 blocks&lt;br /&gt;
11520 blocks (5.00%) reserved for the super user&lt;br /&gt;
First data block=0&lt;br /&gt;
Maximum filesystem blocks=239075328&lt;br /&gt;
8 block groups&lt;br /&gt;
32768 blocks per group, 32768 fragments per group&lt;br /&gt;
7200 inodes per group&lt;br /&gt;
Superblock backups stored on blocks: &lt;br /&gt;
	32768, 98304, 163840, 229376&lt;br /&gt;
&lt;br /&gt;
Allocating group tables: done                            &lt;br /&gt;
Writing inode tables: done                            &lt;br /&gt;
Creating journal (4096 blocks): done&lt;br /&gt;
Writing superblocks and filesystem accounting information: done&lt;br /&gt;
&lt;br /&gt;
tune2fs 1.42.3 (14-May-2012)&lt;br /&gt;
Setting maximal mount count to -1&lt;br /&gt;
Setting interval between checks to 0 seconds&lt;br /&gt;
Installing boot loader&lt;br /&gt;
Target device is now set up with a Live image!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== What&#039;s next? ==&lt;br /&gt;
&lt;br /&gt;
After you&#039;ve created your stick, it&#039;s time to [[Sugar on a Stick/Boot|boot your stick]] and [[Sugar on a Stick/Getting Involved | test]] it out.  Please also [[Sugar on a Stick/Getting Involved/Testing | report]] your observations.&lt;/div&gt;</summary>
		<author><name>Coltivare Fiori</name></author>
	</entry>
</feed>