From owner-freebsd-questions@FreeBSD.ORG Sat Feb 11 03:51:42 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0928D16A420 for ; Sat, 11 Feb 2006 03:51:42 +0000 (GMT) (envelope-from illoai@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74BC643D4C for ; Sat, 11 Feb 2006 03:51:41 +0000 (GMT) (envelope-from illoai@gmail.com) Received: by xproxy.gmail.com with SMTP id s8so493700wxc for ; Fri, 10 Feb 2006 19:51:40 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Mwx9mxkiEKuuZPjxaYK7lW16YQNbSauyzQ4JtwsETGiyge6YDh29FW8T93NQqWJGWc8dsIUaR8OHezQ3LpmExVWE1TzZNX84CG+8C8guaoTuEGcXkzoH4qe00WqWqB4glIPx+vNTx+YTXRal+K+oGDgFh5N9ZH7yG9hFebOr1kY= Received: by 10.70.79.17 with SMTP id c17mr117128wxb; Fri, 10 Feb 2006 19:51:40 -0800 (PST) Received: by 10.70.58.15 with HTTP; Fri, 10 Feb 2006 19:51:40 -0800 (PST) Message-ID: Date: Fri, 10 Feb 2006 21:51:40 -0600 From: "illoai@gmail.com" To: Peter , freebsd-questions In-Reply-To: <20060209052049.10591.qmail@web60011.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060209044354.30052.qmail@web60019.mail.yahoo.com> <20060209052049.10591.qmail@web60011.mail.yahoo.com> Cc: Subject: Re: need help setting up a new partition X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Feb 2006 03:51:42 -0000 On 2/8/06, Peter wrote: > > > On 09-Feb-2006 Peter wrote: > > > > I have a dual-boot arrangement with Win2k (on the first and second > > > > partition) and FreeBSD 5.4 (on the third partition). I am willing > > to > > > > sacrifice the second partition and give it over to FreeBSD as I am > > > > lacking space there. I'm just not sure how to proceed. . . . > Actually I changed a sysctl setting (sysctl kern.geom.debugflags=3D16) an= d I > was able to delete/create the partition. Now I am stuck trying to create > the slices. It keeps telling me the mount points do not exist when they > do. I rebooted after creating them. > Command line tools are much easier. dd if=3Ddev/zero of=3D/dev/ad0s2 bs=3D1024k count=3D1 glabel label -v l0 /dev/ad0s2 bsdlabel -w /dev/label/l0 bsdlabel -e /dev/label/l0 newfs -U -O2 -b 16384 -f 2048 /dev/label/l0[ad-g] mount . . . echo 'geom_label_load=3D"yes"' >> /boot/loader.conf glabel is pretty spiffy, you can then dispense with the worry about having to change your /etc/fstab every time you move a hard drive, if you move hard drives from controller to controller, tossing notions of "fixed" disks to the wind. Note well: I have no idea how well geom_label and boot devices work together. Note also: sysinstall is silly for standard tasks like disk slicing and partitioning, and as well, it's not very geom-aware. -- --