[603] in netbsd-help mailing list archive
Re: installing netbsd1.1
daemon@ATHENA.MIT.EDU (Greg Hudson)
Mon Jan 22 01:32:44 1996
To: deberg@wizard-of-oz.mit.edu (Matt Debergelis)
Cc: netbsd-help@MIT.EDU
In-Reply-To: Your message of "Sun, 21 Jan 1996 21:45:42 +0500."
<9601220245.AA01004@wizard-of-oz.mit.edu.>
Date: Mon, 22 Jan 1996 01:28:38 EST
From: Greg Hudson <ghudson@MIT.EDU>
> This requires the block size to be changed from 8192 to 16384
> and the fragment size to be changed from 1024 to 4096
What's the geometry of your disk? It's been suggested that a
reasonable value of cylinders per group depends on your geometry.
Decreasing the size of the partition doesn't seem like it would help,
since the error happened newfs'ing the root partition, which is small.
I think the difficulty is with the large number of sectors per
cylinder on your disk (my 500MB SCSI disk only has 2000 sectors per
cylinder, for instance; for a 2GB disk to have 16865 sectors per
cylinder, you must only have only about 250 cylinders). I need to
look at this further.
If you want to accept the values suggested by newfs (not at all clear
that this is the best answer; the fragment size of 4096 is pretty
high, since that's the minimum number of bytes taken up by a file),
you could run by hand when the install program fails:
newfs -b 16384 -f 4096 -c 32 /dev/rsd0a
newfs -b 16384 -f 4096 -c 32 /dev/rsd0e
newfs -b 16384 -f 4096 -c 32 /dev/rsd0f
mount /dev/sd0a /mnt
mkdir /mnt/u1
mount /dev/sd0e /mnt/u1
mkdir /mnt/u1/usr
kmdir -p /mnt/u1/usr/vice/cache
mount /dev/sd0f /mnt/u1/usr/vice/cache
mkdir /mnt/u1/var
ln -s u1/usr /mnt/usr
ln -s u1/var /mnt/var
And then finish the install with (some of these steps ask questions):
/unpack
/config
/mitnet-inst
/athena-inst
/subscribe
/mail
halt