User:NeoAmsterdam/10.1.2/Bootable SD

From OLPC
< User:NeoAmsterdam
Revision as of 09:10, 31 August 2010 by NeoAmsterdam (talk | contribs) (Let's try this again (and hope XO finds the root dev by label))
Jump to navigation Jump to search
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...