Subject: fdisk/disklabel and 1.6
To: None <port-i386@netbsd.org>
From: Tomas Svensson <ts@unix1.net>
List: port-i386
Date: 10/19/2002 19:52:43
Hi,

I'm trying to install NetBSD 1.6 but no matter what I always end up with
label d (whole disk) that is not the whole disk:

   Size      Offset     End
   --------- ---------  ---------
c: 1628      0          1627       (NetBSD partition)
d: 1271      356        1627       (Whole disk)

(Typed in from the screen, megabyte sizes)

but NetBSD 1.5.3 works fine:

wd0 at pciide0 channel 0 drive 0: <QUANTUM SIROCCO1700A>
wd0: drive supports 8-sector pio transfers, lba addressing
wd0: 1628 MB, 3309 cyl, 16 head, 63 sec, 512 bytes/sect x 3335472 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2

NetBSD disklabel disk geometry:
cylinders: 3309 heads: 16 sectors/track: 63 (1008 sectors/cylinder)

BIOS disk geometry:
cylinders: 826 heads: 64 sectors/track: 63 (4032 sectors/cylinder)

Partition table:
0: <UNUSED>
1: <UNUSED>
2: <UNUSED>
3: sysid 169 (NetBSD)
    start 63, size 3330369 (1626 MB), flag 0x80
	beg: cylinder    0, head   1, sector  1
	end: cylinder  825, head  63, sector 63


# /dev/rwd0d:
type: unknown
disk: mydisk
label: 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 3309
total sectors: 3335472
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# microseconds
track-to-track seek: 0	# microseconds
drivedata: 0 

8 partitions:
#        size   offset     fstype   [fsize bsize cpg/sgs]
  a:   205569       63     4.2BSD     1024  8192    16   # (Cyl.    0*- 203)
  b:   524160   205632       swap                        # (Cyl.  204 - 723)
  c:  3335409       63     unused        0     0         # (Cyl.    0*- 3308)
  d:  3335472        0     unused        0     0         # (Cyl.    0 - 3308)
  e:  2605680   729792     4.2BSD     1024  8192    16   # (Cyl.  724 - 3308)

Any ideas?

-Tomas