From owner-freebsd-stable@FreeBSD.ORG Sun Mar 26 18:20:05 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9831716A422 for ; Sun, 26 Mar 2006 18:20:05 +0000 (UTC) (envelope-from clint@0lsen.net) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BEA443D6D for ; Sun, 26 Mar 2006 18:20:04 +0000 (GMT) (envelope-from clint@0lsen.net) Received: from 0lsen.net ([24.20.127.157]) by comcast.net (rwcrmhc12) with ESMTP id <20060326182000m1200jf02ke>; Sun, 26 Mar 2006 18:20:04 +0000 Received: by 0lsen.net (Postfix, from userid 1001) id DBADC17207; Sun, 26 Mar 2006 10:19:59 -0800 (PST) Date: Sun, 26 Mar 2006 10:19:59 -0800 From: Clint Olsen To: Remo Lacho Message-ID: <20060326181959.GF39296@0lsen.net> References: <20060326120043.935BA16A532@hub.freebsd.org> <000201c650d9$06b2e330$0201a8c0@bedroom> <20060326095509.9e3b565e.Remo.Lacho@verizon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060326095509.9e3b565e.Remo.Lacho@verizon.net> User-Agent: Mutt/1.4.2.1i Organization: NULlsen Network X-Disclaimer: Mutt Bites! Cc: Matt Smith , freebsd-stable@freebsd.org Subject: Re: Data transfer from one HD to another X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Mar 2006 18:20:05 -0000 On Mar 26, Remo Lacho wrote: > dump and restore are your friends. > > Try something like this for each new slice (partition): > > Create your new slice on the new disk. > > newfs the new slice - newfs -U /dev/[new_slice] > > mount the new slices - mount /dev/[new_slice] /mnt > > dump and restore from the old slice to the new slice - > dump -L -0 -f- /[old_slice] | (cd /mnt; restore -r -v -f-) If you want to ensure that the system is quiescent before doing the copy, you should actually boot from an alternative media and do the copy using those utilities. I actually needed to do this for Windows XP and I was too cheap to pay for any of the commercial software, so I used g4u: http://www.feyrer.de/g4u It's based on NetBSD and worked great for my Windows PC. I was cloning from a smaller to larger HD, so I had to use another utility to extend the partitions without formatting. Good luck, -Clint