Subject: I'm having problem booting a PowerBook G3 (Open Firmware 2.0.1)
To: None <port-macppc@NetBSD.org>
From: Anthony de Almeida Lopes <guerrilla_thought@gmx.de>
List: port-macppc
Date: 02/19/2005 23:18:53
Hi, I'm trying to boot a PowerBook G3 (233mhz, Open Firmware 2.0.1)
which already has NetBSD installed on it. I just can't figure out the
right Open Firmware command to do the job. I've tried dozens, but, one
of the problems is I just don't know what device it's on.  

devalias gives:
...
scsi /pci/mac-io/mesh
sci-int /pci/mac-io/mesh
ata0 /pci/mac-io/ata0
ata-int /pci/mac-io/ata0
ata2 /pci/pccard@13
ata3 /pci/pccard@13,1
ata1   /pci/mac-io/media-bay/ata1
bay-ata1 /pci/mac-io/media-bay/ata1/ata-disk
atapi1 /pci/mac-io/media-bay/ata1/atapi-disk
fd /pci/mac-io/media-bay/floppy
ata4 /pci/mac-io@D/media-bay/ata4
bay-ata4 /pci/mac-io@D/media-bay/ata4/ata-disk
atapi4 /pci/mac-io@D/atapi-disk
fd2 /pci/mac-io@D/media-bay/floppy
...

So, i can boot to fd2 (floppy drive in the left bay), by using boot
fd2:,\OFWBOOT.XCF. And that worked just fine to install everything;
however, I can't boot to what I installed. I double checked and made
sure that file system wd0a is mountable and everything seems to be
there. I copied everything from /usr/mdec/ to it's /. 

I thought I did 'installboot' correctly, but maybe that's the problem. I
did: "installboot -m macppc /dev/rwd0a /tmp/bootxx /tmp/boot." Is this
even correct? I used absolute pathnames, but should I be doing this
chrooted into the new install?

I've read the macppc install guide repeatedly and the 'ofwboot' man
page, but I'm still confused.

Any suggestions? Thank you in advance,
* Anthony