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"><<a href=3D"mailto:david.rusling at linaro.org" tar=
get=3D"_blank">david.rusling at linaro.org</a>></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'm 'out of the =
box' 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 "w" and "y" at the end<br>
<br>
[2] Terminal wise, I prefer M. berrange's use of a terminal within the =
Chrome browser (ctrl-alt-t) as it'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:"KERN-A=
" \</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:"KERN-B" \</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:"SW=
AP" =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:"rootfs" \</div=
><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0/dev/sdc</div></div><div><br></div><div>I&=
#39;m pretty sure it'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 'rootfs'</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 '/media/removable/rootfs'</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