[SoaS] [SugarClone] -was Re: You scream, I scream, ...
Thomas C Gilliard
satellit at bendbroadband.com
Tue May 4 08:48:14 EDT 2010
Fred:
I just tested new script:
Several possible problems with error handling with the new script:
1-) live USB was 4GB tried to write to 2GB USB
error :
too small to write, shutdown
Inserted new 4GB fat 32 with no boot flag
cd /mnt/live/SugarClone
"No such file or directory"
Reboot USB and Directory is there.....
2-) live USB was 4GB tried to write to fat 32 4 GB USB (no boot flag)
error:
no boot flag*
cd /mnt/live
"No such file or directory"
Reboot USB and Directory is there.....
3-) live USB was 4GB write to fat 32 4 GB USB with boot flag set*
SugarClone works fine
>It looks like your error shutdown of script leaves the /mnt/live
directory in a changed state....
"Cleaning up to exit" not totally working<
* your script error instructions for setting boot flag with parted:
'......................................
# /sbin/parted /dev/sdc
(parted) toggle N boot
(error: "expects partition number")?
.......................................
I used Gparted on USB externally then retried it and it worked fine.
Note: script fails to make bootable USB if it is a SanDisk Cruzer 4GB
that has a hidden U3 partition.
(only removable in windows if done prior to using it in linux) (I guess
it writes grub to wrong place)
Gparted does not see this partition at all
*These are in Cheap multi-packs at Cosco and may not even be marked that
they contain the U3 partition.
Script worked great on a normal USB
SugarClone is a great Idea!
Tom Gilliard
satellit
Frederick Grose wrote:
> A maintenance update is now available at
>
> http://people.sugarlabs.org/fgrose/SugarClone.
>
>
>
> New:
>
>
> 1. Records the remix details for the Sugar Clone in the new build file
> that displays in the 'My Settings' 'About my computer'.
>
> For example,
>
> Build: Remixed soas-i386-20100501.07.iso in a Sugar Clone prepared
> by SoaS-Mirabelle-May on 03 May 2010
> Sugar on a Stick 3 (Mirabelle)
> Fedora release 13 (Goddard)
>
> Sugar: 0.88.0
>
>
> 2. Bug fixes
>
>
> b. Improved support for cloning from one attached device to
>
>
>> another.
>>
>
>
>
> Test Usage:
>
>
> 1. Before booting the SoaS device that will be the source of the new
>
>
>> SugarClone, copy the SugarClone script to the root '/' folder at
>>
>
>
>> the base of the filesystem for the device, or, to /mnt/live (from
>>
>
>
>> the perspective of a running LiveOS image).
>>
>
>
> 2. Boot the USB stick into SoaS and insert a second USB device into
>
>
>> the computer running that SoaS image.
>>
>
>
> 3. In the Terminal Activity of that running SoaS image, enter the
>
>
>> command,
>>
>
>
> /mnt/live/SugarClone
>
>
> If there is more than one USB/SD storage device available, a menu of
> the devices
> will appear to allow you to select the target device.
>
>
> The scripts will copy the currently running image to the target device. When
> that device is booted, a new, Sugar Learner sign-in will be triggered. The
> previously customized Journal and operating system will be present on the
> Sugar Clone image.
>
>
> On a running LiveOS image, the root folder of the USB/SD device is
>
>
>> available at the /mnt/live mount point. The SugarClone script
>>
>
>
>> can be obtained (assuming Internet connectivity) as follows:
>>
>
>
>
> 1. In the Terminal Activity, change the working directory:
>
>
> cd /mnt/live
>
>
> 2. wget http://people.sugarlabs.org/fgrose/SugarClone
>
>
> 3. chmod +x SugarClone
>
>
> at this point, you may simply execute
>
>
> SugarClone
>
>
>
> See http://wiki.sugarlabs.org/go/Sugar_on_a_Stick/Sugar_Clone for
>
>
>> more information.
>>
>
>
>
> Notes:
>
>
> See http://wiki.sugarlabs.org/go/LiveOS_image for more information
> on optimizing file storage on LiveOS images.
>
> --Fred
>
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> SoaS mailing list
> SoaS at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/soas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sugarlabs.org/archive/soas/attachments/20100504/61c29d68/attachment-0001.htm
More information about the SoaS
mailing list