From owner-freebsd-questions@FreeBSD.ORG Tue Sep 20 22:00:06 2005 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 ABD1016A41F for ; Tue, 20 Sep 2005 22:00:06 +0000 (GMT) (envelope-from drew@mykitchentable.net) Received: from relay03.roc.ny.frontiernet.net (relay03.roc.ny.frontiernet.net [66.133.182.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A99943D60 for ; Tue, 20 Sep 2005 21:59:51 +0000 (GMT) (envelope-from drew@mykitchentable.net) Received: from filter08.roc.ny.frontiernet.net (filter08.roc.ny.frontiernet.net [66.133.183.75]) by relay03.roc.ny.frontiernet.net (Postfix) with ESMTP id 3FC8C3583F6; Tue, 20 Sep 2005 21:59:51 +0000 (UTC) Received: from relay03.roc.ny.frontiernet.net ([66.133.182.166]) by filter08.roc.ny.frontiernet.net (filter08.roc.ny.frontiernet.net [66.133.183.75]) (amavisd-new, port 10024) with LMTP id 29094-09-54; Tue, 20 Sep 2005 21:59:51 +0000 (UTC) Received: from blacklamb.mykitchentable.net (67-51-164-214.dsl1.elk.ca.frontiernet.net [67.51.164.214]) by relay03.roc.ny.frontiernet.net (Postfix) with ESMTP id 02C13358406; Tue, 20 Sep 2005 21:59:41 +0000 (UTC) Received: from [165.107.42.106] (unknown [165.107.42.106]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by blacklamb.mykitchentable.net (Postfix) with ESMTP id 9CAB81536A1; Tue, 20 Sep 2005 14:59:40 -0700 (PDT) Message-ID: <433085E1.8010109@mykitchentable.net> Date: Tue, 20 Sep 2005 14:57:53 -0700 From: Drew Tomlinson User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jerry McAllister References: <200509202150.j8KLoA1c027151@clunix.cl.msu.edu> In-Reply-To: <200509202150.j8KLoA1c027151@clunix.cl.msu.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-2.3.2 (20050629) at filter08.roc.ny.frontiernet.net Cc: FreeBSD Questions Subject: Re: Can I Rebuild / and /usr Remotely? Ideas? 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, 20 Sep 2005 22:00:06 -0000 On 9/20/2005 2:50 PM Jerry McAllister wrote: >>On 9/20/2005 11:28 AM Jerry McAllister wrote: >> >> >> >>>>On 9/20/2005 10:20 AM Jerry McAllister wrote: >>>> >>>>Thank you for your reply. This gives me some direction in which to >>>>proceed. Since the layout is as I like now, it seems to me that I would >>>>only have to dump / and then dump /usr. The restore order would be >>>>first / then /usr. Is that correct? Here's my current fstab: >>>> >>>> >>>Sounds right from what you indicate here. >>> >>> >>> >>Wait a minute. I just thought of something. I am not going to be able >>to work on da0 while it's mounted, correct? >> >> > >Yup. > > > >> and since da0s1a is my root >>partition, I'm not going to be able to unmount it until I boot from >>another disk, presumably ad0. How do I set up ad0 so it will boot? >>Then after making a complete copy of / and /usr on ad0, I will have to >>boot from it before doing my work on da0 and da1. At that point I'll >>have to do the secret incantations of fdisk and bsdlabel on da0 and >>da1, build my stripe, mount everything, use dump/restore to copy the >>contents of ad0 to it's respective places, and then finally reboot from >>da0. Uh oh, I think this is getting complicated... :) >> >> > >That is what a fixit CD is for (or one of the many things). >Just boot up your fixit CD and wend your way around the menus >of choices until you get a prompt. Or, for that matter, do >the sliceing and dicing from sysinstall on the fixit. >For FreeBSd 4.xxx and before the fixit is disk 2, I believe >and for FreeBSD 5.xxx and after the fixit in CD number 1. > > Thanks. Guess it'll just be easier to physically go to the console. Not that big of a deal in this case but I wanted to try it remotely just for future reference. That way if the need arose, I could be fairly confident I could do it remotely. Drew -- Visit The Alchemist's Warehouse Magic Tricks, DVDs, Videos, Books, & More! http://www.alchemistswarehouse.com