From owner-freebsd-questions@FreeBSD.ORG Thu Mar 24 18:55:20 2005 Return-Path: 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 DC3C416A4CE for ; Thu, 24 Mar 2005 18:55:20 +0000 (GMT) Received: from smtp11.wanadoo.fr (smtp11.wanadoo.fr [193.252.22.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9695B43D3F for ; Thu, 24 Mar 2005 18:55:20 +0000 (GMT) (envelope-from atkielski.anthony@wanadoo.fr) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf1101.wanadoo.fr (SMTP Server) with ESMTP id CA7721C000B3 for ; Thu, 24 Mar 2005 19:55:19 +0100 (CET) Received: from pix.atkielski.com (ASt-Lambert-111-2-1-3.w81-50.abo.wanadoo.fr [81.50.80.3]) by mwinf1101.wanadoo.fr (SMTP Server) with ESMTP id AEE6B1C000B0 for ; Thu, 24 Mar 2005 19:55:19 +0100 (CET) X-ME-UUID: 20050324185519716.AEE6B1C000B0@mwinf1101.wanadoo.fr Date: Thu, 24 Mar 2005 19:55:13 +0100 From: Anthony Atkielski X-Priority: 3 (Normal) Message-ID: <154939230.20050324195513@wanadoo.fr> To: freebsd-questions@freebsd.org In-Reply-To: <42426471.9040007@northglobe.com> References: <1735169762.20050324050924@wanadoo.fr> <42426471.9040007@northglobe.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: What's an easy way to replace a drive? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2005 18:55:21 -0000 Nicholas Basila writes: > You can back up to tape and restore in single user mode. If /var and > /tmp aren't too big, you could boot into single user mode, > mount /usr > mount -r /var (just to be safe) > mount -r /tmp > and create tar balls or even use dump to file (use the device in /dev as > source, of course) with /var and /tmp unmounted. > Then, reboot into single user mode with the new disk, set up the disk > the way you want it with fdisk and bsdlabel, and then untar or restore > from dump. Can I boot from the FreeBSD boot CD and avoid mounting anything on any of the hard drives at all? (That's not a problem in this case, since the root is on a different drive, but if I ever had to replace the drive containing the root I'm just wondering how to go about it.) -- Anthony