From owner-freebsd-questions@FreeBSD.ORG Tue Mar 14 14:34:39 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 373B616A401 for ; Tue, 14 Mar 2006 14:34:39 +0000 (UTC) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC7E443D46 for ; Tue, 14 Mar 2006 14:34:38 +0000 (GMT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (localhost [127.0.0.1]) by clunix.cl.msu.edu (8.12.10+Sun/8.12.2) with ESMTP id k2EEYciU023549; Tue, 14 Mar 2006 09:34:38 -0500 (EST) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.12.10+Sun/8.12.2/Submit) id k2EEYcWU023548; Tue, 14 Mar 2006 09:34:38 -0500 (EST) From: Jerry McAllister Message-Id: <200603141434.k2EEYcWU023548@clunix.cl.msu.edu> To: freebsd@houston.rr.com (Steve P.) Date: Tue, 14 Mar 2006 09:34:38 -0500 (EST) In-Reply-To: <441666C5.1030008@houston.rr.com> X-Mailer: ELM [version 2.5 PL7] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: two slices, copy one slice to another? 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: Tue, 14 Mar 2006 14:34:39 -0000 > > Is there a trick to copying one working system from a slice to another > slice? > > What I envision is two slices: > /dev/ad0s1 - one complete install > /dev/ad0s2 - copy of first install, via dump restore. (Is this > where I screwed up?) No, dump/restore is the thing to use. Was the second slice /dev/ad0s2 made bootable - when you laid down the partitions? > I tried this, but upon reboot, I could see both installs. I was given a > choice of the two, but F2 only booted the first install. > What is the trick? The problem is probably that you copied it directly including /etc/fstab. So, /etc/fstab still points to /dev/ad0s1a at the root (/) partition and /dev/ad0s1b as swap, etc, etc Those need to be manually edited after the dump/restore to be /dev/ad0s2a, /dev/ad0s2b, etc respectively. ////jerry > Thanks. > Steve. >