Subject: Can't boot from "other" disk..??
To: None <port-macppc@netbsd.org>
From: Donald Lee <donlee_ppc@icompute.com>
List: port-macppc
Date: 11/21/1999 23:33:29
I'm still trying to get my Mac G3/266 beige to behave.

I can get it to boot with an external Quantum Fireball SCSI ID 1 4.3Gb
disk that I set up with a borrowed machine.

If I swap out the ROM in this machine (OFW 2.4) with a ROM from an
earlier model (OFW 2.0f1) then I can boot from this external disk.

I'd like to build some systems, but this is the only machine I have
that will run NetBSD PPC, and I don't dare try to change my only
working disk, even to upgrade it to 1.4.1, lest I am
left with a non-booting disk.

I've installed a second disk, a 1.2 Gb fireball at ID 2.  I'm trying to
get it to boot from this other disk, and have had no luck.

Because I can't boot from floppy on this machine, I can't run
sysinst.  (can I?)  In stead, I've run disklabel to setup my partitions,
and simply un-tarred the tarballs for base, etc, kern, etc. (and so forth ;-> )
onto the 1.2 Gb drive.
I then have to run installboot, and this seems to require me to shut down
to single user mode.  So far so good.

4.3Gb disk (good) is /dev/sd0 on /
1.2Gb disk (bad) is /dev/sd1

	mount /dev/sd1a /mnt
        cp /mnt/usr/mdec/ofwboot /mnt/boot
(shut down to single user)
        /mnt/usr/mdec/installboot /mnt/boot /usr/mdec/bootxx /dev/rsd1a
(or should it be...
        /mnt/usr/mdec/installboot /mnt/boot /mnt/usr/mdec/bootxx /dev/rsd1a )

When I go to boot from the second disk:

	ofw> boot scsi/sd@2:0

I can't get no ... satisfaction.

It resets the bus, it complains, etc. etc.

I've tried several variations, all with the same result.

It still boots OK (always on the *second* try) from ID 1.

On the theory that there is something magic in the partitions created by
sysinst, I even did a dd copy of sd0 to sd1 and tried to boot that.
Same result.  No go.

I've also tried unplugging the external ID 1 disk to no avail.

The thing I've not tried is setting the ID of the disk from 2 to 1
to make it look as much as possible like the other disk.

Ideas?  Am I barking up the wrong tree?

-dgl-