Difference between revisions of "Category:Live USB"

From Sugar Labs
Jump to navigation Jump to search
m
 
(53 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''This is a directory of Live USB Sugar distribution efforts'''
+
==Live USB distributions==
  
Sugar Labs has worked most, for both development and deployment, with [[Sugar on a Stick]]. People are, of course, encouraged and free to work on whatever they would like!
+
:* [[Sugar on a Stick]] is a Fedora-based [[LiveOS image]] installation.
See [[Sugar on a Stick#Project Principles|Project Principles]] and [[Sugar on a Stick/Resources]] for a description of the technical and educational goals of the project.
+
:*: See [[Sugar on a Stick/Essence]] for a description of the technical and educational goals of the project.
 +
:* [[Trisquel On A Sugar Toast]] Sugar Desktop 0.94.1
 +
::* [http://devel.trisquel.info/sugar/toast/iso/ Download]
 +
::*[http://trisquel.info/en/trisquel-sugar Trisquel-sugar] Info on older version
 +
::* [http://devel.trisquel.info/live-usb.sh script for USB install with persistence]
 +
:* openSUSE-Sugar-Live (only an older version of sugar available.)
 +
::*[http://download.opensuse.org/repositories/Education/images/iso/ Download] (dd to USB/SD disk), to install on hard disk, add "liveinstall" at the boot menu.
 +
::*[http://en.opensuse.org/Live_USB_stick Live USB stick]
 +
::*[http://lizards.opensuse.org/2009/08/13/cliced-hybrids/ cliced-hybrids]
 +
::*[http://en.opensuse.org/SDB:KIWI_Cookbook_Live_USB-Stick SDB:KIWI Cookbook Live USB Stick]
 +
:* Fedora 12 [[fedora:Education Spin|Education Spin]] Live USB of GNOME and Sugar Desktops
 +
:*: No longer maintained. (Similar results can be obtained by building a live Fedora [[Build_Your_Own_Remix_with_Fedora|Remix.iso]]  or  a "custom" [http://fedora.osuosl.org/linux/releases/16/Fedora/i386/iso/Fedora-16-i386-netinst.iso netinstall] hard disk install with GNOME and Sugar-desktop selected.)
  
* Sebastian Dziallas calls the current iteration of Sugar on a Stick, Blueberry [http://www.mail-archive.com/sugar-devel@lists.sugarlabs.org/msg08994.html][http://wiki.sugarlabs.org/go/Sugar_on_a_Stick/Blueberry#Download_locations]; the name of the overall project is Sugar on a Stick.
+
====Graphical installers====
 +
:* [http://fedorahosted.org/liveusb-creator/ Fedora Windows and Linux Live USB Creator]
 +
::* [[fedora:How to create and use Live USB]]
 +
::* [[Sugar_Creation_Kit#Liveusb_Creator | Fedora Live USB Creator]] latest information
 +
:* [http://unetbootin.sourceforge.net/ UNetbootin ]
  
==='''Sugar on a Stick creation kit'''===
+
==Notes==
  
http://people.sugarlabs.org/sdz/creation-kit/
+
# F12 and opensuse-edu now distribute a dual mode live.iso of Sugar-Desktop which boots into sugar as a CD or can be used to dd write to a USB/SD stick. (Persistence is a work in progress on these.) [[Sugar on a Stick/Linux/openSUSE]],  [http://lizards.opensuse.org/2009/04/28/whats-behind-lzma-compressed-livecds/], [http://git.berlios.de/cgi-bin/gitweb.cgi?p=kiwi;a=blob;f=modules/KIWILinuxRC.sh;h=6591ab5125df730800bf3dc3dde9ce875183568c;hb=HEAD], [http://alt.fedoraproject.org/pub/alt/nightly-composes/education/]
 
+
# Sugar from multiple distros is available [[Sugar_Creation_Kit#All_Prebuilt_VirtualBox_Appliances|VitualBox Appliances]] as a VMware Player or VirtualBox "Appliance", which can be stored on a USB/SD stick, and thus is transportable with (persistence) from PC to PC.
==='''Customization-guide'''===
+
# There are "full installs" (non-compressed file structure) of Sugar, Sugar+GNOME, and on larger (4 GB+) USB sticks, which are available for [[Testing/Reports/Sugar on a Stick#dd_writable_2GB_USB_Soas-v6-Pineapple-USB_.img|download]] in compressed form, which can be written to a bootable USB/SD device with a dd command in several minutes.
 
+
# Most live F12-F13 distros can be installed as a '''full install to disk'''. This requires a 4 GB USB/SD disk for Blueberry, Mirabelle, and an 8 GB USB/SD disk for Sugar+GNOME. Use command "liveinst" in a root terminal. These produce a normal install with persistent storage.
http://people.sugarlabs.org/sdz/customization-guide/
 
 
 
===FEDORA based Live USB's===
 
 
 
====Cautions with using Live USB's====
 
*Wait for delayed writes to the USB to finish (up to 15 sec) before pulling it out of PC. If writes do not complete you will corrupt the USB and it will not boot.
 
*If you do a yum update on a small USB you can overload the Persistent Overlay. [https://fedorahosted.org/liveusb-creator/ticket/28]"Fedora 10 adds the 'reset_overlay' option that you can pass on the kernel command line which helps to recover."[http://wiki.sugarlabs.org/index.php?title=Category_talk:Live_USB&action=edit&redlink=1]
 
* Use a larger USB (4GB or even 8GB), if you plan to do updates or install new programs.
 
* If you use a 1GB USB, do not (i) install large updates or activities or (ii) download large files.  The 300MB overlay will quickly fill up (e.g., within an hour), and your USB will become corrupted (i.e., unbootable) without any warning.  Also, check your Journal free space frequently.
 
*Use zyx-liveinstaller [http://wiki.sugalabs.org/go/Sugar_on_a_Stick/ZyX-LiveInstaller ] for soas-v2-Blueberry or '''liveinst''' command for Fedora based USB's in terminal to make a non-live USB. It will require about 2x as large USB as they create a "real file system" as the file structure will not be compressed. These non-live USB installs are more robust in use.
 
* f13 based soas-v3 nightly composes (Mirrabelle) will not install with either livinst (Crashes with bug) or zyx-liveinstaller (no longer present on .iso) Hint: use: livecd-iso-to-disk or liveusb-creator to create a USB
 
* notes on ext3 / ext4 file systems:[http://lwn.net/Articles/322823/] (It looks like ext3 formatting may be more robust in a USB)
 
*Discussion on causes of failure [http://wiki.sugarlabs.org/go/Sugar_on_a_Stick/Stick_Layout] delayed writes [http://wiki.sugarlabs.org/go/Talk:Sugar_on_a_Stick/Stick_Layout]
 
 
 
====liveusb-creator from command line in terminal====
 
('''using Fedora 12''')
 
 
 
a- Open terminal and type: '''liveusb-creator --reset-mbr'''
 
 
 
b- Move slider "Persistent Storage ( )MB" - to set size of USB Persistence file
 
 
 
c- Select correct  "Target Device" (the USB you want to use)
 
 
 
d- OPTIONAL: To find your USB enter command "mount" in terminal. look for /dev/sd(x) with description of your USB
 
 
 
e- select the .iso file you plan to use "Use existing Live CD"
 
 
 
f- select "Create Live USB"
 
 
 
====use livecd-iso-to-disk script to write a live USB ====
 
('''using Fedora 12''')
 
 
 
'''takes a downloaded soas.iso file and writes it directly to a USB stick'''
 
 
 
a- Download script: [http://download.sugarlabs.org/soas/releases/livecd-iso-to-disk.sh]to your Desktop
 
 
 
b- right click on script file and change properties to allow executing file as a program.
 
 
 
c- Place the soas .iso you want to use to write the USB on your Desktop.
 
 
 
d- enter command "mount" in terminal. look for /dev/sd(x) with description of your USB. Use this
 
in the script.
 
 
 
Hints:
 
 
 
1-) Use text editor to write script and be sure it is correct. Then copy-paste into the terminal.(safer)
 
 
 
(--overlay-size-mb 800 sets size of persistence file.)
 
 
*delete this command if you want a non-persistent USB
 
 
 
2-) use "--overlay-size-mb 300" for 2GB USB
 
 
 
 
 
$ su -c "livecd-iso-to-disk  --format --reset-mbr --overlay-size-mb 800 /home/xxx/Desktop/soas-i386-20100208.16.iso /dev/sdb"
 
Password:
 
Verifying image...
 
/home/xxx/Desktop/soas-i386-20100208.16.iso:  44687aba6b97248baf4416851a433e75
 
Fragment sums: dfd2916ccb45fa174cf96685e7fdee526f45ce58ad199d63a57ae8fd6b45
 
Fragment count: 20
 
Checking: 100.0%
 
The media check is complete, the result is: PASS.
 
It is OK to use this media.
 
WARNING: THIS WILL DESTROY ANY DATA ON /dev/sdb!!!
 
Press Enter to continue or ctrl-c to abort
 
Warning: The kernel was unable to re-read the partition table on /dev/sdb (Device or resource busy).
 
This means Linux won't know anything about the modifications you made until  you reboot.  You should reboot your computer before doing anything with /dev/sdb.
 
Waiting for devices to settle...
 
mkdosfs 3.0.1 (23 Nov 2008)
 
Copying live image to USB stick
 
Updating boot config file
 
Installing boot loader
 
USB stick set up as live image!
 
$
 
 
 
====Make a Soas-v2-Blueberry Installer USB (with liveusb-creator installed)====
 
 
 
*boot from Blueberry CD[http://download.sugarlabs.org/soas/releases/soas-2-blueberry.iso]
 
*insert 4GB USB Target formatted fat16 or [ext2,3]
 
*in sugar terminal: '''zyx-liveinstaller'''
 
 
Note 1: the rest of this procedure will not work for a script created live USB [http://wiki.sugarlabs.org/go/Category:Live_USB#use_livecd-iso-to-disk_script_to_write_a_live_USB] as CD and USB's do not show up on sugar frame.
 
 
 
Note 2: from terminal in sugar: '''yum install gvfs''' this fixes problem in mounting of CD and USB's in some soas versions. (from tomeu)
 
 
 
IF - USB and CD devices are not mounted in the bottom of the sugar frame when inserted;
 
zyx-liveinstaller must be used
 
>NOTE: zyx-liveinstaller is NO LONGER AVAILABLE in F13 Mirabelle (v2.5?)<
 
 
 
*launch partitioner
 
/boot  ext4  200
 
/      ext  balance
 
make changes
 
*exit partitioner  (hit X in right top corner of window)
 
select root (/)How to Create
 
select boot (/boot)
 
No swap hit next
 
install
 
wait until finished
 
*exit
 
*in sugar terminal:
 
su -
 
yum install liveusb-creator
 
22 files will download and install
 
22MB
 
wait until finished
 
*exit sugar (f3) shutdown
 
---------------------
 
*boot new USB
 
*insert second 2 GB USB Target formatted fat16 or [ext2,3]
 
*Insert CD with desired soas.iso into PC
 
* in sugar terminal: '''liveusb-creator --reset-mbr'''
 
*graphical Fedora Live USB Creator starts:
 
Note: Do not use <Download Fedora> as you will fill up your USB Stick and ruin it
 
<Use existing Live CD> <Browse>
 
 
 
(select from CD the .iso file)
 
 
 
Target Device
 
/dev/sd(x)1  note: be sure it is correct for your USB
 
 
 
Set Persistent storage
 
 
 
(Move slider Bar)
 
note: Max is 800 MB for 2GB USB
 
 
 
Press:<Create Live USB>
 
Verfying ISO MD5 checksum (CD will spin up)
 
Passed
 
Extracting Live Image to USB Device
 
Creating 809 MB persistent overlay
 
Installing bootloader
 
Complete (0.03.38)
 
----------------
 
 
 
wait until finished
 
*exit
 
*exit sugar (f3)/ shutdown
 
 
 
----------------
 
*remove 4GB Installer USB
 
*remove CD from CD Drive
 
*boot new USB
 
 
 
Note: you can insert another USB, select it and Create another USB. '''This process can be repeated for multiple "virgin" copies.'''
 
 
 
I have tested this with soas-2-blueberry.iso, soas-testing-day-13-02-10.iso, and soas-i386-20100216.21.iso files
 
 
 
====How to sugarize liveusb-creator to run it from your Soas USB====
 
http://wiki.sugarlabs.org/go/Category_talk:Live_USB
 
 
 
====Alternate ex3 File Structured, non-live, blueberry USB====
 
 
 
'''A very stable alternate 4GB blueberry stick'''
 
 
 
use dd command in terminal to write to 4GB USB
 
'''Download'''[http://people.sugarlabs.org/Tgillard/soas-2-blueberry-direct-cleared-3GB.img.xz]'''Details and How-To:[http://people.sugarlabs.org/Tgillard/soas-2-blueberry-direct-cleared-3GB.txt]
 
 
 
Note1: you may get a "not enough room on device" message when you dd this .img to a 4GB USB but but the .img is really only 3GB is size and should work.
 
 
 
Note2: liveusb-creator will NOT work in this USB as this in not a live system.
 
 
 
Note3: This is  modified version of bernie's '''soas-2-blueberry-direct-2GB.img''' [http://people.sugarlabs.org/bernie/soas-2-blueberry-direct-2GB.img.xz]
 
 
 
 
 
====Strawberry USB with "Sugarized liveusb-creator"====
 
Link:[http://wiki.sugarlabs.org/go/Category_talk:Live_USB#Strawberry_USB_with_.22Sugarized_liveusb-creator.22]
 
 
 
====Fedora Notes on How to Create a Live USB from a LiveCD====
 
 
 
http://fedoraproject.org/wiki/FedoraLiveCD/USBHowTo
 
 
 
http://fedoraproject.org/wiki/How_to_create_and_use_a_Live_CD
 
 
 
===Other distributions Live USB's===
 
** openSUSE-Sugar-Live [http://download.opensuse.org/repositories/Education/images/iso/] (dd to USB/SD)+(2nd partition for persistence)[http://en.opensuse.org/Live_USB_stick] [http://lizards.opensuse.org/2009/08/13/cliced-hybrids/], works well (11/04/2009)
 
** openSUSE-Edu-live-Li-f-e (Server) [http://en.opensuse.org/Education/Live] with Sugar (dd to 8GB USB/SD)+(2nd partition for persistence)Script to automatically make 2nd partition:[http://en.opensuse.org/Live_USB_stick][http://lizards.opensuse.org/2009/08/13/cliced-hybrids/]
 
** F11-Live-Edu F12:[http://torrent.fedoraproject.org/spins/Fedora-12-i686-Live-Edu.torrent] F11:[http://spins.fedoraproject.org/torrents//Fedora-11-i686-Live-Edu.torrent] (dd to USB/SD [no persistence] or liveinst from root terminal [persistent]) Live USB of Gnome and Sugar Desktops
 
** Trisquel-Edu [http://trisquel.info/download] (Live USB) [http://trisquel.info/en/wiki/how-create-liveusb] Trisquel 2.2
 
** [[Trisquel On A Sugar Toast]], Trisquel-Sugar [http://trisquel.info/en/trisquel-sugar] Download: [http://devel.trisquel.info/] script for USB with persistence: [http://devel.trisquel.info/live-usb.sh] Trisequel 3.0, see notes.
 
** Unetbootin [http://unetbootin.sourceforge.net/] windows and linux live usb creator[https://fedorahosted.org/liveusb-creator/]
 
** Ubuntu-Sugar-Remix [https://wiki.ubuntu.com/UbuntuSugarRemix].iso burned to CD can be installed to USB or imported into Virtualbox with ovf file and then transfer vdi HD to a stick.Downloads:[http://people.sugarlabs.org/dfarning/]
 
 
 
===Notes===
 
 
 
# F12 and opensuse-edu now distribute a dual mode live.iso of Sugar-Desktop which boots into sugar as a CD or can be used to dd write to a USB/SD "stick". (Persistence is a work in progress on these.) [[Sugar on a Stick/Linux/openSUSE]],  [http://lizards.opensuse.org/2009/04/28/whats-behind-lzma-compressed-livecds/], [http://git.berlios.de/cgi-bin/gitweb.cgi?p=kiwi;a=blob;f=modules/KIWILinuxRC.sh;h=6591ab5125df730800bf3dc3dde9ce875183568c;hb=HEAD], [http://alt.fedoraproject.org/pub/alt/nightly-composes/education/]
 
# Sugar from multiple distros is available [http://people.sugarlabs.org/Tgillard/] as a VMware Player or Virtualbox "Appliance", which can be stored on a USB/SD "Stick", and thus is transportable with (persistence) from PC to PC.
 
# There are "full installs" (non-compressed file structure) of Sugar, Sugar+Gnome, and Sugar+KDE on larger (4-GB+) USB Sticks, which are available for download [http://people.sugarlabs.org/Tgillard/] in compressed form, which can be expanded and written to a bootable USB/SD device with a dd command in several minutes.
 
# most liveo F12 distros can be installed as a "full install" to USB/SD. This requires a 4GB USB/SD for soas04 or 8GB USB/SD for Gnome-sugar [http://spins.fedoraproject.org/edu/] Use command "livinst" in root terminal. These are a normal install with Persistence.
 
 
===Trisquel notes===
 
===Trisquel notes===
: from Rubén Rodríguez Pérez on SoaS list:
+
* This section needs updating --[[User:Satellit|Satellit]] 06:35, 21 December 2011 (EST)
 +
: from Rubén Rodríguez Pérez on [http://www.mail-archive.com/soas@lists.sugarlabs.org/msg00025.html SoaS list]:
  
 
:* Trisquel-Edu (Live USB)
 
:* Trisquel-Edu (Live USB)
:* Trisquel-Sugar 3.0 RC (has usb-creator available as command in terminal for persistent USB)
+
:* Trisquel-Sugar 3.0 RC (has usb-creator available as command in terminal for persistent USB device storage)
  
 
: I will further explain the differences:
 
: I will further explain the differences:
 
:# We are including the Sugar packages in both our 2.2 LTS version (where you can find the Trisquel Edu edition), and in our new 3.0 STS version. All our live Sugar images will be based on the STS one, as it will provide better hardware support.
 
:# We are including the Sugar packages in both our 2.2 LTS version (where you can find the Trisquel Edu edition), and in our new 3.0 STS version. All our live Sugar images will be based on the STS one, as it will provide better hardware support.
 
:# Trisquel Edu, which is a GNOME based educational system, can run Sugar as an alternate environment, or serve it via LTSP. The Edu edition (like the Pro one) is only available in the 2.2 LTS version of the distro. It will be the recommended version for large Sugar-on-Trisquel deployments.
 
:# Trisquel Edu, which is a GNOME based educational system, can run Sugar as an alternate environment, or serve it via LTSP. The Edu edition (like the Pro one) is only available in the 2.2 LTS version of the distro. It will be the recommended version for large Sugar-on-Trisquel deployments.
 +
 +
==Tools==
 +
* [[Sugar Creation Kit]]
 +
* [[Sugar on a Stick/Sugar Clone]]
 +
* [[Category_talk:Live_USB#Sugarize_an_application_for_use_in_a_SoaS_USB|Sugarize an application for use in a SoaS USB]]
 +
* Customization guide http://people.sugarlabs.org/sdz/customization-guide/
 +
* Sugar on a Stick creation kit http://people.sugarlabs.org/sdz/creation-kit/
 +
* [[Sugar on a Stick/Installation/Variations|Experimental installation variations]] (Fedora-based installs: '''Live USB / Liveinst''' (Anaconda) / '''Virtualizations''' (VirtualBox / VMware / QEMU)

Latest revision as of 20:01, 8 July 2012

Live USB distributions

  • openSUSE-Sugar-Live (only an older version of sugar available.)
  • Fedora 12 Education Spin Live USB of GNOME and Sugar Desktops
    No longer maintained. (Similar results can be obtained by building a live Fedora Remix.iso or a "custom" netinstall hard disk install with GNOME and Sugar-desktop selected.)

Graphical installers

Notes

  1. F12 and opensuse-edu now distribute a dual mode live.iso of Sugar-Desktop which boots into sugar as a CD or can be used to dd write to a USB/SD stick. (Persistence is a work in progress on these.) Sugar on a Stick/Linux/openSUSE, [1], [2], [3]
  2. Sugar from multiple distros is available VitualBox Appliances as a VMware Player or VirtualBox "Appliance", which can be stored on a USB/SD stick, and thus is transportable with (persistence) from PC to PC.
  3. There are "full installs" (non-compressed file structure) of Sugar, Sugar+GNOME, and on larger (4 GB+) USB sticks, which are available for download in compressed form, which can be written to a bootable USB/SD device with a dd command in several minutes.
  4. Most live F12-F13 distros can be installed as a full install to disk. This requires a 4 GB USB/SD disk for Blueberry, Mirabelle, and an 8 GB USB/SD disk for Sugar+GNOME. Use command "liveinst" in a root terminal. These produce a normal install with persistent storage.

Trisquel notes

  • This section needs updating --Satellit 06:35, 21 December 2011 (EST)
from Rubén Rodríguez Pérez on SoaS list:
  • Trisquel-Edu (Live USB)
  • Trisquel-Sugar 3.0 RC (has usb-creator available as command in terminal for persistent USB device storage)
I will further explain the differences:
  1. We are including the Sugar packages in both our 2.2 LTS version (where you can find the Trisquel Edu edition), and in our new 3.0 STS version. All our live Sugar images will be based on the STS one, as it will provide better hardware support.
  2. Trisquel Edu, which is a GNOME based educational system, can run Sugar as an alternate environment, or serve it via LTSP. The Edu edition (like the Pro one) is only available in the 2.2 LTS version of the distro. It will be the recommended version for large Sugar-on-Trisquel deployments.

Tools