Sugar on a Stick/Windows

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 Sugar on a Stick talk page. If you can improve these instructions, please edit the page and do so!

with Microsoft Windows
There are three ways to do this:

   Unmount the USB device filesystem with this command: umount /run/media/liveuser/MyUSBdiscMountPoint, where MyUSBdiscMountPoint is SanDisk in the dropdown example, above.  Execute this command line: (Substitute the /dev/sd?1, below, with the node name you determined in step 7, above.) ./livecd-iso-to-disk --reset-mbr --overlay-size-mb 500 --home-size-mb 800 --delete-home --unencrypted-home /run/initramfs/livedev /dev/sd?1  (The 500 and 800 size values, above, are suitable for a 2 GB USB device. For a 4 GB device, one might use 1000 and 1600 megabytes instead.)
 * 1. Burn a CD-ROM disc, boot from it, then run the script, livecd-iso-to-disk
 * Use Windows 7 built-in Disk Image Burner or a free utility, like ImgBurn, to write the downloaded Sugar on a Stick .iso file onto a blank CD.
 * Insert a USB flash drive (or SD CardNotes) with 2 GB or more of free space into your computer.
 * Boot your computer with the CD-ROM disc. You probably need to press F1, F10, F12, Esc, or a similar key as the computer starts up in order to set the boot source for your computer to the CD-ROM device.
 * A successful boot will take you into Sugar on a Stick. You can From there, open the Terminal Activity, Activity-terminal.png, from the Home list View.
 * Switch to run commands with 'root' user permissions by entering su - on the command line.
 * Change the working directory, by entering cd /run/initramfs/live/LiveOS
 * Verify the USB/SD scsi drive node name (such as sda, sdb, etc.) and partition (such as 1, 2, etc.) for your USB/SD device. It would look like, for example, /dev/sdb1.
 * The df -Th command shows your device filesystem on a device node, for example, /dev/sdb1, mounted on a directory mount point, such as /run/media/liveuser/

 Shutdown the physical machine.  Reboot your computer from the newly-installed Live USB with Sugar on a Stick.</li> </ol></ul>


 * 2. Use Fedora Live USB Creator
 * (This installation method is NOT recommended for LONG-TERM usage of Sugar on a Stick!! Catastrophic data corruption may occur when the USB stick gets full!  See why.)
 * Download the Live USB Creator from Fedora.
 * Insert a USB flash drive (or SD CardNotes) with 2 GB or more of free space into your computer.
 * Launch Live USB Creator.
 * Select the 'Browse' button to 'Use existing Live CD' and find the downloaded .iso file image on your system.
 * Adjust the Persistent Storage slider. This enables you to save changes to the system and additional Sugar Activities onto the device.
 * Select your flash drive as the target, and click the Create Live USB button.
 * Wait for the process to finish, then close the Live USB Creator program.
 * Stop your flash drive with the Safely Remove Hardware and Eject Media notification area icon dialog, and eject it.
 * See a screenshot tutorial for this.
 * See a video of an earlier version of this process.

 </ul></ul>  Continue from step #4 in the Burn a CD-ROM disc section above.</li>  Shutdown the virtual machine.</li>  Reboot your physical computer from the newly-installed Live USB with Sugar on a Stick.</li> </ol> </ul>
 * 3. Launch a virtual machine with the Sugar on a Stick .iso file, then run the script, livecd-iso-to-disk
 * Download and install VirtualBox (for example; you could do something similar with another vm).
 * Create a new virtual machine.
 * Choose Linux for the Operating System and Version Fedora (64 bit) if available, or Fedora, on systems lacking 64-bit functionality.
 * Attach the Sugar on a Stick .iso file as a CD in the Storage Section
 * Insert a USB storage device into your physical computer and enable the VirtualBox USB controller. Then add a filter to recognize the inserted device in the USB section of the VirtualBox machine setup.
 * Start the new virtual machine.
 * Verify that the USB device is recognized in the running virtual machine.
 * Your device appears in the hover box for the USB stick icon in the virtual machine bottom frame.
 * df -Th shows your device filesystem on a device node, for example, /dev/sda1, mounted on a directory mount point, such as /run/media/<AccountName>/<USBdeviceManufacturer>