From owner-freebsd-questions@FreeBSD.ORG Thu Oct 8 17:15:46 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 C8856106566B for ; Thu, 8 Oct 2009 17:15:46 +0000 (UTC) (envelope-from jekillen@prodigy.net) Received: from n13b.bullet.mail.mud.yahoo.com (n13b.bullet.mail.mud.yahoo.com [68.142.207.222]) by mx1.freebsd.org (Postfix) with SMTP id 829268FC19 for ; Thu, 8 Oct 2009 17:15:46 +0000 (UTC) Received: from [68.142.200.227] by n13.bullet.mail.mud.yahoo.com with NNFMP; 08 Oct 2009 17:03:11 -0000 Received: from [68.142.201.72] by t8.bullet.mud.yahoo.com with NNFMP; 08 Oct 2009 17:03:11 -0000 Received: from [127.0.0.1] by omp424.mail.mud.yahoo.com with NNFMP; 08 Oct 2009 17:03:11 -0000 X-Yahoo-Newman-Id: 915435.10826.bm@omp424.mail.mud.yahoo.com Received: (qmail 31435 invoked from network); 8 Oct 2009 17:03:11 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=prodigy.net; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Mime-Version:Content-Transfer-Encoding:Message-Id:Content-Type:To:From:Subject:Date:X-Mailer; b=i8C+BCyaeWXK0/TSyApX+gyo6VKPQ3WadFfcLk5Ok4Ji74pt/7LO8iG2dxRM9CAvIvqnnVghNTMHBoC3WqUCeUE3RlAPSA7PqI9EtJYadre3+EFODaMsBTyBObVEZbGbUCQNPGyGZVDSu19mt6B218MNxvMzWvQqY25nZ+c0adQ= ; Received: from (jekillen@75.7.236.228 with plain) by smtp109.sbc.mail.sp1.yahoo.com with SMTP; 08 Oct 2009 10:03:11 -0700 PDT X-Yahoo-SMTP: 46rcWa.swBDnY9zvhIrsU2awgPSTQgUKFFrFJjEU8wwG X-YMail-OSG: RfsLl1EVM1mus9mWD0b3Gx4wv6MIuVznf8bTnJv9WQZh.qYBuTXUYKFMhXu0cr5aUejru2Ouk8RCvl89PdAf4ScE7c4Oxg66BcSkXqWtdrWQrpjbGaYfRRYh2Hikp8f2mjnzClF7CZLkHpa.86EjH_lTdS2caHDf3B09aBoqZ8cHTSWdLQnIdhO5rkXLjK4.SMjmqaxqZhLVY6pR3UDXvxKSbxvfwrrN3tem9CTDUA15Yrces4qKyp0bE3UfbvKtLQtoxZUD2fn0V0MT4c9jUwM6KTNssEB5sy2E X-Yahoo-Newman-Property: ymail-3 Mime-Version: 1.0 (Apple Message framework v622) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-questions@freebsd.org From: jeffry killen Date: Thu, 8 Oct 2009 11:02:43 -0700 X-Mailer: Apple Mail (2.622) Subject: salvaging hard drive contents 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: Thu, 08 Oct 2009 17:15:46 -0000 > 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? response to above query------------------- There will be no conflict. All the magic as to 'wher to mout what' is in the /etc/fstab file. because it doesn't know about the disk you're adding, ther won'tbe any conflicts. Simply use the long form of mount(1), to wit: "mount devicename mountpoint", and mount it on any convenient location, say '/mnt'. -------------- Now I have the hard disk I want to recover mounted but please for give me for being in the learning phase, but how to I cd on to this drive? I mounted it using the suggested 'mount -r (in this case ad12s1d) /var' now how do I actually read it? I tried cd ad12s1d/var and I got the 'file does not exist' response. If I do cd /; ls -la I do not see an added entry. Thanks for suggestions, info, etc Jeff K