From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 20:56:43 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 5320F16A4CE for ; Tue, 1 Mar 2005 20:56:43 +0000 (GMT) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E54343D41 for ; Tue, 1 Mar 2005 20:56:42 +0000 (GMT) (envelope-from zettel@acm.org) Received: from [192.168.0.4] (bgp966574bgs.derbrn01.mi.comcast.net[68.41.108.205]) by comcast.net (sccrmhc13) with ESMTP id <2005030120564001600samdne>; Tue, 1 Mar 2005 20:56:40 +0000 From: Leonard Zettel To: questions@freebsd.org Date: Tue, 1 Mar 2005 15:56:52 -0500 User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503011556.52173.zettel@acm.org> Subject: restore 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: Tue, 01 Mar 2005 20:56:43 -0000 In which it is proven yet again that I don't know what in blazes I'm doing-----. I am a great fan of swappable hard drives. i have two machines I plan to use for FreeBSD. Let's call them the production machine and the development machine. The production machine is working just fine. All the FreeBSD stuff is on ad0s1, a 40 GB hard drive. I have been using a 120 GB drive on ad0s1 for backup, and have (apparently successfully) done a dump of production / and /usr. So, I fire up the development machine with the 120 GB drive as the slave of controller 1, what I would like to be the main drive of the development system (a 40GB hard drive) as the master of controller 0, and disk 2 of the Free BSD CD-ROMs in the CD-ROM drive. Up comes beastie and I boot. I select "fixit" from the menu, followed by alt-F4. Then: mount /dev/ad0s1a /mnt (to make the new root accessible to the system). mkdir backup (make a mount point for the 120GB drive) mount /dev/ad3s1a /backup (mount the 120 GB drive) newfs /dev/ad0s1a (start the new root with a clean sheet prior to doing a retore) BUT instead I get a diagnostic as follows: fstab: /etc/fstab:0: No such file or directory newfs: /dev/ad0s1a: failed to open disk for writing Could anybody tell me what I *should* be doing (bonus extra points for expalining why :-) )?" -LenZ-