From owner-freebsd-questions Wed May 15 23: 6:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from tierzero.apana.org.au (sa.apana.org.au [203.14.158.1]) by hub.freebsd.org (Postfix) with ESMTP id 0EF9937B407 for ; Wed, 15 May 2002 23:06:20 -0700 (PDT) Received: from there (dialup-13.pasa.apana.org.au [203.14.158.142]) by tierzero.apana.org.au (8.11.1/8.11.1) with SMTP id g4G6A7112955; Thu, 16 May 2002 15:40:08 +0930 (CST) (envelope-from bastill@sa.apana.org.au) Message-Id: <200205160610.g4G6A7112955@tierzero.apana.org.au> Content-Type: text/plain; charset="iso-8859-1" From: Brian Astill Reply-To: bastill@sa.apana.org.au To: "Greg 'groggy' Lehey" Subject: Re: CAN newfs ad1s3 - BUT! Date: Wed, 15 May 2002 22:58:32 +0930 X-Mailer: KMail [version 1.3] Cc: FreeBSD Questions References: <200205130533.g4D5XL158094@tierzero.apana.org.au> <200205140622.g4E6MT176737@tierzero.apana.org.au> <20020514162302.G60068@wantadilla.lemis.com> In-Reply-To: <20020514162302.G60068@wantadilla.lemis.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 14 May 2002 16:23, Greg 'groggy' Lehey wrote: > >>   # disklabel -e /dev/ad1s3 > > > > That puts me into what appears to be vi (:q to exit) > > Or the EDITOR of your choice. Vi didn't want to play - but I used le successfully. > >>     (add a partition h, identical to c except for partition type > >>     4.2BSD followed by 3 0s). > >> > >>   # newfs /dev/ad1s3h > > > > That says: > > newfs: /dev/ad1s3h: No such file or directory > > Ah, you may need to make the device node. Try > > # cd /dev > # ./MAKEDEV ad1s3h Did that - worked fine. > > Only thing I can think of is that I am supposed to USE the vi > > look-alike and edit something to something else ?? > > Well, it's not a look-alike, it's the real thing, and of course you're > supposed to USE it. As I said: > >>     (add a partition h, identical to c except for partition type   > >>   4.2BSD followed by 3 0s). Whatever that meant - sorry. I needed the more explicit instructions you gave below. > Specifically, you'll see something like this at the end of the file: > > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > c: 78165360 0 unused 0 0 # (Cyl. 0 - > 77544) > > Add a partition h with 3 zeros after it: > > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > c: 78165360 0 unused 0 0 # (Cyl. 0 - > 77544) h: 78165360 0 4.2BSD 0 0 0 # (Cyl. 0 - 77544) Did it - it worked AND so did newfs /dev/ad1s3h - Hoorah!!! > BTW, why are you using ad1? Do you have something else on the second > IDE controller? Otherwise use ad2, not ad1. Slave disks are > performance problems. I accept that. The reason is partly historical. I changed motherboard, case, CPU and cables on a system which had two HDs, a CDROM and a removable HD which worked best as Master. I couldn't have THREE masters!! Now I have replaced the original CDROM with a RW model I could probably dispense with the removable HD, but I haven't yet made that decision. -- Regards, Brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message