Subject: Disklabels, Booting, and Overlap, Oh My!
To: None <port-hp300@netbsd.org>
From: Secret Asian Man <cchen@nougat.org>
List: port-hp300
Date: 07/20/2000 16:05:24
Hi, I'm installing on a 380 here, just got it the other day; Wrote this disklabel:

hagel# disklabel sd0
# /dev/rsd0c:
type: SCSI
disk: 
label: 
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 20
sectors/cylinder: 640
cylinders: 1
total sectors: 2059140
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

3 partitions:
#        size   offset     fstype   [fsize bsize   cpg]
  a:  1853226     1024     4.2BSD     1024  8192     0   # (Cyl.    1*- 2897*)
  b:   204890  1854250       swap                        # (Cyl. 2897*- 3217*)
  c:  2059140        0       boot                        # (Cyl.    0 - 3217*)

And then I ran disklabel -B sd0

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

I've tried making the offset bigger on a, to no avail; This is the recommended procedure in the install document, but no workie for me...

Any ideas?

cc

-- 
Christopher Kyin-hwa Chen <cchen@nougat.org>
<http://www.nougat.org/~cchen/>
"Surfactant smiles keeps their grades afloat."
-- Daydream on 17 April 1999