#11233 NORM Not Tri: XO-1 usb and sd boot does not work in 11.2.0

Zarro Boogs per Child bugtracker at laptop.org
Tue Sep 13 08:38:04 EDT 2011


#11233: XO-1 usb and sd boot does not work in 11.2.0
------------------------------------+---------------------------------------
           Reporter:  fanoush       |       Owner:                                         
               Type:  defect        |      Status:  new                                    
           Priority:  normal        |   Milestone:  Not Triaged                            
          Component:  not assigned  |     Version:  1.5/1.0 Software Build os874 aka 11.2.0
         Resolution:                |    Keywords:                                         
        Next_action:  never set     |    Verified:  0                                      
Deployment_affected:                |   Blockedby:                                         
           Blocking:                |  
------------------------------------+---------------------------------------

Comment(by mavrothal):

 Replying to [ticket:11233 fanoush]:

 > I am using SD card with single ext3 partition with fs label "OLPCRoot"
 in usb card reader or directly in SD slot (just like it works with
 previous OS versions).
 >
 [...]
 > Then I found file cmdline/20olpc-boot-cmdline.sh inside intrd that
 checks boot device from ofw and hardcodes root=/dev/sda2 with this code:
 > if [ -z "$root" ]; then
 >         # if no root device was specified, use OFW bootpath to find root
 >  ...
 >                /pci/usb@*) root="/dev/sda2" ;; # external USB, assume
 partitioned
 >
 >
 > So I changed sda2 to sda1 but it still does not boot with same message -
 root device not found. Sorry that I don't have exact error messages but
 the device does not boot so I cannot copy them directly.

 This change may work if you are booting from a USB. [[BR]]
 If you are booting from a single partition SDcard, try changing
 root="/dev/disk/mmc/mmc${tmp}p2"  to root="/dev/disk/mmc/mmc${tmp}p1"
 [[BR]]
 Though it might be simpler to use a simple /boot/olpc.fth and point it
 directly to your initrd.img and vmlinuz in the SDcard.

-- 
Ticket URL: <http://dev.laptop.org/ticket/11233#comment:3>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list