From owner-freebsd-questions@FreeBSD.ORG Wed Jun 23 03:17:44 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 746AD1065687 for ; Wed, 23 Jun 2010 03:17:44 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id 2E2FC8FC27 for ; Wed, 23 Jun 2010 03:17:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ezekiel.daleco.biz (8.14.3/8.14.2) with ESMTP id o5N3HhXO089456; Tue, 22 Jun 2010 22:17:43 -0500 (CDT) (envelope-from kdk@daleco.biz) X-Virus-Scanned: amavisd-new at daleco.biz Received: from ezekiel.daleco.biz ([127.0.0.1]) by localhost (ezekiel.daleco.biz [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 8dzZok63F0Sg; Tue, 22 Jun 2010 22:17:41 -0500 (CDT) Received: from archangel.daleco.biz (ezekiel.daleco.biz [66.76.92.18]) by ezekiel.daleco.biz (8.14.3/8.14.3) with ESMTP id o5N3HZ8R089452; Tue, 22 Jun 2010 22:17:36 -0500 (CDT) (envelope-from kdk@daleco.biz) Message-ID: <4C217CCE.7030605@daleco.biz> Date: Tue, 22 Jun 2010 22:17:34 -0500 From: Kevin Kinsey User-Agent: Thunderbird 2.0.0.24 (X11/20100504) MIME-Version: 1.0 To: Al Plant References: <4C217702.8080705@hdk5.net> In-Reply-To: <4C217702.8080705@hdk5.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: Copy a FreeBSD 8* install to larger HD 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: Wed, 23 Jun 2010 03:17:44 -0000 Al Plant wrote: > Aloha, > > I am looking for the easiest way to copy a fresh working FreeBSD 8* HD > install (Manolis version) to a bigger HD that I found. > > I plan to have the new HD in the same box for doing this copy. > > Can I use sysinstall to make the new default slices on the big HD and > then move the OS and directories/files to them? Last time I did this, it worked fine ... just make sure the "slices" (right term?) correspond with your /etc/fstab, or you'll end up in single user or even stuck at a boot prompt with the new drive the first time out. > What command (utility) do I use? dd or cp or some other to copy the files. I'd recommend dump and restore ... possibly piping dump *to* restore, something like: dump -0 -a -L -u -f - /usr | ( cd /newusr ; restore -ruf - ) HTH. > Thanks.... You're welcome :-) Kevin Kinsey