Subject: Re: IDE OF Booting
To: NetBSD/macppc list <port-macppc@netbsd.org>
From: John Valdes <valdes@uchicago.edu>
List: port-macppc
Date: 08/03/2001 19:16:37
On Sat, Aug 04, 2001 at 12:28:04AM +0100, Matthew Theobalds wrote:
> 
> I have a B&W G3 onto which I have been trying to install NetBSD/macppc. 
[...]
> The G3 has two IDE buses, the first of which has only a CD drive, the 
> second of which has the hard-disk which I want to use for NetBSD. My Mac 
> hard disk is on a SCSI card.
> 
> I can boot the sysinst kernel with the following:
> 
> 	boot ide1/disk@0:6,ofwboot.xcf ide1/disk@0:6,netbsd
> 
> and I get to the installation kernel just as with other NetBSD releases.
> 
> However, when I choose the hard disk onto which I will install NetBSD, 
> it politely tells me that:
> 
> 	"I only found one hard disk, sd0, so I presume you want to install 
> NetBSD onto that."
> 
> Or words to that effect. But I don't want to! I have this hard disk 
> which clearly exists since I booted the kernel from it. Why won't it see 
> it?

Do you see a line for the drive in the kernel messages when the
installation kernel boots?  If they scroll by too quickly, when the
installer starts, try exiting to a shell and using dmesg.  If it is
seen by the kernel, try using disklabel to see if you can see the
drive (eg, "disklabel /dev/rwd0c" where you'd replace "wd0" w/
whatever drive name was reported by the kernel).  Does disklabel see
the partition map, and is it interpreting it correctly (ie, properly
identifying your NetBSD partition(s))?

If the install kernel doesn't see the disk, can you move it to be the
master on the first IDE controller w/ the CD-ROM elsewhere (either the
slave on the first controller or master or slave on the second) and
try again?

> When I put that disk as a slave onto the first IDE bus, it will not even 
> boot the installation kernel from it.

In that case, I believe the drive in OF would be ide0/disk@1 ; I
assume that's what you used?

HTH.

John