*BSD News Article 57080


Return to BSD News archive

Newsgroups: comp.unix.bsd.netbsd.misc,comp.unix.questions
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!torn!iaw.on.ca!news
From: rickb@iaw.on.ca (Rick Byers)
Subject: Disklabel problems
X-Newsreader: Forte Free Agent 1.0.82
Sender: news@iaw.on.ca (Charlie Root)
Organization: Internet Access Worldwide
Message-ID: <DJrpE2.83r@iaw.on.ca>
X-Nntp-Posting-Host: rickb.iaw.on.ca
Date: Mon, 18 Dec 1995 05:47:03 GMT
Lines: 41
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.netbsd.misc:1577 comp.unix.questions:74192

Hi.  I'm sorry if this question is trivial, but I just can't seem to
get this to work.

I've got the basic NetBSD 1.1 kernel installed, and its working fine.
I just have to mount my dos partition, to do the full install.  I've
been able to succesfully edit the disklabel (using disklabel -e), but
I can't get the disktab to work.

Here is the end of my current disktab:

conner12|NetBSD installation generated:\
	:dt=ST506:ty=winchester:\
	:nc#618:ns#63:nt#64:\
	:se#512:\
	:pa#32256:oa#1233792:ta=4.2BSD:ba#8192:fa#1024:\
	:pb#64512:ob#1266048:tb=swap:\
	:pc#1257984:oc#1233792:\
	:pe#1161216:oe#1330560:te=4.2BSD:be#8192:fe#1024:\
	:pf#616833:of#63:tf=MSDOS:bf#0:ff#0:\
	:pd#2491776:od#0:

If I try using "disklabel -r -w wd0 conner12", it says "sectors/track
0", but if I enter the information manually, it works fine.  What am I
doing wrong?  I've tried many variations (no bf and ff, not using raw
mode), but I allways get the same message.

I am using drive translation, but according to the FAQ, it should be
ok, becuase I don't think it ever changes.  (I've got a newer BIOS).
I can't see it being that, considering I CAN access my partition with
disklabel -e, I'd just like to use the disktab.

Also, I'm a little confused about the d: partition.  The *Bsd FAQ says
that it's the whole drive (cyl 0 to the last cyl), but then it says to
be carfull that your dos partition doesn't overlap b: or d:!  What
should d: be?

Any help would be greatly appreciated, please respond or cc by e-mail
        Thanks a lot,
                        Rick