No subject


Thu Nov 22 16:31:42 UTC 2012


running verified boot to pack the kernel, etc.

-Jon

--f46d04071259dea5b304d0306add
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Thu, Dec 6, 2012 at 5:08 AM, David Ru=
sling <span dir=3D"ltr">&lt;<a href=3D"mailto:david.rusling at linaro.org" tar=
get=3D"_blank">david.rusling at linaro.org</a>&gt;</span> wrote:<br><blockquot=
e class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc sol=
id;padding-left:1ex">
Jon,<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 thanks, some comments, I&#39;m &#39;out of the =
box&#39; testing your wiki page as I create a new 16Gb SD system:<br>
<br>
[1] Your gdisk instructions are missing the write out of the partition tabl=
e, you need to add &quot;w&quot; and &quot;y&quot; at the end<br>
<br>
[2] Terminal wise, I prefer M. berrange&#39;s use of a terminal within the =
Chrome browser (ctrl-alt-t) as it&#39;s easier to cut and paste commands fr=
om the web page<br>
<br>
[3] You missed out creating the guest account. =C2=A0Unless you worked arou=
nd this by logging in as root.<br>
<br>
Dave<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br></div></div></blockquote></div>=
<div><br></div><div>Here is another way to setup the partition:</div><div><=
br></div><div><div>sgdisk --set-alignment=3D8192 =C2=A0 =C2=A0 \</div><div>=
=C2=A0 =C2=A0 =C2=A0 =C2=A0--new=3D1:8192:+16M =C2=A0 =C2=A0 =C2=A0 =C2=A0\=
</div>
<div>=C2=A0 =C2=A0 =C2=A0 =C2=A0--typecode=3D1:7f00 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0\</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0--change-name=3D1:&quot;KERN-A=
&quot; \</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0--new=3D2:40960:+16M =C2=A0 =
=C2=A0 =C2=A0 \</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0--typecode=3D2:7f00 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0\</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0--change-=
name=3D2:&quot;KERN-B&quot; \</div>
<div>=C2=A0 =C2=A0 =C2=A0 =C2=A0--new=3D3:73728:+500M =C2=A0 =C2=A0 =C2=A0\=
</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0--typecode=3D3:8200 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0\</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0--change-name=3D3:&quot;SW=
AP&quot; =C2=A0 \</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0--new=3D4:1097728:0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0\</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0--typecod=
e=3D4:8300 =C2=A0 =C2=A0 =C2=A0 =C2=A0\</div>
<div>=C2=A0 =C2=A0 =C2=A0 =C2=A0--change-name=3D4:&quot;rootfs&quot; \</div=
><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0/dev/sdc</div></div><div><br></div><div>I&=
#39;m pretty sure it&#39;s also=C2=A0possible=C2=A0to set the attributes in=
 gdisk, to eliminate the need for chromeos CGPT cmd.</div>
<div><br></div><div><br></div><div><br></div><div>And the ext4:</div><div><=
br></div><div><div>mkfs.ext4 -v -b 4096 =C2=A0\</div><div>=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 -m 2 =C2=A0 =C2=A0 =C2=A0 =C2=A0\</div><div>=C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 -L &#39;rootfs&#39;</div><div>=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 -U `uuidgen` \</div>
<div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 /dev/sdc4</div></div><div><br></div=
><div><br></div><div>The above uses a LABEL which makes things nice in Chro=
me OS because it mounts under &#39;/media/removable/rootfs&#39;</div><div><=
br></div><div>To install F18 beta on the sdcard, just loop mount the latest=
 VFAD image, =C2=A0and copy the bits over.</div>
<div>Slightly more hassle than unpacking a tarball, but well worth it.=C2=
=A0</div><div>I used the Panda image, like so:</div><div><br></div><div><br=
></div><div><div>wget <a href=3D"http://scotland.proximity.on.ca/arm-nightl=
ies/vault/f18-beta-tc1/F18-panda-20121130.img.xz">http://scotland.proximity=
.on.ca/arm-nightlies/vault/f18-beta-tc1/F18-panda-20121130.img.xz</a> -O /t=
mp/F18-panda-20121130.img.xz</div>
<div><br></div><div>unxz /tmp/F18-panda-20121130.img.xz</div><div>mkdir -p =
/mnt/{src,dest}</div><div>mount =C2=A0-o loop,offset=3D735051776 =C2=A0/tmp=
/F18-panda-20121130.img =C2=A0/mnt/src</div><div>mount =C2=A0/dev/sdc4 =C2=
=A0/mnt/dest</div><div>( cd /mnt/src ; tar cf - * ) | ( cd /mnt/dest ; tar =
xvpf - )</div>
<div>umount /mnt/src</div></div><div><br></div><div><br></div><div>From her=
e =C2=A0on involves the chromebook being in dev-mode per the wiki, running =
verified boot to pack the kernel, etc.</div><br>-Jon<br>

--f46d04071259dea5b304d0306add--


More information about the arm mailing list