User:NeoAmsterdam/10.1.2/Bootable SD: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Trying to get 10.1.2 to install to SD card - jotting progress thus far)
 
m (Let's try this again (and hope XO finds the root dev by label))
Line 1: Line 1:
<div style="border: thin solid #f00; background: #faa; color: #a00; font-weight: bold; text-align: center;">This page does not contain instructions leading to a successful installation of [[Release_notes/10.1.2|Release 10.1.2]] onto an SD card<br />Do not follow these instructions until this warning has been removed by its author!</div>
<div style="border: thin solid #f00; background: #faa; color: #a00; font-weight: bold; text-align: center;">This page does not contain instructions leading to a successful installation of [[Release_notes/10.1.2|Release 10.1.2]] onto an SD card<br />Do not follow these instructions until this warning has been removed by its author!</div>


= Attempts =
= First Attempt =
== 1 ==
== Failure ==
* '''Failure'''<br />used <tt>cp -prv /versions/pristine/852/* /mnt/sd/.</tt> (it lit. takes ''HOURS'' to copy over); boot yields the following:
* '''Failure'''<br />used <tt>cp -prv /versions/pristine/852/* /mnt/sd/.</tt> (it lit. takes ''HOURS'' to copy over); boot yields the following:
FATAL: Module scsi_wait_scan not found.
FATAL: Module scsi_wait_scan not found.
Line 14: Line 14:
Boot has failed, sleeping forever.
Boot has failed, sleeping forever.

== Observations ==
* Noticed that OFW looks for root=LABEL=OLPCRoot or somesuch, and my SD was formatted <tt>mkfs.ext3 -v -L OLPC-SD</tt> (oops?).
* Noticed that OFW looks for root=LABEL=OLPCRoot or somesuch, and my SD was formatted <tt>mkfs.ext3 -v -L OLPC-SD</tt> (oops?).
** Maybe editing <tt>/boot/olpc.fth</tt> with µemacs in OFW?
** Maybe editing <tt>/boot/olpc.fth</tt> with µemacs in OFW?
** Manually specifying kernel arg/root dev. in OFW (until "in")?
** Manually specifying kernel arg/root dev. in OFW (until "in")?
* Note: Penguin, not OLPC logo, shows in corner of screen... oopsie or intentional? [ shrugs shoulders ]
* Penguin, not OLPC logo, shows in corner of screen... oopsie or intentional? [ shrugs shoulders ]

== 2 ==
== Post-Mortem ==
# Boot into OFW ('''note:''' make sure to mention developer key required)
# <tt>emacs sd:\boot\olpc.fth</tt>
#* BTW, didn't it occur to anyone that there isn't an F5/F6/F7/F8 key on an OLPC keyb? ^X^S won't work, and I can't tell which button/key I'm pressing!
# Down near the end - look for the last screenful:
" nand" dn-buf count sindex 0>= if
" root=/dev/mtdblock0 rootfstype=jffs2"
else
" root=LABEL=OLPCRoot rootfstype=ext3"
then
# Switching <tt>root=LABEL=OLPCRoot</tt> to <tt>root=LABEL=OLPC-SD</tt> ('''note:''' maybe tell people to <tt>mkfs.ext3 -v -L OLPCRoot</tt> instead of editing a posteriori w/ dev key)
= Second Attempt =
In progress...
In progress...

Revision as of 09:10, 31 August 2010

This page does not contain instructions leading to a successful installation of Release 10.1.2 onto an SD card
Do not follow these instructions until this warning has been removed by its author!

First Attempt

Failure

  • Failure
    used cp -prv /versions/pristine/852/* /mnt/sd/. (it lit. takes HOURS to copy over); boot yields the following:
FATAL: Module scsi_wait_scan not found.
FATAL: Module scsi_wait_scan not found.
FATAL: Module scsi_wait_scan not found.
FATAL: Module scsi_wait_scan not found.
FATAL: Module scsi_wait_scan not found.


No root device found

Boot has failed, sleeping forever.

Observations

  • Noticed that OFW looks for root=LABEL=OLPCRoot or somesuch, and my SD was formatted mkfs.ext3 -v -L OLPC-SD (oops?).
    • Maybe editing /boot/olpc.fth with µemacs in OFW?
    • Manually specifying kernel arg/root dev. in OFW (until "in")?
  • Penguin, not OLPC logo, shows in corner of screen... oopsie or intentional? [ shrugs shoulders ]

Post-Mortem

  1. Boot into OFW (note: make sure to mention developer key required)
  2. emacs sd:\boot\olpc.fth
    • BTW, didn't it occur to anyone that there isn't an F5/F6/F7/F8 key on an OLPC keyb? ^X^S won't work, and I can't tell which button/key I'm pressing!
  3. Down near the end - look for the last screenful:
" nand"  dn-buf count  sindex 0>= if
   " root=/dev/mtdblock0 rootfstype=jffs2"
else
   " root=LABEL=OLPCRoot rootfstype=ext3"
then
  1. Switching root=LABEL=OLPCRoot to root=LABEL=OLPC-SD (note: maybe tell people to mkfs.ext3 -v -L OLPCRoot instead of editing a posteriori w/ dev key)

Second Attempt

In progress...