Subject: Follow Up on Partitions
To: None <port-mac68k@NetBSD.ORG>
From: mwalker <mwalker@en.com>
List: port-mac68k
Date: 05/17/1998 19:23:53
This is a follow-up to my previous message, "Subject: A New Problem - Install!"

I had a funny feeling that my problems were directly related to my
partitioning selections. Armed with the URL
http://routbort.neuro.duke.edu/netbsd/, I bounced over there and found a
super search engine for past port-mac68k@NetBSD.ORG message digests. Doing
a search on 'alloccgblk' I received quite a few digests. On reading all of
the messages relating to my problem, I was not surprised to find that it
related to partitioning.

Specifically, I found that there seems to be a problem with Mfks to deal
with very large drives, and the NetBSD partitions that reside in the upper
portions of these drive. Apparently, this just might be caused by Mkfs'
failure to recognize partitions in the upper portions of large drives,
although there seems to be a bit of a disagreement over this. Secondly, I
also determined, mostly through my own trial and error, that Silverlining
does not do a good job with A/UX partitioning.

On weeding out the suggestions that I did not think would work for me, I
performed the following steps. These steps were also mentioned, although
not in detail, in the archive digests. Also, Mark Andres, just suggested
what I already did. Maybe it was a past message of yours that I read, Mark,
that sparked the idea. Anyway, here are the steps that I used to solve this
problem: (My hardware setup is, Quadra 630 with external LaCie 2.1g HD
formatted with Silverlining 5.8.2, 20 meg RAM, MacOS 8.1.)

1) I re-initialized and formatted the HD.
2) I used Silverlining to create 4 Mac partitions "Volume > Partition
Types... > 4 Mac Volumes."
3) Once these partitions were created I selected "Drive > Viewing Style"
and selected the "Sorted by Physical Location" radio button. This shows,
reading from top to bottom, the location of the partitions on the HD.
4) I renamed and resized the partitions in this order:
  a) Root 102100k (100 meg)
  b) Swap 51200k (50 meg)
  c) /usr 204800k (200 meg)
  d) Set up a Mac partition. Not BSD related, with the remaining space.
(Silverlining does the math automatically.)
5) Deselected ALL mounting options. Uncheck the "Volumes to be mounted
after Update", and "Volumes to be mounted at Startup." I do not want the
BSD partitions showing up on the desktop.
6) Select "Update" and sit back, smug in the knowledge that Silverlining
will be chewing on the HD for about 20 minutes and there is a cold beer in
the fridge.
7) Once the update is completed, you can select "Volume > Partition
Info..." and see on a graph where on your HD your NetBSD partitions reside.
8) Quit Silverlining.
9) Open Mkfs 1.45.
10) Select the proper SCSI ID of your drive containing your BSD partitions.
Select "Change" and change the Root, Swap, and /usr, to NetBSD Root, NetBSD
Swap, and NetBSD User, respectively. Then "Format" the partitions.
11) Quit Mkfs.
12) Open the NetBSD/Mac68k Installer 1.1.g program, but before you do,
increase the RAM to the maximum you can. In my case I increased it to
16000k. (I gleaned this tidbit from reading the digests.)
13) Install the tarballs.

This is as far as I got. So far, I have installed: base.tgz, etc.tgz,
kern.tgz, man.tgz, and misc.tgz, without error. The only error I received
was when I tried to install netbsd-GENERIC.gz, and it gave me:

Inflating. . .
bac block type 3
Invalid compressed data-format violated 2
unexpected end of file - not a valid tar archive.
Try using the mini-shell and cpin or cpout.
Finished extracting netbsd-GENERIC.gz

I'm not quite sure if it installed this file or not, but I plan on getting
another copy via FTP and reinstalling this file.

I thank everyone here for their suggestions. I also managed to get through
this with the help of the amazing resource at
http://routbort.neuro.duke.edu/netbsd/.

If I can help, or offer additional information, with my limited
knowledge,please let me know.

Mike