From owner-freebsd-questions@FreeBSD.ORG Wed Oct 7 00:31:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E986A1065698 for ; Wed, 7 Oct 2009 00:31:36 +0000 (UTC) (envelope-from lists@rhavenn.net) Received: from smtp114.dfw.emailsrvr.com (smtp114.dfw.emailsrvr.com [67.192.241.114]) by mx1.freebsd.org (Postfix) with ESMTP id C8E368FC19 for ; Wed, 7 Oct 2009 00:31:36 +0000 (UTC) Received: from relay11.relay.dfw.mlsrvr.com (localhost [127.0.0.1]) by relay11.relay.dfw.mlsrvr.com (SMTP Server) with ESMTP id 759EB17FE43; Tue, 6 Oct 2009 20:14:40 -0400 (EDT) Received: by relay11.relay.dfw.mlsrvr.com (Authenticated sender: rhavenn-AT-rhavenn.net) with ESMTPSA id 418F217FD69; Tue, 6 Oct 2009 20:14:39 -0400 (EDT) Received: by alucard.int.rhavenn.net (Postfix, from userid 1000) id AB5EF11428D; Tue, 6 Oct 2009 16:14:38 -0800 (AKDT) Date: Tue, 6 Oct 2009 16:14:38 -0800 From: Henrik Hudson To: jeffry killen Message-ID: <20091007001438.GA6885@alucard.int.rhavenn.net> References: <2cd283d1fad03837950ef165cf75756c@prodigy.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2cd283d1fad03837950ef165cf75756c@prodigy.net> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: Salvage files from harddrive 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: Wed, 07 Oct 2009 00:31:37 -0000 On Fri, 07 Oct 2011, jeffry killen wrote: > Hello; > I have a hard drive that contains the /var file system in a system that > will not boot. > In single user mode I can mount /var. > > I want to take this disk and put it in another FreeBSD system and > try to copy the files I need off of it to a safe place. > > The system I will plug it into will also have a separate disk with > /var. > > Is there going to be a conflict with the labels and how would I > best go about this? > > system is FreeBSD v6.2 > > Thank you in advance for guidance, suggestions. It shouldn't be a problem. If you stick the "broken" drive in a new system it will show up as a new device to the 2nd system. You will then manually mount the 1st system via the device node to wherever you want. It will not auto-mount that to /var . So, for example your 2nd system has /dev/ad4s1 as its main disk. When you plig the 2nd disk (from the old box) it will show up as /dev/ad5s1 or similar. YOu would then just mount the /var/ slice to wherever you want. For example: mount /dev/ad5sa6 /mnt/oldvar or similar. Please note that your device nodes and slice numbers will most likely be different. Henrik -- Henrik Hudson lists@rhavenn.net ----------------------------------------- "God, root, what is difference?" Pitr; UF