No subject


Mon Mar 15 02:42:15 EDT 2010


    OPTIONS

    --image <source>   (default: /dev/live)
        The running live image device , another partition
        holding a live image, or the path to an .iso file bearing a live
image.

(This allows one to specify another device partition recognized by the
computer, such
as, /dev/sdc1 or /dev/sd(x)n , as the source for the SugarClone.  One may
also specify
an .iso image file of a LiveOS distribution, such as
/path/to/soas-i386-20100408.01.iso
that one may have on their system or attached drive.  The parameter is use
on line
755 of SugarClone (at the very end of the file when
modified_livecd-iso-to-disk is called).

    --builder <name>
        The name of the builder of the customized SugarClone. Default:
someone

    --mntpnt <wdir>   (default: /mnt/live)
        The filesystem directory mount point for the source holding the
build
        scripts, SugarClone and modified_livecd-iso-to-disk.

(This is an interim and limited method to specify a path to files on the
source or other
device.  This is mainly for testing, unless a good use case arises.)

    --help
        Displays usage information and exits.

The target device is selected by SugarClone from the list of USB storage
devices it
finds by querying the hardware abstraction layer of the computer using
'hal-find-by-capability' and 'hal-get-property'.  The selected device is
saved in the variable, TARGETDEV.

 ${TARGETDEV}1 is used as a parameter at the end on line 755, as well as on
lines
680, 682, where SugarClone copies itself to the new device filesystem for
future use.

Hope that helps,          --Fred

--00163628445c557cbd04842279c4
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div class=3D"gmail_quote">On Tue, Apr 13, 2010 at 1:13 PM, Thomas C Gillia=
rd <span dir=3D"ltr">&lt;<a href=3D"mailto:satellit at bendbroadband.com">sate=
llit at bendbroadband.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_=
quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1=
ex;">




 =20

<div bgcolor=3D"#ffffff" text=3D"#000000">...<br></div></blockquote><blockq=
uote class=3D"gmail_quote" style=3D"margin-top: 0px; margin-right: 0px; mar=
gin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-co=
lor: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">

=A0</blockquote><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e=
x;border-left:1px #ccc solid;padding-left:1ex;"><div bgcolor=3D"#ffffff" te=
xt=3D"#000000">
* installed SugarClone via wget to /mnt/live/<br>
(still using already installed 3 files from previous DL)<br></div></blockqu=
ote><div>=A0</div><div>The older modified_livecd-iso-to-disk was used.</div=
><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex;">

<div bgcolor=3D"#ffffff" text=3D"#000000">
1-)<br>
command: /mnt/live/SugarClone<br>
<br>
It found my 4GB SD=A0 in drive /dev/sdd1 <br>
from the booted USB /dev/sdc1<br>
=A0worked and found cardreader SD as only device<br>
but had error message about permissions for ssd files (2) <br>
It went on to do successful install to SD.<br></div></blockquote><div><br><=
/div><div>More testing with SD devices is needed.</div><div><br></div><bloc=
kquote class=3D"gmail_quote" style=3D"margin-top: 0px; margin-right: 0px; m=
argin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-=
color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">

=A0...</blockquote><blockquote class=3D"gmail_quote" style=3D"margin-top: 0=
px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-=
width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid=
; padding-left: 1ex; ">

=A0</blockquote><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e=
x;border-left:1px #ccc solid;padding-left:1ex;"><div bgcolor=3D"#ffffff" te=
xt=3D"#000000">
3-) used resulting USB to write to new SD it could not find /dev/sdd1<br>
looked for /dev/sde1<br>
<br>
4-) did wget of modified_livecd-iso-to-disk (new version)<br>
used new 2GB SD formatted fat16 boot flag<br>
error: /dev/sde1 /media/target.xxxxx<br>
mount: you must specify the file system type..<br>
exit clean<br>
......<br>
exit 1<br>
<br>
questions: <br>
Are there a new and old version of the modified_livecd-iso-to-disk=A0
script?<br></div></blockquote><div><br></div><div>Yes, changes were made to=
 the usage() function (option --help) and other error or help messages. =A0=
Also=A0fixed some bugs with the --skipcopy option.</div><div>=A0</div><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc=
c solid;padding-left:1ex;">

<div bgcolor=3D"#ffffff" text=3D"#000000">
what is happening here?</div></blockquote><div><br></div><div>Just guessing=
 that mounting is easier when the volume is registered in the file system t=
able in /etc/fstab (<a href=3D"http://en.wikipedia.org/wiki/Fstab">http://e=
n.wikipedia.org/wiki/Fstab</a>), and that may have differed.</div>

<div><br></div><div>From the SugarClone file,</div><div><br></div><div><div=
>=A0=A0 =A0OPTIONS</div><div><br></div><div>=A0=A0 =A0--image &lt;source&gt=
; =A0 (default: /dev/live)</div><div>=A0=A0 =A0 =A0 =A0The running live ima=
ge device , another partition</div>

<div>=A0=A0 =A0 =A0 =A0holding a live image, or the path to an .iso file be=
aring a live image.</div><div><br></div><div>(This allows one to specify an=
other device partition recognized by the computer, such</div><div>as, /dev/=
sdc1 or /dev/sd(x)n , as the source for the SugarClone. =A0One may also spe=
cify</div>

<div>an .iso image file of a LiveOS distribution, such as /path/to/soas-i38=
6-20100408.01.iso</div><div>that one may have on their system or attached d=
rive. =A0The parameter is use on line</div><div>755 of SugarClone (at the v=
ery end of the file when modified_livecd-iso-to-disk is called).</div>

<div><br></div><div>=A0=A0 =A0--builder &lt;name&gt; =A0</div><div>=A0=A0 =
=A0 =A0 =A0The name of the builder of the customized SugarClone. Default: s=
omeone</div><div><br></div><div>=A0=A0 =A0--mntpnt &lt;wdir&gt; =A0 (defaul=
t: /mnt/live)</div><div>

=A0=A0 =A0 =A0 =A0The filesystem directory mount point for the source holdi=
ng the build</div><div>=A0=A0 =A0 =A0 =A0scripts, SugarClone and modified_l=
ivecd-iso-to-disk.</div><div><br></div><div>(This is an interim and limited=
 method to specify a path to files on the source or other</div>

<div>device. =A0This is mainly for testing, unless a good use case arises.)=
</div><div><br></div><div>=A0=A0 =A0--help</div><div>=A0=A0 =A0 =A0 =A0Disp=
lays usage information and exits.</div></div><div><br></div><div>The target=
 device is selected by SugarClone from the list of USB storage devices it</=
div>

<div>finds by querying the hardware abstraction layer of the computer using=
</div><div>&#39;hal-find-by-capability&#39; and &#39;hal-get-property&#39;.=
 =A0The selected device is saved in the variable, TARGETDEV.</div><div><br>

</div><div>=A0${TARGETDEV}1 is used as a parameter at the end on line 755, =
as well as on lines</div><div>680, 682, where SugarClone copies itself to t=
he new device filesystem for future use.</div><div><br></div><div>Hope that=
 helps, =A0 =A0 =A0 =A0 =A0--Fred</div>

<div><br></div></div>

--00163628445c557cbd04842279c4--


More information about the SoaS mailing list