[SoaS] Please consider including the script livecd-iso-to-disk in root of Soas-v4-Mango-lassi

Thomas C Gilliard satellit at bendbroadband.com
Fri Jun 18 13:59:05 EDT 2010


Sebastian;

Please consider including the script livecd-iso-to-disk in the root of 
Soas-v4-Mango-lassi

Background:

I have built an Installer USB:

http://wiki.sugarlabs.org/go/Sugar_on_a_Stick/Installation/Variations#8_GB_USB_with_2.4_GB_2nd_partition.2A:fat16_MyFiles_with_Mirabell-remix_CD

It is a 8 GB zyx-liveinstaller created USB formatted:

/dev/sdb1/boot ext4 200
/dex/sdb3/     ext4 5000
/dev/sdb2     fat 16 Myfiles 2.41
no swap

I drag-drop soasxxx.iso files and the script livecd-iso-to -disk into the 2nd Partition (visible on PC Desktop)
 then cp /media/Myfiles/livecd-iso-to-disk /
After it is Booted.

I can easily make live USB's of the Soas.iso with just 2 sticks:
1-) installer USB booted (2nd 2.4 GB partition, Myfiles, shows up as 3rd 
USB in sugars-frame)
2-) Target 2GB USB
with this script:

su

cd /

./livecd-iso-to-disk  --format --reset-mbr --overlay-size-mb 600 /media/Myfiles/soas-i386-20100613.iso /dev/sdc1


Sample terminal run:
> [root at localhost /]# ./livecd-iso-to-disk  --format --reset-mbr 
> --overlay-size-mb 600  /media/Myfiles/soas-i386-20100613.15.iso /dev/sdc1
> Verifying image...
> /media/Myfiles/soas-i386-20100613.15.iso:   
> 944a2dac81d8da3bbeb0f36bbc9f09ff
> Fragment sums: 
> 3a55ab7c5e5485f21df9f3ec61b87d771b62f8facd795731e81c79ad7f7a
> 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, 153.786 s, 4.1 MB/s
> Installing boot loader
> USB stick set up as live image!
> [root at localhost /]#  
I think that including the script in the root of the Mango-lassi-v4-soas 
fs will allow this to be done from a booted Soas CD And 2 USB's
-USB with soas.iso
-Target USB to write
 or
 -A  similar, but simpler, 2 partition USB and 1 USB target.

Cordially;

Tom Gilliard
satellit


Note:
liveusb-creator ( Installed on this Installer USB for testing) will not 
make a persistent overlay in this setup but does make a working live usb
SugarClone cannot work as Installer USB is a non-live system.



More information about the SoaS mailing list