From owner-freebsd-questions Tue Aug 27 21:50:30 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E49737B400 for ; Tue, 27 Aug 2002 21:50:27 -0700 (PDT) Received: from smtp1.knology.net (user-24-214-63-226.knology.net [24.214.63.226]) by mx1.FreeBSD.org (Postfix) with SMTP id DCFCC43E65 for ; Tue, 27 Aug 2002 21:50:24 -0700 (PDT) (envelope-from dkelly@HiWAAY.net) Received: (qmail 31340 invoked by uid 8002); 28 Aug 2002 04:50:16 -0000 Received: from unknown (HELO grumpy.dyndns.org) (24.214.34.52) by smtp1.knology.net with SMTP; 28 Aug 2002 04:50:16 -0000 Content-Type: text/plain; charset="iso-8859-1" From: David Kelly To: FreeBSD-Questions@FreeBSD.org Subject: Re: HD copy (2,5Gb => 4Gb) Date: Tue, 27 Aug 2002 23:50:18 -0500 User-Agent: KMail/1.4.3 References: <1030443611.3d6b525b28ce0@www.swissgeeks.com> In-Reply-To: <1030443611.3d6b525b28ce0@www.swissgeeks.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200208272350.18398.dkelly@HiWAAY.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tuesday 27 August 2002 05:20 am, Brossin Pierrick wrote: > Hi, > > I installed a FreeBSD Firewall on a 2,5Gb HD. > Now I've been told that I have to put two 4 Gb HD do Raid Mirroring. > > The thing is I'd like to copy my current configuration files, kernel > and stuff to the new HD without to have to reinstall everything. # pax -rw -pe -X / /newroot # pax -rw -pe -X /usr /newusr # pax -rw -pe -X /var /newvar -rw to copy -pe to preserve everything -X to not wander off the specified device (filesystem) "man pax" for more details and options. > I wanted to copy the whole system but as far as I know it's > impossible to resize ufs partition right? man growfs > What's the best way ? Is up to you. Personally I don't think a clean install from CDROM is all that hard. But its useful to move things around by brute force just to get the hang of it. -- David Kelly N4HHE, dkelly@hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message