Difference between revisions of "Category:Live USB"
m (→FEDORA based Live USB's: add link) |
|||
Line 14: | Line 14: | ||
http://people.sugarlabs.org/sdz/customization-guide/ | http://people.sugarlabs.org/sdz/customization-guide/ | ||
− | ===FEDORA based Live USB | + | ===FEDORA based Live USB devices=== |
− | ====Cautions with using Live USB | + | ====Cautions with using Live USB devices==== |
− | *Wait for delayed writes to the USB to finish (up to 15 | + | * Wait for delayed writes to the USB device to finish (up to 15 secondds) before pulling it out of the system. If writes do not complete, you will corrupt the USB device file system and it will not boot. |
− | *If you do a yum update on a small USB you can overload the | + | *If you do a yum update on a small USB device, you can overload the persistent overlay. [http://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." See [[Category_talk:Live_USB]], [[LiveOS image]], & [[Talk:Downloads]] for more discussion of storage economics. |
− | * Use a larger | + | * Use a larger device (4 GB or even 8 GB), if you plan to do updates or install new programs. |
− | * If you use a | + | * If you use a 1-GB device, do not (i) install large updates or activities or (ii) download large files. The 300-MB overlay will quickly fill up (e.g., within an hour), and your device will become corrupted (i.e., unbootable) without any warning. You may use the [[Sugar on a Stick/Sugar Clone|Sugar Cellar]] utility to monitor the usage of the persistent overlay. 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 | + | *Use zyx-liveinstaller [http://wiki.sugalabs.org/go/Sugar_on_a_Stick/ZyX-LiveInstaller ] for soas-v2-Blueberry or '''liveinst''' command for Fedora based installs in a terminal to make a non-live installation. It will require about 2x as large device as the file structure will not be compressed. These non-live installs are more robust in use but may have a shorter service lifetime (See [[olpc:How to Damage a FLASH Storage Device]].) |
− | * | + | * Fedora 13-based SoaS-Mirabelle 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 the device. |
− | * notes on ext3 / ext4 file systems:[http://lwn.net/Articles/322823/] (It looks like ext3 formatting may be more robust | + | * notes on ext3 / ext4 file systems:[http://lwn.net/Articles/322823/] (It looks like ext3 formatting may be more robust.) |
− | *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] | + | * 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] |
==== dd command from terminal ('''non-persistent''')==== | ==== dd command from terminal ('''non-persistent''')==== |
Revision as of 15:54, 8 May 2010
This is a directory of Live USB Sugar distribution efforts
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! See Project Principles and Sugar on a Stick/Resources for a description of the technical and educational goals of the project.
- Sebastian Dziallas calls the current iteration of Sugar on a Stick, Blueberry [1][2]; the name of the overall project is Sugar on a Stick.
Sugar on a Stick creation kit
http://people.sugarlabs.org/sdz/creation-kit/
Customization-guide
http://people.sugarlabs.org/sdz/customization-guide/
FEDORA based Live USB devices
Cautions with using Live USB devices
- Wait for delayed writes to the USB device to finish (up to 15 secondds) before pulling it out of the system. If writes do not complete, you will corrupt the USB device file system and it will not boot.
- If you do a yum update on a small USB device, you can overload the persistent overlay. [3]"Fedora 10 adds the 'reset_overlay' option that you can pass on the kernel command line which helps to recover." See Category_talk:Live_USB, LiveOS image, & Talk:Downloads for more discussion of storage economics.
- Use a larger device (4 GB or even 8 GB), if you plan to do updates or install new programs.
- If you use a 1-GB device, do not (i) install large updates or activities or (ii) download large files. The 300-MB overlay will quickly fill up (e.g., within an hour), and your device will become corrupted (i.e., unbootable) without any warning. You may use the Sugar Cellar utility to monitor the usage of the persistent overlay. Also, check your Journal free space frequently.
- Use zyx-liveinstaller [4] for soas-v2-Blueberry or liveinst command for Fedora based installs in a terminal to make a non-live installation. It will require about 2x as large device as the file structure will not be compressed. These non-live installs are more robust in use but may have a shorter service lifetime (See olpc:How to Damage a FLASH Storage Device.)
- Fedora 13-based SoaS-Mirabelle 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 the device.
- notes on ext3 / ext4 file systems:[5] (It looks like ext3 formatting may be more robust.)
- Discussion on causes of failure [6] delayed writes [7]
dd command from terminal (non-persistent)
You will not be able to store anything on this USB. (It will be new each time you start it.)
[root@localhost Desktop]# dd if=soas-i386-20100329.19.iso of=/dev/sd(*) 954368+0 records in 954368+0 records out 488636416 bytes (489 MB) copied, 128.247 s, 3.8 MB/s [root@localhost Desktop]#
- NOTE Important to get name of USB device correct VERY DANGEROUS IF WRONG
- type "mount" in terminal and look for /dev/sd(*) ie: sda,sdb,sdc.....
- It will disappear the next time you remove the target USB and enter the command again.
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: [8]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[9]
- 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 [10] 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
Download a non-live, ex3 File Structured, blueberry USB
A very stable alternate 4GB blueberry stick
use dd command in terminal to write to 4GB USB Download[11]Details and How-To:[12]
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 [13]
How to Build a f13 Soas stick that writes live USB's
Link:[14]
Duplicating SoaS with customization
http://lists.sugarlabs.org/archive/soas/2010-April/000998.html
http://wiki.sugarlabs.org/go/Sugar_on_a_Stick/Sugar_Clone
Notes:(revised 4/29/2010) after SugarClone Script revision
Adding Script to USB http://people.sugarlabs.org/fgrose/SugarClone
1-) BOOTED live soas USB:
- in sugar root terminal:
su cd /mnt/live/ wget http://people.sugarlabs.org/fgrose/SugarClone.
OR
2-) Live soas USB inserted and opened on another PC
- download http://people.sugarlabs.org/fgrose/SugarClone to PC
- Right click on Properties/Permission and check allow executing as a Program
- Copy and Paste into opened USB on Desktop. (This is the /mnt/live/ directory on the USB when it is booted and running)
Make Clone Custom USB
- Insert Target USB
- In the Terminal Activity of that running SoaS image, enter the command:
/mnt/live/SugarClone
Script will show you what USB's are present and proceed to write to the one you select.
- SugarClone script will be present on all sticks that are created by the first custom stick with all of the customizations you have done to the master.
- Target USB will prompt for Name and Color on first startup as this information is not preserved.
great way to make a customized spin for special uses
Use liveinst command to write a ext4 "Real File Sytem" to a HD/USB
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 [16] (dd to USB/SD)+(2nd partition for persistence)[17] [18], works well (11/04/2009)
- openSUSE-Edu-live-Li-f-e (Server) [19] with Sugar (dd to 8GB USB/SD)+(2nd partition for persistence)Script to automatically make 2nd partition:[20][21]
- F11-Live-Edu F12:[22] F11:[23] (dd to USB/SD [no persistence] or liveinst from root terminal [persistent]) Live USB of Gnome and Sugar Desktops
- Trisquel-Edu [24] (Live USB) [25] Trisquel 2.2
- Trisquel On A Sugar Toast, Trisquel-Sugar [26] Download: [27] script for USB with persistence: [28] Trisequel 3.0, see notes.
- Unetbootin [29] windows and linux live usb creator[30]
- Ubuntu-Sugar-Remix [31].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:[32]
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, [33], [34], [35]
- Sugar from multiple distros is available [36] 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 [37] 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 [38] Use command "livinst" in root terminal. These are a normal install with Persistence.
Trisquel notes
- 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)
- 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.
- 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.
Pages in category "Live USB"
The following 22 pages are in this category, out of 22 total.
S
- Sugar Creation Kit/sandbox
- Sugar Creation Kit/sck/SCK-2
- Sugar on a Stick
- Sugar on a Stick Ubuntu
- Sugar on a Stick/10
- Sugar on a Stick/Avocado
- Sugar on a Stick/Beta
- Sugar on a Stick/Blueberry
- Sugar on a Stick/Coconut
- Sugar on a Stick/Mango Lassi
- Sugar on a Stick/Mirabelle
- Sugar on a Stick/Pineapple
- Sugar on a Stick/Quandong
- Sugar on a Stick/Strawberry
- Sugar on a Stick/Sugar Clone
- Sugar on a Stick/Sugar Clone/lang-es
- Sugar on a Stick/ʻŌhelo ʻai