From owner-freebsd-questions@FreeBSD.ORG Fri Mar 25 07:54:38 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 BDFB716A4CE for ; Fri, 25 Mar 2005 07:54:38 +0000 (GMT) Received: from smtp.nexband.com (valinux.intop.net [206.156.254.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DAE943D31 for ; Fri, 25 Mar 2005 07:54:38 +0000 (GMT) (envelope-from alias3@crotchett.com) Received: from [192.168.1.102] (208-149-64-30.adsl.nexband.com [208.149.64.30]) by smtp.nexband.com (8.12.11/8.12.11) with ESMTP id j2P7savW001854 for ; Fri, 25 Mar 2005 01:54:37 -0600 Message-ID: <4243C3BB.8050205@crotchett.com> Date: Fri, 25 Mar 2005 01:54:35 -0600 From: backdoc User-Agent: Mozilla Thunderbird 1.0 (X11/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: Fri, 25 Mar 2005 07:54:38 -0000 I replaced my HD once or twice. I documented the process the last time I did it. http://www.usmstudent.com/HOWTO/how_i_replaced_my_FreeBSD_HD.txt Darren 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.) >