From owner-freebsd-questions@FreeBSD.ORG Sun Nov 25 21:09:52 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 09FE562F for ; Sun, 25 Nov 2012 21:09:52 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from nm13.bullet.mail.ukl.yahoo.com (nm13.bullet.mail.ukl.yahoo.com [217.146.183.187]) by mx1.freebsd.org (Postfix) with ESMTP id 2876D8FC13 for ; Sun, 25 Nov 2012 21:09:50 +0000 (UTC) Received: from [217.12.10.89] by nm13.bullet.mail.ukl.yahoo.com with NNFMP; 25 Nov 2012 21:09:43 -0000 Received: from [217.146.183.109] by tm19.bullet.mail.ukl.yahoo.com with NNFMP; 25 Nov 2012 21:09:43 -0000 Received: from [127.0.0.1] by smtp110.mail.ukl.yahoo.com with NNFMP; 25 Nov 2012 21:09:43 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1353877783; bh=TK1GRoof4XQIKxmDWCbuSU1gGkGTA23JSwcI9P2i0/0=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:X-Mailer:Mime-Version:Content-Transfer-Encoding; b=zbkmi9T/BJkgOOacH7qTKM7MX1IVzz1Y8J67olzKOqq1Zjt5uaGMbJAsgAN96wUSipIHc30LwZtV1lzRxQ2q6cevhy4Tse/6ioPcwEsZViAQPLf5ZCNFHpUOsx9zBuKg34HqlqJSNfxaUL/uWFfUupOV31gtupjIcdxjAeNIOgM= X-Yahoo-Newman-Id: 794583.54144.bm@smtp110.mail.ukl.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: DuMAh0oVM1keQKK8.KgqDRnWMSMUhu8eyuGz9OIK.SP_snz qhVLvmV0oTt1zTYxC18YFMQCQupUM1LfmrA7aTXH18936mMLi2YccNxnyETh qpfbGfrjadV69mQM6gTT_ZRNJAOPpvKM2raoP2JWxFC_v94LGiDIN2yDtx0q QsRFewBlU1q0tI4aaXS5Mbs2W2P199el6Ug68a3ha2wLxP88V4fVffNZRVlz 1PHOJAPfbnQZrbHIc1kKJf4HQp.slsc6usg9lmlUvfV7tkA01EwWg2CoYfPO bp8O_xc146v6NGYMJc6wibxwgQo_ALB06Ao.0RBxKNAJBz.fnR3UlMMAB.aV jmAatfkUE9G0kvbRhUVBF3e9egec6I3.26FFM4IdXqMOpe6a3pw83Xbou91B aUIX90vJiKZ26HVCUAHHhBTbW4dS3RkjZvW3Jq33WS_Q- X-Yahoo-SMTP: BeMCPs2swBABTJ3kAeEiC_hE0mz8jRexLddJfD8pI2j32fOacjBmXg-- Received: from [85.182.22.141] (ralf.mardorf@85.182.22.141 with login) by smtp110.mail.ukl.yahoo.com with SMTP; 25 Nov 2012 13:09:43 -0800 PST Message-ID: <1353877782.2508.225.camel@q> Subject: Re: How to create a partition for FreeBSD 9.0? From: Ralf Mardorf To: freebsd-questions@freebsd.org Date: Sun, 25 Nov 2012 22:09:42 +0100 In-Reply-To: References: <1353795280.2662.12.camel@q> <20121124233520.7ad4b4be.freebsd@edvax.de> <1353798889.2662.46.camel@q> <20121125002717.11a61c8d.freebsd@edvax.de> <1353807268.2773.16.camel@q> <20121125131908.671f6d31.freebsd@edvax.de> <1353846552.2508.23.camel@q> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.0-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Nov 2012 21:09:52 -0000 I can't backup the whole HDDs :(. I backup some data from HDD1 to HDD2 and te other data from HDD2 to HDD1. On Sun, 2012-11-25 at 13:43 -0700, Warren Block wrote: > Assuming the first slice has been deleted. Correct. > # gpart add -t freebsd -i1 ada0 > > Create a FreeBSD disklabel/bsdlabel partitioning scheme inside the > FreeBSD slice: > > # gpart create -s bsd da0s1 > > Create FreeBSD partitions. Sizes may be adjusted, but these will work. > > # gpart add -t freebsd-ufs -a 4k -s 2g da0s1 > # gpart add -t freebsd-swap -a 4k -s 512m da0s1 > # gpart add -t freebsd-ufs -a 4k -s 1g da0s1 > # gpart add -t freebsd-ufs -a 4k -s 256m da0s1 > # gpart add -t freebsd-ufs -a 4k da0s1 > > After you have done all this, you can go back and use the Partition > selection in bsdinstall to enter types and mountpoints for each. Or you > can newfs each and then mount them, setting the location in > BSDINSTALL_CHROOT. I would prefer to continue with the installer. However, I guess for my needs just / is needed, so I guess # gpart add -t freebsd-swap -a 4k -s 512m da0s1 # gpart add -t freebsd-ufs -a 4k da0s1 is what I should run?! 512m (it doesn't matter to use m or M?) is enough swap? I've got 4GB RAM. On Linux I use 2 swaps each around 2GB, but they are not much used. For Linux there are no valid rules any more, how to set up the swap, or at least I don't know the rules. Thank you, Ralf