Line 1: |
Line 1: |
| + | {{TOCright}} |
| + | |
| ===Other neat uses for the modified_livecd-iso-to-disk script=== | | ===Other neat uses for the modified_livecd-iso-to-disk script=== |
− | | + | : submitted by [[User:Satellit]] on 14 April 2010 |
− | ===='''non-live USB/SD'''==== | + | ===='''Case 1-non-live USB/SD'''==== |
| | | |
| * Make second live USB from iso downloaded with wget to root of your USB/SD | | * Make second live USB from iso downloaded with wget to root of your USB/SD |
| | | |
− | (I used Bernie's Blueberry-Direct ext3 non-live real file system, expanded with gparted to fit a 8GB SD) | + | (I used Bernie's Blueberry-Direct ext3 non-live real file system, expanded with gparted to fit a 8-GB SD card) |
| http://people.sugarlabs.org/bernie/soas-2-blueberry-direct-2GB.img.xz | | http://people.sugarlabs.org/bernie/soas-2-blueberry-direct-2GB.img.xz |
| http://people.sugarlabs.org/Tgillard/soas-2-blueberry-direct-cleared-3GB.img.xz (modified and expanded version) | | http://people.sugarlabs.org/Tgillard/soas-2-blueberry-direct-cleared-3GB.img.xz (modified and expanded version) |
Line 12: |
Line 14: |
| | | |
| wget http://alt.fedoraproject.org/pub/alt/nightly-composes/soas/soas-i386-20100411.16.iso (latest) | | wget http://alt.fedoraproject.org/pub/alt/nightly-composes/soas/soas-i386-20100411.16.iso (latest) |
− | [root@localhost ~]# ./modified_livecd-iso-to-disk soas-i386-20100411.16.iso /dev/sdd1 | + | [root@localhost ~]# ./modified_livecd-iso-to-disk soas-i386-20100411.16.iso /dev/sd(*)1 *(see note below) |
| Verifying image... | | Verifying image... |
| /root/soas-i386-20100411.16.iso: ca444a0f44d7b49204cec4f3022c3c97 | | /root/soas-i386-20100411.16.iso: ca444a0f44d7b49204cec4f3022c3c97 |
Line 27: |
Line 29: |
| USB stick set up as live image! | | USB stick set up as live image! |
| | | |
| + | ===='''Case 2-Copy files to your Live USB'''==== |
| | | |
− | ====''Copy files to your Live USB'''====
| + | * Copy-paste/drag-drop soas-i386-20100405.17.iso (or any soas .iso) to an opened 2-GB live USB while it is mounted in a PC (as a USB storage device, not booted). |
| + | *: (This is the same location seen when the USB is booted and one is looking at the /mnt/live/ directory in the Sugar Terminal activity.) |
| + | * Copy-paste modified_livecd-iso-to-disk to the same location. |
| | | |
− | * Copy-paste soas-i386-20100405.17.iso (or any soas .iso) to a 2GB live USB while it is mounted in a PC
| + | =====Reboot from USB===== |
− | * copy-paste modified_livecd-iso-to-disk to same location from PC
| + | * reboot a computer from this USB device and proceed to write it to another 2-GB USB device: |
− | =====reboot with USB===== | + | *: Here is an alternate method to obtain the script file:<br> |
− | * reboot with this USB and proceed to write it to another 2GB USB: | + | *: In the Terminal Activity, change the working directory: |
− | * alternately do this: | |
− | In the Terminal Activity, change the working directory: | |
| cd /mnt/live | | cd /mnt/live |
| wget http://people.sugarlabs.org/fgrose/modified_livecd-iso-to-disk | | wget http://people.sugarlabs.org/fgrose/modified_livecd-iso-to-disk |
| chmod +x modified_livecd-iso-to-disk | | chmod +x modified_livecd-iso-to-disk |
| + | |
| =====Make new USB===== | | =====Make new USB===== |
| cd /mnt/live/ | | cd /mnt/live/ |
| ./modified_livecd-iso-to-disk soas-i386-20100405.17.iso /dev/sd(*)1 | | ./modified_livecd-iso-to-disk soas-i386-20100405.17.iso /dev/sd(*)1 |
− | /dev/sd(*)1 (the 1 is important) | + | |
| + | '''NOTE: /dev/sd(*)1 (the 1 is important)''' |
| | | |
| type mount to find your USB device name | | type mount to find your USB device name |