Difference between revisions of "Sugar on a Stick/Windows"

From Sugar Labs
Jump to navigation Jump to search
Line 1: Line 1:
<noinclude>{{GoogleTrans-en}}{{TOCright}}</noinclude>
+
<noinclude>{{TOCright}}
 +
[[Category:HowTo]]
 +
</noinclude>
  
 
== Introduction ==
 
== Introduction ==
  
This page is designed to help you to put your [[Sugar on a Stick]] image under Windows on a thumbdrive. If you have questions, trouble or feedback, please let us know on the [[Talk:Sugar on a Stick|SoaS talk]] page. If you can improve these instructions, please edit the page and do so!
+
This page is designed to help you to put your [[Sugar on a Stick]] image on a thumbdrive using Microsoft Windows. If you have questions, trouble or feedback, please let us know on the [[Talk:Sugar on a Stick|SoaS talk]] page. If you can improve these instructions, please edit the page and do so!
 
+
===with Microsoft Windows===
== Windows Instructions ==
+
[[File:Windows.gif|link=]]
 
+
* Either use '''Fedora Live USB Creator'''
The recommended process for creating a SoaS stick in Windows is to use the [http://fedorahosted.org/liveusb-creator/ Fedora LiveUSB Creator], a cross-platform tool for easily installing live operating systems on to USB flash drives.
+
*# Download the Live USB Creator from [http://fedorahosted.org/liveusb-creator/#Download FedoraHosted here].
 
+
*# Insert a USB flash drive (or SD Card) with 1 GB or more of free space into your computer. (See [[LiveOS image]] and [[Sugar on a Stick/Installation/Variations#Cautions with using Live USB devices|Cautions with using Live USB devices]] regarding flash drive size and usage.)
# Download and then extract the [http://fedorahosted.org/liveusb-creator/ Windows executable] for Fedora Live USB Creator. This creates a folder named liveusb-creator-''version''.
+
*# Launch Live USB Creator.
# Download the Sugar on a Stick disc image, http://download.sugarlabs.org/soas/releases/soas-strawberry.iso
+
*# Select the 'Browse' button to 'Use existing Live CD' and find the downloaded .iso file image on your system.
# Insert a minimum 1-GB USB flash drive (stick) into a USB port.
+
*# Adjust the Persistent Storage slider. This enables you to save changes to the system and additional Sugar Activities onto the device.
# Navigate to the LiveUSB folder you extracted and launch the <tt>liveusb-creator.exe</tt> program.
+
*# Select your flash drive as the target, and click the '''Create Live USB''' button.
# Within Live USB Creator, browse to find the soas-strawberry.iso file that you downloaded in step 2.
+
*# Wait for the process to finish, then close the Live USB Creator program.
# Set the Target Device to your USB device.
+
*# Stop your flash drive using the '''Safely Remove Hardware''' dialog, and eject it.
# Move the slider to set some persistent storage. (''Hint:'' Set it to maximum, then it will tell you how much space there is, and you can adjust it to your desired value. How much persistent storage space you set will depend on the size of the .iso and the storage capacity of your USB device.  Persistent storage is needed to save your work in the Journal or to save changes to the system.)  You may leave some of your device capacity unallocated if you want to use that space when not booting Sugar.  
+
:'''Note:''' The above installation method does not allow the full [[LiveOS image|optimization]] of data storage that comes from installing a separate, persistent home directory&mdash;see the alternate method below.
#:'''Note:''' persistent storage will save Journal items between reboots&mdash;but not between Sugar system updates with the LiveUSB Creator (in its current version)Watch this page for instructions on making your Journal persist between system updates.  (The Linux livecd-iso-to-disk script does provide this feature with the --home-size-mb option.)
+
* or '''Burn a CD-ROM disc''' with the soas-mirabelle.iso file.
# Click "Create Live USB". It will take a few minutes.
+
*# Use [http://windowsteamblog.com/blogs/windowsexperience/archive/2009/04/13/burn-iso-images-natively-in-windows-7.aspx Windows 7 built-in Disk Image Burner] or a free utility, like [http://www.imgburn.com/ ImgBurn], to write the downloaded SoaS.iso file onto a blank CD.
# When finished, '''be sure''' to properly eject the USB device using the Safely Remove Hardware icon in the system tray. Failure to do this can render your stick unbootable.
+
*# Insert a USB flash drive (or SD Card) with 1 GB or more of free space into your computer. (See [[LiveOS image]] and [[Sugar on a Stick/Installation/Variations#Cautions with using Live USB devices|Cautions with using Live USB devices]] regarding flash drive size and usage.)
 +
*# Boot your computer with the CD-ROM disc.  You probably need to press F1, F12, Esc, or a similar key as the computer starts up to adjust the boot source to the CD-ROM device.
 +
*# A successful boot will take you into ''Sugar on a Stick Mirabelle''.  From there, open the Terminal Activity, [[File:Activity-terminal.png|bottom|link=http://en.flossmanuals.net/terminal]], from the Home view.<br>{{Iframe|[http://en.flossmanuals.net/terminal ''See the Terminal Activity manual.''] |http://en.flossmanuals.net/terminal|945|400|1}}
 +
*# Click the 'Become root' icon, [[File:Activity-become-root.svg|40px|bottom|link=http://en.flossmanuals.net/terminal]], to gain administrative permissions in the Terminal session.
 +
*# Change the working directory to {{Code|/LiveOS/}}<br>{{Code|cd /LiveOS/}}
 +
*# execute the Linux command line:<br>{{Code|./livecd-iso-to-disk --overlay-size-mb 200 --home-size-mb 200 --delete-home --unencrypted-home /dev/live /dev/sd'''?'''1}}
 +
:: ''Be certain of your USB/SD '''s'''csi '''d'''rive node name (such as sda, sdb, etc.) and partition (such as 1, 2, etc.), yielding, for example,'' {{Code|/dev/sdb1}}.
 +
::: Use the {{Code|df -Th}} command to confirm your devices before executing the script.  
 +
:'''Note:''' Every ''[[Sugar on a Stick/Mirabelle|Mirabelle]] or [[Sugar on a Stick/Strawberry|Strawberry]] Sugar on a Stick'' can copy its original installation to another USB stick or SD card by following the above instructionsSee [[Sugar on a Stick/Sugar Clone]] for instructions on how to customize the contents of a Sugar on a Stick device.
 +
* or '''Launch a virtual machine''', such as VirtualBox with the soas-mirabelle.iso file.
 +
*: See [[#SoaS on VirtualBox|SoaS on VirtualBox]] below.
  
See a video of that process [http://www.youtube.com/watch?v=ieIj4aECk88 here].
 
  
== What's next? ==
+
See a video of an earlier version of this process [http://www.youtube.com/watch?v=ieIj4aECk88 here].
 
 
Please see this [[Sugar_on_a_Stick/Strawberry#Boot it|boot]] section for instructions on how to boot from your USB device.
 
 
 
== See Also ==
 
* [http://unetbootin.sourceforge.net/ Unetbootin] for an alternate method for Windows users.
 
 
 
* Full install to USB: [[Sugar_on_a_Stick/Linux#Full_Fedora_11_Install_of_Sugar_and_XFCE_Desktops_to_USB|Fedora 11 with Sugar and Xfce desktops]] (requires 4-GB or larger USB storage device).
 
 
 
 
 
 
 
[[Category:HowTo]]
 

Revision as of 22:53, 26 May 2010


Introduction

This page is designed to help you to put your Sugar on a Stick image on a thumbdrive using Microsoft Windows. If you have questions, trouble or feedback, please let us know on the SoaS talk page. If you can improve these instructions, please edit the page and do so!

with Microsoft Windows

Windows.gif

  • Either use Fedora Live USB Creator
    1. Download the Live USB Creator from FedoraHosted here.
    2. Insert a USB flash drive (or SD Card) with 1 GB or more of free space into your computer. (See LiveOS image and Cautions with using Live USB devices regarding flash drive size and usage.)
    3. Launch Live USB Creator.
    4. Select the 'Browse' button to 'Use existing Live CD' and find the downloaded .iso file image on your system.
    5. Adjust the Persistent Storage slider. This enables you to save changes to the system and additional Sugar Activities onto the device.
    6. Select your flash drive as the target, and click the Create Live USB button.
    7. Wait for the process to finish, then close the Live USB Creator program.
    8. Stop your flash drive using the Safely Remove Hardware dialog, and eject it.
Note: The above installation method does not allow the full optimization of data storage that comes from installing a separate, persistent home directory—see the alternate method below.
  • or Burn a CD-ROM disc with the soas-mirabelle.iso file.
    1. Use Windows 7 built-in Disk Image Burner or a free utility, like ImgBurn, to write the downloaded SoaS.iso file onto a blank CD.
    2. Insert a USB flash drive (or SD Card) with 1 GB or more of free space into your computer. (See LiveOS image and Cautions with using Live USB devices regarding flash drive size and usage.)
    3. Boot your computer with the CD-ROM disc. You probably need to press F1, F12, Esc, or a similar key as the computer starts up to adjust the boot source to the CD-ROM device.
    4. A successful boot will take you into Sugar on a Stick Mirabelle. From there, open the Terminal Activity, Activity-terminal.png, from the Home view.
    5. Click the 'Become root' icon, Activity-become-root.svg, to gain administrative permissions in the Terminal session.
    6. Change the working directory to /LiveOS/
      cd /LiveOS/
    7. execute the Linux command line:
      ./livecd-iso-to-disk --overlay-size-mb 200 --home-size-mb 200 --delete-home --unencrypted-home /dev/live /dev/sd?1
Be certain of your USB/SD scsi drive node name (such as sda, sdb, etc.) and partition (such as 1, 2, etc.), yielding, for example, /dev/sdb1.
Use the df -Th command to confirm your devices before executing the script.
Note: Every Mirabelle or Strawberry Sugar on a Stick can copy its original installation to another USB stick or SD card by following the above instructions. See Sugar on a Stick/Sugar Clone for instructions on how to customize the contents of a Sugar on a Stick device.
  • or Launch a virtual machine, such as VirtualBox with the soas-mirabelle.iso file.
    See SoaS on VirtualBox below.


See a video of an earlier version of this process here.