*BSD News Article 6787


Return to BSD News archive

Path: sserve!manuel.anu.edu.au!munnari.oz.au!uunet!think.com!ames!haven.umd.edu!darwin.sura.net!altair.selu.edu!zmw
From: zmw@altair.selu.edu (Mike Whisenhunt zmw@selu.edu)
Newsgroups: comp.unix.bsd
Subject: More problems getting DOS and 386BSD on same disk
Message-ID: <1992Oct20.111953.893@altair.selu.edu>
Date: 20 Oct 92 11:19:53 -0600
Organization: Southeastern Louisiana University
Lines: 57

Getting DOS and 386BSD to co-exist on my 120mb Conners hd is frustrating.
The great suggestions I have received from some helpful people haven't made
a difference the way I have applied them.

I have set up a 30mb dos partition and the rest (82.8mb) for 386bsd.  I
have used diskedit to change offset 466 from 05 to a5 of the master
boot record.  Install detects the 386bsd partition and install runs just
fine.  When rebooted, the system goes into a panic loop saying it can't
find the disk label.  When I boot the fixit disk and do a disklabel wd0, I get
warning messages:
       warning revolution/minute 0
           boot block size 0
           super block size 0
           warning unused partition b: size 12168 offset 0

Disklabel wd0 > /tmp/dlwd0 generates the following configuration:

# /dev/rwd0d:
type: ESDI
disk: ESDI/IDE
label: 20MB - CP3010
flags:
bytes/sector: 512
sectors/track: 17
tracks/cylinder: 15
sectors/cylinder: 255
cylinders: 762
rpm: 0
interleave: 0
trackskew: 0
cylinderskey: 0
headswitch: 0                               #milliseconds
track-to-track seek: 0                      #milliseconds
drivedata: 0

1 partitions:
#       size       offset    fstype  [fsize  bsize  cpg]
  a:    172380      61455    unused     0      0         # (cyl.241-916)

When I do disklabel -R -r wd0 /tmp/dlwd0 /usr/mdec/wdboot /usr/mdec/bootwd
with the same config above, I get errors about partition a: extending
past end of unit, as well as warnings that rpm=0, and bad interleave.
When I slug in some values for these, and reduce the size on the a: partition
from 172380 down to an arbitrary 100000, no errors are reported and it
writes to the hd.  When I get back into the dos disk editor, and look around
cylinder 241, in sector 2, the 386bsd label appears with the value 
"20MB - CP3010", and yet, when booted, the label can't be found.
Are there some obvious problems in the above configuration which install
sets up?
Any help would be appreciated :-)


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Mike Whisenhunt                |Internet: zmw@selu.edu   |How to tell if your
VMS System Manager/Postmaster  |Phone   : (504) 549-3643 |boss has used your 
Southeastern La. Univ, Box 430 |Fax     : (504) 549-5092 |Word Processor? Look
Hammond, La 70402  USA         |"Wise men still seek Him"|for whiteout on CRT.