Line 1: |
Line 1: |
| <noinclude>{{TOCright}} | | <noinclude>{{TOCright}} |
− | [[Category:Live USB]]
| |
| </noinclude> | | </noinclude> |
| | | |
| This page discusses the experimentation with various installation tools and parameters with the aim of finding more robust methods. | | This page discusses the experimentation with various installation tools and parameters with the aim of finding more robust methods. |
− |
| + | |
| + | References on How to Create a Live USB from a Live CD |
| + | |
| + | * [[fedora:How to create and use a Live CD]] |
| + | |
| + | ==Sugar Creation Kit DVD== |
| + | |
| + | '''Sugar Creation Kit DVD''' |
| + | |
| + | Download: [http://download.sugarlabs.org/images/SugarCreationKit-123.iso] '''Caution 4.2 GB''' |
| + | |
| + | *'''Complete DVD containing all the resources required to create all 3 versions of Sugar-on-a-Stick without requiring Internet access''' |
| + | |
| + | *'''List of Contents:''' [http://download.sugarlabs.org/images/SugarCreationKit1.2.3-Contents.txt] |
| + | |
| + | *'''ALSO SEE:http://wiki.sugarlabs.org/go/Sugar_Creation_Kit''' |
| + | |
| + | Uses: |
| + | *"sneakernet" or behind firewall at school. |
| + | * should save bandwidth on servers. |
| + | *'''Download 1 time and distribute copies Locally''' |
| + | |
| ==FEDORA based Live USB devices== | | ==FEDORA based Live USB devices== |
| | | |
Line 12: |
Line 32: |
| * Use a larger device (4 GB or even 8 GB), if you plan to do updates or install new programs. | | * 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 on a Stick/Sugar Clone|Sugar Cellar]] utility to monitor the usage of the persistent overlay. Also, check your Journal free space frequently. | | * 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 [[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]].) | + | * Use zyx-liveinstaller [[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 install with either '''liveinst''' (Anaconda) or '''zyx-liveinstaller ''' '''Download Instructions'''[http://wiki.sugarlabs.org/go/Talk:Sugar_on_a_Stick/Blueberry#zyx-liveinstaller_Instructions_for_Mirabelle_f13] Hint:you can also use: livecd-iso-to-disk or liveusb-creator to create the device. | + | * Fedora 13-based SoaS-'''Mirabelle''' will install with either '''liveinst''' (Anaconda) or '''zyx-liveinstaller ''' Download Instructions: [http://wiki.sugarlabs.org/go/Talk:Sugar_on_a_Stick/Blueberry#zyx-liveinstaller_Instructions_for_Mirabelle_f13] Hint:you can also use: '''livecd-iso-to-disk''' [http://download.sugarlabs.org/soas/releases/livecd-iso-to-disk.sh] or '''liveusb-creator''' [http://en.wikipedia.org/wiki/Fedora_Live_USB_creator] [https://fedorahosted.org/liveusb-creator/#Download] to create the device. '''NOTE:USB used with liveusb-creator needs to be labeled "FEDORA" for liveusb-creator to make a bootable USB''' |
| * 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] |
| + | *Types of SD Cards: SD, SDHC, SDXC [http://www.sdcard.org/consumers/using_sdxc/] |
| | | |
| === dd command from terminal ('''non-persistent''')=== | | === dd command from terminal ('''non-persistent''')=== |
Line 50: |
Line 71: |
| '''takes a downloaded soas.iso file and writes it directly to a USB stick''' | | '''takes a downloaded soas.iso file and writes it directly to a USB stick''' |
| | | |
− | # Download script: http://download.sugarlabs.org/soas/releases/livecd-iso-to-disk.sh to your Desktop | + | # Download script:[http://download.sugarlabs.org/soas/releases/livecd-iso-to-disk.sh] to your Desktop |
| # Right click on the script file in your file manager, and change the file properties to allow executing the file as a program. | | # Right click on the script file in your file manager, and change the file properties to allow executing the file as a program. |
| # Place the source.iso file on your Desktop. | | # Place the source.iso file on your Desktop. |
Line 86: |
Line 107: |
| USB stick set up as live image! | | USB stick set up as live image! |
| $ | | $ |
| + | ==='''8 GB USB with 2.4 GB 2nd partition*:fat16 MyFiles with Mirabell-remix CD'''=== |
| + | |
| + | * Used to transfer files to and from the journal and PC Desktop |
| + | |
| + | : This creates a 8 GB USB which becomes an '''INSTALLER USB''' |
| + | :: '''stable ext4 Non-live File structure''' |
| + | :: It will use either liveusb-creator from the command line to make non-persistent USB's or script to create persistent ones. |
| + | :: A ONE Stick Installer that contains room for up to to 3 Soas.iso files on its Visible fat16 2.4 GB 2nd Partition |
| + | |
| + | updated 06/18/2010 tg |
| + | |
| + | *'''Using Mirabelle Remix-pl.iso''' |
| + | |
| + | http://people.sugarlabs.org/Tgillard/Mirabelle-Remix-pl--LiveCD-README.txt |
| + | |
| + | http://people.sugarlabs.org/Tgillard/Mirabelle-Remix-pl--LiveCD.iso |
| + | |
| + | ====Make installer USB from running CD==== |
| + | |
| + | :zyx-liveinstaller must be upgraded to work. (bug) |
| + | |
| + | :Burn CD from .iso |
| + | :Boot from CD |
| + | :Update to 0.88.1 and zyx-liveinstaller to 0.2.4-1.fc13 |
| + | sugar-terminal |
| + | su |
| + | yum update sugar* |
| + | yum install zyx-liveinstaller |
| + | |
| + | =====Alternate===== |
| + | *If using the SugarCreationKit DVD |
| + | : rpm of zyx-liveinstaller is on DVD |
| + | rpm -Uvh zyx-liveinstaller0.2.4.1.noarch.rpm |
| + | : Download directly |
| + | * http://people.sugarlabs.org/Tgillard/zyx-liveinstaller-0.2.4-1.noarch.rpm |
| + | |
| + | =====Use zyx-liveinstaller to make USB===== |
| + | |
| + | :Partitioner 8GB USB (TOSHIBA_TransMemory) |
| + | /dev/sdb1/boot ext4 200 |
| + | /dex/sdb3/ ext4 5000 |
| + | /dev/sdb2 fat 16 MyFiles 2.41 |
| + | no swap |
| + | |
| + | :exit partitioner (hit X on top right corner) |
| + | :right arrow in bottom right of zyx |
| + | ::root choose /dev/sdb2 |
| + | ::boot choose /dev/sdb1 |
| + | :: no swap |
| + | :Right arrow |
| + | ::Installation in progress |
| + | ::Installation complete..... |
| + | :Shut down Booted Soas (CD) |
| + | *'''wait for delayed writes to USB target (2 min)''' |
| + | |
| + | *Place into PC usb slot |
| + | *Drag drop xxx.iso to MyFiles on Desktop |
| + | *Drag livecd-iso-to disk script to MyFiles |
| + | *remove USB |
| + | |
| + | *OR |
| + | wget http://download.sugarlabs.org/soas/releases/livecd-iso-to-disk.sh |
| + | |
| | | |
− | ====Make a Soas-v2-Blueberry Installer USB (with liveusb-creator installed)==== | + | |
| + | =====USING 8 GB Installer USB===== |
| + | |
| + | ======1-) liveusb-creator====== |
| + | *Boot from new USB |
| + | Terminal |
| + | liveusb-creator |
| + | select MyFiles and xxx.iso |
| + | insert target USB |
| + | set persistence ( slider will not move?) |
| + | Create Live USB |
| + | * shut down installer USB |
| + | *'''wait for delayed writes to USB target (2 min)''' |
| + | *Boot from new USB |
| + | :NO Persistence why? |
| + | |
| + | ======2-) Use livecd-iso-to-disk to write 2 GB USB======= |
| + | |
| + | cd /media/Myfiles |
| + | cp livecd-iso-to-disk / |
| + | |
| + | '''[root@localhost /]# ./livecd-iso-to-disk --format --reset-mbr --overlay-size-mb 600 /media/Myfiles/Soas-v3-Mirabelle.iso /dev/sdc1''' |
| + | Verifying image... |
| + | /media/Myfiles/Soas-v3-Mirabelle.iso: 0ce28e3947106fd37bab9317abf09938 |
| + | Fragment sums: a3c6e5fd5fba11d2b4da71771e8732b63bcb62b841971f7f39ab5c187f64 |
| + | 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/sdc!!! |
| + | Press Enter to continue or ctrl-c to abort |
| + | Warning: The resulting partition is not properly aligned for best performance. |
| + | Waiting for devices to settle... |
| + | mkdosfs 3.0.9 (31 Jan 2010) |
| + | Copying live image to USB stick |
| + | Updating boot config file |
| + | Initializing persistent overlay file |
| + | 600+0 records in |
| + | 600+0 records out |
| + | 629145600 bytes (629 MB) copied, 102.38 s, 6.1 MB/s |
| + | Installing boot loader |
| + | USB stick set up as live image! |
| + | [root@localhost /]# |
| + | |
| + | ====== Make backup .img file====== |
| + | *insert USB and mount to Desktop |
| + | *terminal: |
| + | sudo su |
| + | cd Desktop |
| + | dd if=/dev/sdb* of=xxxxx.img |
| + | |
| + | ======Restore to new 8 GB USB====== |
| + | *insert USB and mount to Desktop |
| + | *terminal: |
| + | sudo su |
| + | cd Desktop |
| + | dd if=xxxxx.img of=/dev/sdb* |
| + | |
| + | ===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] | | *boot from Blueberry CD[http://download.sugarlabs.org/soas/releases/soas-2-blueberry.iso] |
| *insert 4GB USB Target formatted fat16 or [ext2,3] | | *insert 4GB USB Target formatted fat16 or [ext2,3] |
| + | |
| + | '''NOTE: zyx-liveinstaller must be installed in f13''' |
| + | *(this step not required for Blueberry) |
| + | * In sugar-terminal: |
| + | su |
| + | yum install zyx-liveinstaller |
| + | THEN: |
| *in sugar terminal: '''zyx-liveinstaller''' | | *in sugar terminal: '''zyx-liveinstaller''' |
| | | |
Line 99: |
Line 248: |
| IF - USB and CD devices are not mounted in the bottom of the sugar frame when inserted; | | IF - USB and CD devices are not mounted in the bottom of the sugar frame when inserted; |
| zyx-liveinstaller must be used | | zyx-liveinstaller must be used |
− |
| |
− | '''NOTE: zyx-liveinstaller is NO LONGER AVAILABLE in F13 Mirabelle (v2.5?)'''
| |
| | | |
| *launch partitioner | | *launch partitioner |
Line 161: |
Line 308: |
| I have tested this with soas-2-blueberry.iso, soas-testing-day-13-02-10.iso, and soas-i386-20100216.21.iso files | | 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====
| + | ===How to sugarize liveusb-creator to run it from your Soas USB=== |
− | http://wiki.sugarlabs.org/go/Category_talk:Live_USB
| + | See [[Talk:{{PAGENAME}}|this discussion page]]. |
| | | |
− | ====Download a non-live, ex3 File Structured, blueberry USB====
| + | ===Download a non-live, ext3 File Structured, blueberry USB=== |
| | | |
| '''A very stable alternate 4GB blueberry stick''' | | '''A very stable alternate 4GB blueberry stick''' |
Line 175: |
Line 322: |
| Note2: liveusb-creator will NOT work in this USB as this in not a live system. | | 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] | + | Note3: This is modified version of bernie's '''soas-2-blueberry-direct-2GB.img''' -- Announcement and description: [http://people.sugarlabs.org/Tgillard/Direct_Soas.txt] |
| + | ::'''Original file is no longer available'''11/09/2011 satellit_ |
| | | |
− | ====How to Build a f13 Soas stick that writes live USB's====
| + | ===How to Build a F13 Soas stick that writes live USB's=== |
| Link:[http://wiki.sugarlabs.org/go/Category_talk:Live_USB#Soas_stick_that_writes_live_USB.27s] | | Link:[http://wiki.sugarlabs.org/go/Category_talk:Live_USB#Soas_stick_that_writes_live_USB.27s] |
| | | |
| | | |
− | ====Duplicating SoaS with customization====
| + | ===Duplicating SoaS with customization=== |
| http://lists.sugarlabs.org/archive/soas/2010-April/000998.html | | http://lists.sugarlabs.org/archive/soas/2010-April/000998.html |
| | | |
Line 218: |
Line 366: |
| '''great way to make a customized spin for special uses''' | | '''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 standard ext4 file system installation== |
− | [http://wiki.sugarlabs.org/go/Category_talk:Live_USB#How_to_install_to_a_4GB_USB_using_liveinst.28ANACONDA.29_from_SoaS] | + | '''Use liveinst command to write a ext4 "Real File Sytem" to a HD/USB'''== |
| + | Link: [http://wiki.sugarlabs.org/go/Talk:Sugar_on_a_Stick/Blueberry#liveinst_command_to_install_to_Hard-Disk.2FUSB_from_Soas_CD] |
| + | |
| + | See [[Talk:{{PAGENAME}}#How_to_install_to_a_4GB_USB_using_liveinst.28ANACONDA.29_from_SoaS]] |
| | | |
− | ====Fedora Notes on How to Create a Live USB from a LiveCD==== | + | == Virtualization== |
| + | http://wiki.sugarlabs.org/go/Supported_systems/Windows#Running_Sugar_in_an_emulator |
| | | |
− | http://fedoraproject.org/wiki/FedoraLiveCD/USBHowTo
| + | ===VMPlayer=== |
| + | http://wiki.sugarlabs.org/go/VMware |
| | | |
− | http://fedoraproject.org/wiki/How_to_create_and_use_a_Live_CD
| + | ===Virtualbox=== |
| + | http://wiki.sugarlabs.org/go/VirtualBox |
| + | ===QEMU=== |
| + | http://wiki.sugarlabs.org/go/QEMU |