From owner-freebsd-questions@FreeBSD.ORG Mon Oct 4 04:27:08 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 AEE67106564A for ; Mon, 4 Oct 2010 04:27:08 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 6AD2B8FC15 for ; Mon, 4 Oct 2010 04:27:08 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id o944R2iE088493; Sun, 3 Oct 2010 22:27:02 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id o944R22O088490; Sun, 3 Oct 2010 22:27:02 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 3 Oct 2010 22:27:02 -0600 (MDT) From: Warren Block To: Polytropon In-Reply-To: <20101003194045.849d6419.freebsd@edvax.de> Message-ID: References: <201010031319.o93DJaDE005892@mail.r-bonomi.com> <20101003100051.23e2cc77@asus64> <20101003194045.849d6419.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (wonkity.com [127.0.0.1]); Sun, 03 Oct 2010 22:27:02 -0600 (MDT) Cc: freebsd-questions@freebsd.org, Robert Subject: Re: OT: fdisk 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: Mon, 04 Oct 2010 04:27:08 -0000 On Sun, 3 Oct 2010, Polytropon wrote: > On Sun, 3 Oct 2010 10:00:51 -0700, Robert wrote: >> I have a spare 250G hard drive. Can I use "dd" to capture 250 gigs >> from the old drive? Using da1 and ad12 as the if and of will the result >> be an NTFS formatted 250g drive? Will I have the same results, i.e. >> able to mount ad12 but not ad12s1? > > Yes, as dd gives you an 1:1 copy of what you have. It will give an exact copy of the first 250G, which also means it will not resize the 500G filesystem into a working 250G version. The first step would be a copy of the entire drive. Then the filesystem can be repaired and resized.