Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Mar 1996 17:54:26 +0100 (MET)
From:      Andreas Klemm <andreas@knobel.GUN.de>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        jkh@freebsd.org, hackers@freebsd.org
Subject:   Re: [was/is: adding 2nd disk] little changes to sysinstall/Makefile
Message-ID:  <Pine.BSF.3.92.960324174749.459B-100000@knobel.gun.de>
In-Reply-To: <199603241603.DAA23005@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----

On Mon, 25 Mar 1996, Bruce Evans wrote:

> >Another thing is, I had to manually change the disk geometry
> >to 255/63 scheme. My first disk is so large (4GB) so that
> >64/32 head/sector mapping isn't sufficiant.
>
> >If I don't change the geometry to 131/255/63, then the
> >SCSI hostadapter BIOS complaints about it, that a drive
> >with another geometry then the default boot disk was found.
> >This prevents further booting, you have to press return,
> >so ... it's deadly required, to change the geometry manually
> >this time ...
>
> Which SCSI hostadaptor?  Put in the list of discrecommended
> ones :-).  ZI have the following which handle mixed geometries
> properly:
>
> 	bt445c
> 	sc200

Well, I have a AHA 2940 with Firmware release 1.16 if I remember
right ;-) Well the Adaptec isn't that bad, but a bit picky ;-)

> >fnew|newfujitsu|Fujitsu M2694ES-512 1.05GB:\
> >	:dt=SCSI:\
> >	:ty=winchester:\
> >	:se#512:nt#255:ns#63:nc#131:rm#5400:\
> >	:pa#1907844:oa#196608:ba#8192:fa#1024:ta=4.2BSD:\
> >	:pb#196608:ob#0:tb=swap: \
> >	:pc#2104452:oc#0:\
> >	:pd#2104452:od#63:
>
> >What makes me wonder is, that disklabel complains, if you
> >choose the total sector size for the ":pc#" entry, which
> >- - in theory - should reflect the total sector size of the
> >disk.
>
> Partition C should have the same size as the logical drive (i.e., the
> slice).

Uh, you're right ... I remembered it wrong when I was writing
my mail, sorry. ;-)


#        size   offset    fstype   [fsize bsize bps/cpg]
  a:    65536        0    4.2BSD        0     0     0 	# (Cyl.    0 - 4*)
  b:   196608    65536      swap                    	# (Cyl.    4*- 16*)
  c:  6345675        0    unused        0     0       	# (Cyl.    0 - 394)
  d:  3068875  3276800    4.2BSD        0     0     0 	# (Cyl.  203*- 394*)
  e:   131072   262144    4.2BSD        0     0     0 	# (Cyl.   16*- 24*)
  f:   524288   393216    4.2BSD        0     0     0 	# (Cyl.   24*- 57*)
  g:   262144   917504    4.2BSD        0     0     0 	# (Cyl.   57*- 73*)
  h:  2097152  1179648    4.2BSD        0     0     0 	# (Cyl.   73*- 203*)

> The drive should also have the same size as itself :-).  You've made the
> drive size (#su) default to 255*63*131 = 2104515 = perhaps 63 too
> large.  It must be getting silently truncated to 2104452 to work, or
> perhaps the drive really has at least (number of sectors before this
> slice) + 2104515 sectors.
>
> Partition D hasn't been special since 2.0 and shouldn't overlap the
> swap.

You're so right, I'm so wrong ;-) ok...

> The swap partition shouldn't be started at offset 0.  That's where the
> bootblocks go.

Oh, ok, I didn't want to boot from it ;-)

> >And for all of you who said "buh baeh", disklabel is outdated stuff,
> >when I tried to help the user, who first asked ...  HOW do YOU get
> >a perfect disklabel for a 2nd disk, without using a proper disktab
> >entry ???? Which hacked up -current are you using ?! :-((
>
> disklabel /dev/rsd1 >/tmp/foo
> $EDITOR /tmp/foo	# adjust sizes from disk size to slice size if different
> 			# fix rpm and interleave fields
> 			# fill in informational fields (optional)
> disklabel -R -r sd1 /tmp/foo
>                 ^note: no "/dev/r"

Hmmmm, this didn't work for me, perhaps I did something wrong.

Well, next time, when I want to add another one, I'll try that out.

Thanks

	Andreas ///

- --
andreas@knobel.gun.de         /\/\___      Wiechers & Partner Datentechnik GmbH
   Andreas Klemm          ___/\/\/         $$  Support Unix - aklemm@wup.de  $$
pgp p-key  http://www-swiss.ai.mit.edu/~bal/pks-toplev.html  >>> powered by <<<
ftp://sunsite.unc.edu/pub/Linux/system/Printing/aps-491.tgz  >>>    FreeBSD <<<

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBMVV+QvMLpmkD/U+FAQHI8gP/as8zouzyL4ksLF6C7K8qY7Heum3iKSmk
XOuZmM35O+jDs4mPdg1nGubMkQN9YJMDU7rt8kGPDlBh6f28LQaXceJuJhcLzGJM
tf7gEhxRAj4Myq2AGo8G7zqPcpsW4G5rwn5Y9utO9dV6Nq5fcbpLYQEm4hVS20L4
8NtIo5g+Zoo=
=4MZV
-----END PGP SIGNATURE-----




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.92.960324174749.459B-100000>