Difference between revisions of "Talk:Sugar on a Stick/Sugar Clone"

From Sugar Labs
Jump to navigation Jump to search
(Other neat uses for the modified_livecd-iso-to-disk script)
 
(→‎Obsolete?: new section)
 
(10 intermediate revisions by 2 users not shown)
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-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.
 +
 +
=====Reboot from USB=====
 +
* reboot a computer from this USB device and proceed to write it to another 2-GB USB device:
 +
*: Here is an alternate method to obtain the script file:<br>
 +
*: In the Terminal Activity, change the working directory:
 +
cd /mnt/live
 +
wget http://people.sugarlabs.org/fgrose/modified_livecd-iso-to-disk
 +
chmod +x modified_livecd-iso-to-disk
  
====''Live USB'''====
+
=====Make new USB=====
 +
cd /mnt/live/
 +
./modified_livecd-iso-to-disk soas-i386-20100405.17.iso /dev/sd(*)1
  
* Copy-paste an .iso to a 2GB soas-i386-20100405.17 live usb while it was mounted in a PC
+
'''NOTE: /dev/sd(*)1 (the 1 is important)'''
  
* reboot with this USB and proceed to write it to another 2GB USB:
+
type mount to find your USB device name
  
Root terminal:
 
/mnt/live/
 
./modified_livecd-iso-to-disk soas-i386-20100405.17.iso /dev/sd(*)1
 
 
Works fine....
 
Works fine....
 
'''It should work with any live cd.iso'''
 
'''It should work with any live cd.iso'''
 +
 +
== Obsolete? ==
 +
 +
This page appears to be rather stale.... is any of it still current? :)

Latest revision as of 14:40, 25 May 2016

Other neat uses for the modified_livecd-iso-to-disk script

submitted by User:Satellit on 14 April 2010

Case 1-non-live 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 8-GB SD card)

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)

Downloaded to root:

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/sd(*)1    *(see note below)
Verifying image...
/root/soas-i386-20100411.16.iso:   ca444a0f44d7b49204cec4f3022c3c97
Fragment sums: 5fba13ea314eeb4376b2d3a6411a4ae5aa95d38aea691e12fb86adfe88df
Fragment count: 20
Checking: 100.0%
The media check is complete, the result is: PASS.
It is OK to use this media.
Already set up as live image.
Deleting old OS in fifteen seconds...
Copying live image to USB stick
Updating boot config file
Installing boot loader
USB stick set up as live image!

Case 2-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.
Reboot from USB
  • reboot a computer from this USB device and proceed to write it to another 2-GB USB device:
    Here is an alternate method to obtain the script file:
    In the Terminal Activity, change the working directory:
cd /mnt/live
wget http://people.sugarlabs.org/fgrose/modified_livecd-iso-to-disk
chmod +x modified_livecd-iso-to-disk
Make new USB
cd /mnt/live/
./modified_livecd-iso-to-disk soas-i386-20100405.17.iso /dev/sd(*)1

NOTE: /dev/sd(*)1 (the 1 is important)

type mount to find your USB device name

Works fine.... It should work with any live cd.iso

Obsolete?

This page appears to be rather stale.... is any of it still current? :)