Subject: Re: Disklabels... (continued)
To: Justin Tripp <justin@ee.byu.edu>
From: Secret Asian Man <cchen@nougat.org>
List: port-hp300
Date: 07/20/2000 20:40:21
The saga continues: This time, with what seems like a valid disklabel, garned via the kernel's magic SCSI "gimme your information please" facilities...

hagel# disklabel sd0
# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: SUN1.05 cyl 2036
flags:
bytes/sector: 512
sectors/track: 72
tracks/cylinder: 14
sectors/cylinder: 1008
cylinders: 2036
total sectors: 2052288
rpm: 5400
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

4 partitions:
#        size   offset     fstype   [fsize bsize   cpg]
  a:   256032     1008     4.2BSD     1024  8192     0   # (Cyl.    1 - 254)
  b:   256032   257040     4.2BSD     1024  8192     0   # (Cyl.  255 - 508)
  c:  2052288        0       boot                        # (Cyl.    0 - 2035)
  d:  1539216   513072     4.2BSD     1024  8192     0   # (Cyl.  509 - 2035)

And it seems fine; I give 1 cylinder's space for the bootloader, and...

hagel# disklabel -B sd0
disklabel: boot overlaps used partition a
disklabel: boot overlaps used partition c
disklabel: cannot install boot program

It still fails. I thought this was a FAQ, but I can't find much of anything on this...

any more ideas?

cc

-- 
Christopher Kyin-hwa Chen <cchen@nougat.org>
<http://www.nougat.org/~cchen/>
"Norman Schwarzkopf! Something tells me you wanna go home!" --Beck