Bug#609818: grub-ieee1275 fails to boot on iBook

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Jan 12 18:38:46 UTC 2011


Package: grub-ieee1275
Version: 1.99~20110111-1
Severity: important

As i just mentioned on #597538, i built 1.99~20110111-1 from the
sources in experimental, and am trying it on a 1st-generation iBook.
I installed the grub-common and grub-ieee1275 .debs that were created
from the build from source.

then i ran:

 grub-install /dev/hda

and rebooted.

The system has one disk, with a mac partition table and the following
filesytems of interest:

  /dev/hda2 -- hfs, mounted at /boot/grub
  /dev/hda3 -- ext3, mounted at /boot

Initially, i get dropped into a rescue shell.

if i then run:

 set prefix=(hd,apple2)
 insmod normal
 normal

then the screen flashes, goes black, and then i get the following text
(transcribed by hand, i hope i made no errors):


--------------------------------------------
DEFAULT CATCH!, code=300 at   %SRR0: 0012329c   %SRR1: 00003030
load-size=12e78 adler32=5fdbedbe
DISK-LABEL: read of block0 failed
DISK-LABEL: read of block0 failed

Apple PowerBook2,1 1.3f1 BootROM built on 10/28/99 at 18:10:16
Copyright 1994-1999 Apple Computer, Inc.
All Rights Reserved.

Welcome to Open Firmware.
To continue booting, type "mac-boot" and press return.
To shut down, type "shut-down" and press return.

 ok
0 > _


--------------------------------------------

at this stage, things seem hosed enough that i have been doing
"shut-down" and then powering it up to try again.

If (on a fresh boot, from the rescue prompt) i try:

 set prefix=(hd,apple2)
 insmod cat
 cat (hd,apple2)/grub.cfg

then i can actually see the grub configuration.

If i then proceed to try to boot manually (without fussing with the
menu, etc), i get another failure (with different values for %SRR0 and
%SRR1, whatever those are):

------------------------
grub rescue> insmod linux
grub rescue> insmod ext2
grub rescue> set root=(hd,apple3)
grub rescue> linux /vmlinux-2.6.32-5-powerpc root=/dev/mapper/clam-root ro
grub rescue> initrd /initrd.img-2.6.32-5-powerpc
grub rescue> boot

DEFAULT CATCH!, code=300 at   %SRR0: c2000000   %SRR1: 40003030
load-size=12e78 adler32=5fdbedbe

Apple PowerBook2,1 1.3f1 BootROM built on 10/28/99 at 18:10:16
Copyright 1994-1999 Apple Computer, Inc.
All Rights Reserved.

Welcome to Open Firmware.
To continue booting, type "mac-boot" and press return.
To shut down, type "shut-down" and press return.

 ok
0 > _

------------------------

Any suggestions for what i should try next?

    --dkg

-- System Information:
Debian Release: 6.0
  APT prefers testing
  APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.37-trunk-686 (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash





More information about the Pkg-grub-devel mailing list