From: torsten@techfak.uni-bielefeld.de (Torsten Kasch)
Subject: HELP: wiped out my DOS partition
Date: Mon, 5 Oct 92 15:01:29 GMT
Organization: Universitaet Bielefeld, Technische Fakultaet.


Hi,

I've got some problems installing 386BSD "by hand". Until last weekend
I had a fine working system (Thanks to all who made this possible!) of DOS
and BSD until I decided to do some "real partitioning"...

So here's my problem:
I have a 486/33 ISA Board with 8MB RAM, a 500MB Conner CP3504 IDE HD,
a 100MB Conner CP3104. I had BSD working in a 450MB partition (along with 
50MB DOS) on the first HD. Now I want to divide the BSD partition as  follows:
	a: 40MB       /
	b: 20MB       swap
	d: 70MB       /usr
	e: remaining  /volumes

Following the instructions posted here recently, I started building a disktab
entry using the boundaries for the 'c' partition from my previous installation.
(I've included this info at the end.)

Whenever I tried to boot DOS after "newfs /dev/rwd0d", I get a
"no operating system" message. (BTW, I have os-bs132 installed.)

This is what disklabel -r wd0 said before I started building my own:

> type: ESDI
> disk: ESDI/IDE
> label: 12MB -  CP350
> flags:
> bytes/sector: 512
> sectors/track: 63
> tracks/cylinder: 16
> sectors/cylinder: 1008
> cylinders: 987
> 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:  879984   102816   4.2BSD     1024  8192    16      # (Cyl. 102 - 974)
>   b:   10000   983388   unused        0     0            # (Cyl. 975*- 985*)
>   c:  891072   102816   unused        0     0            # (Cyl. 102 - 985)

So I made my disktab entry:

> cp3504|Conner Peripherials 500MB IDE: \
> 	:dt=ST506:ty=winchester:se#512:nt#16:ns#63:nc#987: \
> 	:pa#82656:oa#102816:ta=4.2BSD:ba#8192:fa#1024: \
> 	:pb#41328:ob#185472:tb=swap: \
> 	:pc#891072:oc#102816: \
> 	:pd#151200:od#226800:td=4.2BSD:bd#8192:fd#1024: \
> 	:pe#611856:oe#378000:te=4.2BSD:be#8192:fe#1024:

and labelled the disk. ok. But what am I doing wrong???? I've checked
several times that no partition overlaps any other or even my DOS
partition (Cyl. 0 - 101). I've even tried to make some partitions smaller
to leave some space for the bad sector table; although I must admit I haven't
understood this completely (I always thought IDE drives handle this 
internally). Do I have to add an ':sf:' in the disktab entry???

BTW, what does the '*' mean in the table above???


I would highly appreciate if any kind soul could point me in the
right direction.

Thanks in advance,

	Torsten

--------------------------------------- ---------------------------------------
\     Torsten Kasch                    |   Technical Computer Science         /
 \    Office: M4-128                   |   University of Bielefeld           /
  |   Phone:  +49 521 106 2921         |   Postfach 8640                    |
 /    FAX:    +49 521 106 6328         |   4800 Bielefeld 1                  \
/     torsten@techfak.uni-bielefeld.de |   - GERMANY -                        \
--------------------------------------- ---------------------------------------

-- 
--------------------------------------- ---------------------------------------
\     Torsten Kasch                    |   Technical Computer Science         /
 \    Office: M4-128                   |   University of Bielefeld           /
  |   Phone:  +49 521 106 2921         |   Postfach 8640                    |
 /    FAX:    +49 521 106 6328         |   4800 Bielefeld 1                  \
/     torsten@techfak.uni-bielefeld.de |   - GERMANY -                        \
--------------------------------------- ---------------------------------------