From owner-freebsd-current Mon Dec 16 13:25:39 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 32FBF37B401 for ; Mon, 16 Dec 2002 13:25:38 -0800 (PST) Received: from postal2.es.net (postal2.es.net [198.128.3.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81C7543E4A for ; Mon, 16 Dec 2002 13:25:37 -0800 (PST) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal2.es.net (Postal Node 2) with ESMTP id MUA74016; Mon, 16 Dec 2002 13:25:35 -0800 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 242D25D04; Mon, 16 Dec 2002 13:24:20 -0800 (PST) To: Harald Hanche-Olsen Cc: freebsd-current@freebsd.org Subject: Re: 5.0-RC1 install: disklabel editor In-reply-to: Your message of "Mon, 16 Dec 2002 03:25:39 +0100." <20021216032539F.hanche@math.ntnu.no> Date: Mon, 16 Dec 2002 13:24:20 -0800 From: "Kevin Oberman" Message-Id: <20021216212420.242D25D04@ptavv.es.net> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Date: Mon, 16 Dec 2002 03:25:39 +0100 > From: Harald Hanche-Olsen > Sender: owner-freebsd-current@FreeBSD.ORG > > For some reason, I can't find a way to create a swap partition using > the disklabel editor - other than by using Auto Defaults - and then I > can't see any way to adjust the size of the resulting swap partition. > > This never was a problem with 4.x as far as I can remember...? > > (After first discovering this, I figured maybe if I left the > pre-existing b partition as , the install scripts would be smart > enough to use it as swap. No way. And after the scripts complained, > and I had been back through the disklabel editor again, installation > failed with > > Error mounting /mnt/dev/ad0s3f on /mnt/usr: No such file or directory > > while the other console said > > newfs:/mnt/dev/ad0s3f: No such file or directory > > After which it went ahead and installed anyway, only to fill up the > root file system, of course. I don't see any response, but I don't think that this has changes since V4. (But I may be mis-remembering. In any case, in the disklabel screen down-arrow until you get to the partition you want to use as swap. Note the size and press 'D' to delete it. Then up-arrow to the entry at the top of the screen for the slice the swap will be created in. Press 'C', enter the value for the size of the swap space, press , and then select Swap. Bingo! You have swap. Also, if you want the partition initialized, don't forget to toggle the newfs tag with 'T'. (And, of course, make sure root is big enough for 5.0.) Fortunately it is not too hard to steal a bit of swap to make root larger. R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message