From owner-freebsd-questions@FreeBSD.ORG Thu Mar 24 21:18:56 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 D320216A4CE for ; Thu, 24 Mar 2005 21:18:56 +0000 (GMT) Received: from dns1.popstick.com (dns1.popstick.com [66.37.210.4]) by mx1.FreeBSD.org (Postfix) with SMTP id 31A4643D46 for ; Thu, 24 Mar 2005 21:18:56 +0000 (GMT) (envelope-from mlists@northglobe.com) Received: (qmail 39634 invoked from network); 24 Mar 2005 21:18:55 -0000 Received: from unknown (HELO ?192.168.0.106?) (24.147.148.119) by dns1.popstick.com with SMTP; 24 Mar 2005 21:18:55 -0000 Message-ID: <42432EBF.50704@northglobe.com> Date: Thu, 24 Mar 2005 16:18:55 -0500 From: Nicholas Basila User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <1735169762.20050324050924@wanadoo.fr> <42426471.9040007@northglobe.com> <154939230.20050324195513@wanadoo.fr> In-Reply-To: <154939230.20050324195513@wanadoo.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2005 21:18:56 -0000 Anthony Atkielski wrote: >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.) > > > Sure... just use the live disk. As long as you can access the necessary /dev entries from the CD, you can copy it.