Subject: Partitioning
To: None <>
From: Andy Ball <>
List: port-macppc
Date: 04/30/2006 23:27:05

I'm having another go at installing NetBSD/macppc-2.1 on my aging
iBook ("P1" bondi clamshell), this time armed with the appropriate
INSTALL.html.  I have an existing 20 Mbyte partition that I created
using another operating system and (as seems to be suggested by the
NetBSD install notes) I've created a swap partition and a combined
root & usr partition (both Apple_UNIX_SVR2, SFS and UFS respectively).
Here's my pmap...

          Start        End     Length Use
      ~~~~~~~~~  ~~~~~~~~~  ~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              1         63         63 Partition map
             64     41,023     40,960 Boot (hfs+)
         41,024    565,311    524,288 Swap
        565,312  6,357,455  5,792,144 / (/usr will be a directory)

disklabel suggests that the large partition is wd0g, but when I try to
create an ffs filesystem on it, I get the following error...

     newfs: ioctl (WDINFO): Invalid argument
     newfs: /dev/wd0g: can't rewrite disk label

...which I suppose is understandable since the install notes suggest
that OpenFirmware 3 is fundementally incompatible with a NetBSD disk
-label. Should I feed a different device name to newfs?  If so, how do
I determine which I should use?  Should I use something other than
newfs to make the filesystem?  Helpful advice would be most welcome.

- Andy Ball.