<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<br><br><hr id="stopSpelling">Date: Sun, 12 Sep 2010 17:21:20 -1000<br>From: wmb@laptop.org<br>To: cbigenho@hotmail.com<br>CC: testing@lists.laptop.org; iaep@lists.sugarlabs.org; support-gang@laptop.org<br>Subject: Re: [Testing] Dextrose Install Snags<br><br>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<br>
<br>
On 9/12/2010 5:09 PM, Caryl Bigenho wrote:
<blockquote cite="mid:SNT110-W52E586FE4BF9DFF8E2EBC9CC770@phx.gbl">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>
<br>
<br>
<hr id="ecxstopSpelling">Date: Sun, 12 Sep 2010 16:41:34 -1000<br>
From: <a class="ecxmoz-txt-link-abbreviated" href="mailto:wmb@laptop.org">wmb@laptop.org</a><br>
To: <a class="ecxmoz-txt-link-abbreviated" href="mailto:cbigenho@hotmail.com">cbigenho@hotmail.com</a><br>
CC: <a class="ecxmoz-txt-link-abbreviated" href="mailto:testing@lists.laptop.org">testing@lists.laptop.org</a>; <a class="ecxmoz-txt-link-abbreviated" href="mailto:iaep@lists.sugarlabs.org">iaep@lists.sugarlabs.org</a>;
<a class="ecxmoz-txt-link-abbreviated" href="mailto:support-gang@laptop.org">support-gang@laptop.org</a><br>
Subject: Re: [Testing] Dextrose Install Snags<br>
<br>
<br>
<br>
On 9/12/2010 4:12 PM, Caryl Bigenho wrote:
<blockquote cite="mid:SNT110-W14ADC945DEF8F9F32E630BCC770@phx.gbl">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>
<p style="font:12px Helvetica"><font class="ecxApple-style-span" face="Verdana">Hi...</font></p>
<p style="font:12px Helvetica;min-height:14px"><font class="ecxApple-style-span" face="Verdana"><br>
</font></p>
<p style="font:12px Helvetica"><font class="ecxApple-style-span" face="Verdana">I was trying to
install Dextrose on an XO-1.5 today. I was following the
instructions on: </font><span style="font:14px Lucida
Grande;color:rgb(63, 118, 183);background-color:rgb(247,
247, 247)"><font class="ecxApple-style-span" face="Verdana"> <span class="ecxApple-style-span" style="font-size:10pt"><a href="http://wiki.sugarlabs.org/go/Dextrose" target="_blank">http://wiki.sugarlabs.org/go/Dextrose</a>
</span></font></span></p>
<p style="font:12px Helvetica"><font class="ecxApple-style-span" face="Verdana">There was only
one file listed to download for the XO-1.5 : os373pyg.zd. I
followed the directions on the page and got an error message
that the file was all in "one chunk"</font></p>
</blockquote>
<br>
at which step in the directions did the error message appear?
<div><br>
</div>
<div><font class="ecxApple-style-span" face="Verdana"><i>The message
appears after entering "</i></font><span class="ecxApple-style-span" style="line-height:19px"><font class="ecxApple-style-span" face="Verdana"><i> </i></font><code style="background-color:rgb(249, 249, 249);font-size:12px;line-height:1.26em;overflow:auto"><font class="ecxApple-style-span" face="Verdana"><i>fs-update
u:\os373py.zd at the "ok" prompt.</i></font></code></span></div>
</blockquote>
<br>
Is the message like "WARNING: The file specified N chunks but wrote
only M chunks"?<br>
<br>
"The file was all in one chunk" is not a particularly close
approximation ...<br>
<br>
The warning message shown above typically indicates that the .zd
file is truncated, missing parts at the end.<div><br></div><div>__________________________________________________</div><div>OK. I put the saved file back on the usb stick and tried again. This is what I got...</div><div><br></div><div>When I typed </div><div><br></div><div>"fs-update u:\os373.zd" it returned: </div><div><br></div><div>Can't open file</div><div><br></div><div>So, I thought I might be reading the instructions incorrectly and put in </div><div><br></div><div>"fs-update u:(space)\os373.zd" It returned </div><div><br></div><div><font class="Apple-style-span" color="#C00000">WARNING: The file specified 0 chunks but wrote only 1 chunks</font></div><div><font class="Apple-style-span" color="#C00000"><font class="Apple-style-span" color="#4F81BD">00:00:00</font></font></div><div><font class="Apple-style-span" color="#C00000"><font class="Apple-style-span" color="#4F81BD"><font class="Apple-style-span" color="#000000">\os373.zd ?</font></font></font></div><div><font class="Apple-style-span" color="#C00000"><font class="Apple-style-span" color="#4F81BD"><font class="Apple-style-span" color="#000000">ok</font></font></font></div><div><font class="Apple-style-span" color="#C00000"><font class="Apple-style-span" color="#4F81BD"><font class="Apple-style-span" color="#000000"><br></font></font></font></div><div><font class="Apple-style-span" color="#C00000"><font class="Apple-style-span" color="#4F81BD"><font class="Apple-style-span" color="#000000">I do not believe the machine is secured in any way. I asked Adam if I needed a Developer Key for it, but I haven't had an answer.</font></font></font></div><div><font class="Apple-style-span" color="#C00000"><font class="Apple-style-span" color="#4F81BD"><font class="Apple-style-span" color="#000000"><br></font></font></font></div><div><font class="Apple-style-span" color="#C00000"><font class="Apple-style-span" color="#4F81BD"><font class="Apple-style-span" color="#000000">Caryl</font></font></font></div><div><font class="Apple-style-span" color="#C00000"><font class="Apple-style-span" color="#4F81BD"><font class="Apple-style-span" color="#000000">_________________________________________________<br></font></font></font>
<br>
<blockquote cite="mid:SNT110-W52E586FE4BF9DFF8E2EBC9CC770@phx.gbl">
<div><font class="ecxApple-style-span" size="3"><span class="ecxApple-style-span" style="font-size:12px;line-height:15px"><font class="ecxApple-style-span" face="Verdana"><i><br>
</i></font></span></font></div>
<div><font class="ecxApple-style-span" face="Verdana"><i><code style="background-color:rgb(249, 249, 249);overflow:auto"></code></i></font><font class="ecxApple-style-span" size="3"><span class="ecxApple-style-span" style="font-size:12px;line-height:15px"><font class="ecxApple-style-span" face="Verdana"><i>The machine is unsecured. All of the
XO-1s I have have Developer Keys. Am I correct that a
Developer Key is not needed for the XO-1.5?</i></font></span></font></div>
</blockquote>
<br>
Whether or not a developer key is needed does not depend on XO-1 vs
XO-1.5, but rather how the individual machine is configured at the
factory. XO-1 and XO-1.5 systems can both have security either
enabled or disabled.<br>
<br>
<blockquote cite="mid:SNT110-W52E586FE4BF9DFF8E2EBC9CC770@phx.gbl">
<div><font class="ecxApple-style-span" size="3"><span class="ecxApple-style-span" style="font-size:12px;line-height:15px"><font class="ecxApple-style-span" face="Verdana"><i><br>
</i></font></span></font></div>
<div><font class="ecxApple-style-span" size="3"><span class="ecxApple-style-span" style="font-size:12px;line-height:15px"><font class="ecxApple-style-span" face="Verdana"><i>Caryl</i></font></span></font></div>
<div><font class="ecxApple-style-span" size="3" face="monospace"><span class="ecxApple-style-span" style="font-size:12px;line-height:15px"><br>
</span></font>
<blockquote cite="mid:SNT110-W14ADC945DEF8F9F32E630BCC770@phx.gbl">
<p style="font:12px Helvetica;min-height:14px"><font class="ecxApple-style-span" face="Verdana"><br>
</font></p>
<p style="font:12px Helvetica"><font class="ecxApple-style-span" face="Verdana">So I am trying
to do it for an XO-1 instead. However, I notice that
while there are two files for the XO-1, the .img file and
the .crc file, there is only one for the XO-1.5, the .zd
file.</font></p>
<p style="font:12px Helvetica;min-height:14px"><font class="ecxApple-style-span" face="Verdana"><br>
</font></p>
<p style="font:12px Helvetica"><font class="ecxApple-style-span" face="Verdana">When I
installed 852 on both types of machines, there were 2
files for each. Is there a file missing on the Dextrose
page listed above? Can I just use the fs.zip file from
852?</font></p>
<p style="font:12px Helvetica;min-height:14px"><font class="ecxApple-style-span" face="Verdana"><br>
</font></p>
<p style="font:12px Helvetica"><font class="ecxApple-style-span" face="Verdana">While I am
asking, is there a reason why the files for the XO-1 for
852 are .img and fs.zip while those for Dextrose are .img
and .crc? I am not a whiz on file types so I haven't a
clue why these would be different.</font></p>
</blockquote>
<br>
fs.zip is a security bundle, needed only for updating a system
with security enabled. fs.zip does not contain any actual
filesystem data; instead, it contains a much-shorter list of
hash values that represent the actual data, and a signature that
authenticates that hash list.<br>
<br>
fs.img is for XO-1 only. It contains raw data that goes
verbatim into the internal NAND FLASH inside the XO-1.<br>
<br>
fs.crc, for XO-1 only, contains a list of check values that
represent the data in fs.img. Its purpose is to catch corrupted
fs.img files, which sometimes happen due to download problems or
USB stick errors. The checksum algorithm in fs.crc (CRC-32) is
much weaker than the hash algorithm used in fs.zip. CRC-32 is
good enough to catch accidental file corruption, but not strong
enough to prevent a determined attack.<br>
<br>
fs.zd is a new format that was introduced for XO-1.5. It
combines checking (via the strong hash code) and the actual
filesystem image data in one file, with explicit compression to
shrink the file to a manageable size. It was necessary to come
up with a new format because XO-1 and XO-1.5 have very different
internal storage. XO-1 uses raw NAND FLASH that is formatted
with the JFFS2 filesystem layout, while XO-1.5 uses a micro-SD
card that emulates a hard disk, formatted with the same
ext2/ext4 filesystem layout. JFFS2 filesystem data is already
internally compressed, so there is no need for explicit
compression. That is not the case for ext2 filesystem data, so
the compression had to be explicit in the .zd file format.<br>
<br>
The fs.zip files for XO-1 and XO-1.5 are similar, but not
identical. For XO-1, fs.zip contains hash values suitable for
checking fs.img. For XO-1.5, fs.zip contains hash values too,
but their format is different, being suitable for checking
fs.zd.<br>
<br>
<blockquote cite="mid:SNT110-W14ADC945DEF8F9F32E630BCC770@phx.gbl">
<p style="font:12px Helvetica;min-height:14px"><font class="ecxApple-style-span" face="Verdana"><br>
</font></p>
<p style="font:12px Helvetica"><font class="ecxApple-style-span" face="Verdana">I need to get
this done in time for a "show and tell" at Montana State
University on Thursday morning.</font></p>
<p style="font:12px Helvetica;min-height:14px"><font class="ecxApple-style-span" face="Verdana"><br>
</font></p>
<p style="font:12px Helvetica"><font class="ecxApple-style-span" face="Verdana">Thanks,</font></p>
<p style="font:12px Helvetica;min-height:14px"><font class="ecxApple-style-span" face="Verdana"><br>
</font></p>
<p style="font:12px Helvetica"><font class="ecxApple-style-span" face="Verdana">Caryl</font></p>
<pre><fieldset class="ecxmimeAttachmentHeader"></fieldset>
_______________________________________________
Testing mailing list
<a class="ecxmoz-txt-link-abbreviated" href="mailto:Testing@lists.laptop.org">Testing@lists.laptop.org</a>
<a class="ecxmoz-txt-link-freetext" href="http://lists.laptop.org/listinfo/testing" target="_blank">http://lists.laptop.org/listinfo/testing</a>
</pre>
</blockquote>
</div>
</blockquote></div>                                            </body>
</html>