From owner-freebsd-questions@FreeBSD.ORG Mon Mar 1 16:49:04 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2CBA4106566C for ; Mon, 1 Mar 2010 16:49:04 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id E42778FC1D for ; Mon, 1 Mar 2010 16:49:03 +0000 (UTC) Received: from r55.edvax.de (port-92-195-143-13.dynamic.qsc.de [92.195.143.13]) by mx01.qsc.de (Postfix) with ESMTP id 1DFF53D6C0; Mon, 1 Mar 2010 17:49:01 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o21Gn12a001491; Mon, 1 Mar 2010 17:49:01 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 1 Mar 2010 17:49:01 +0100 From: Polytropon To: Leslie Jensen Message-Id: <20100301174901.95041084.freebsd@edvax.de> In-Reply-To: <4B8B881C.1040008@eskk.nu> References: <4B8B881C.1040008@eskk.nu> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Adding slice on existing disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2010 16:49:04 -0000 On Mon, 01 Mar 2010 10:25:48 +0100, Leslie Jensen wrote: > On a dualboot system I've made some space available that I want to make > a freebsd slice of. > [...] > Any suggestions on how to solve this? I would suggest to use sysinstall oder sade for this task, this is because I'm lazy. :-) In the slice editor, you create a slice covering the space you made free, or, if neccessary, you delete obsolete slices prior to creating a new one. In the label editor, you select the new slice (e. g. ad4s4) and create a partition covering the whole slice. You set the options "UFS2+S Y" (which means to use UFS2 file system plus soft updates, and "yes" to newfs, so the partition will be formatted), and set a mountpoint that you have already created (e. g. /data). Finally you confirm the settings and write them to the disk. This should work fine. Of course, you can do the same using the command line tools, in the same order: 1. create new slice, 2. create new partition inside slice, 3. format the partition, and finally 4. mount it. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...