Date: Sun, 25 Mar 2001 23:31:13 -0800 From: "Crist J. Clark" <cjclark@reflexnet.net> To: Forrest <praxis@techpraxis.com> Cc: FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: Best way to clone an existing FreeBSD installation? Message-ID: <20010325233113.I5425@rfx-216-196-73-168.users.reflex> In-Reply-To: <B6E42A7C.2DFB%praxis@techpraxis.com>; from praxis@techpraxis.com on Sun, Mar 25, 2001 at 11:06:36PM -0800 References: <B6E42A7C.2DFB%praxis@techpraxis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 25, 2001 at 11:06:36PM -0800, Forrest wrote: > What is the best way to accomplish the following: > > Have a working installation (4.2-CURRENT) on one 45 G IDE hard disk (only 11 > G are in use), and I would like to copy it EXACTLY to another, 30 G hard > disk, so that I can (hopefully) replace the 1st hard disk (the working one > has no errors) with the copy. Or is this too unwieldy? 1) Slice and partition the new disk. 2) newfs(8) each partition on the new disk. 3) Mount the new filesystem hierarchy at, say, /mnt. 3) Do, dump -0af - /filesystem | restore -rf - /mnt/filesystem For each filesystem. And you've got a copy of the drive. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010325233113.I5425>