*BSD News Article 11938


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA2244 ; Mon, 01 Mar 93 10:50:49 EST
Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!newsserver.jvnc.net!yale.edu!nigel.msen.com!bkc
From: bkc@msen.com (Brad Clements)
Newsgroups: comp.os.386bsd.questions
Subject: 2 IDE Drives & Disklabel - How I did it
Date: 25 Feb 1993 23:53:24 GMT
Organization: Msen, Inc. -- Ann Arbor, Michigan
Lines: 19
Message-ID: <1mjm62INN16t@nigel.msen.com>
NNTP-Posting-Host: garnet.msen.com
X-Newsreader: TIN [version 1.1 PL8]


For those folks having problems getting a second IDE drive to work, here's
what I did to get my second Maxtor IDE working.

As mentioned previously on this list, the disklabel command must be used
to write the disklabel. However I too was getting 'invalid argument' when
I ran the program.

My second drive disklabel command went like this:

	disklabel -w -r rwd1d max203

In this example, max203 is something I've defined in /etc/disktab. Note
that I used partition d, not c. Due to a bug in isa/wd.c, WRAW is defined
as 3 (a = 0, so d is 3). When partition d is used, you can write to an
unlabeled disk.

This should be changed in the definative source to be 2, not 3. In the
meantime, use partition d to write the label.