From owner-freebsd-questions@FreeBSD.ORG Mon Jan 12 03:13:10 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 094381065670 for ; Mon, 12 Jan 2009 03:13:10 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [199.26.172.34]) by mx1.freebsd.org (Postfix) with ESMTP id DC0BC8FC17 for ; Mon, 12 Jan 2009 03:13:09 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id n0C3D9ce024342 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 11 Jan 2009 19:13:09 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id n0C3D9A7024341; Sun, 11 Jan 2009 19:13:09 -0800 (PST) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA06706; Sun, 11 Jan 09 19:11:46 PST Date: Sun, 11 Jan 2009 19:13:54 -0800 From: perryh@pluto.rain.com To: fbsdlilly@gmail.com Message-Id: <496ab572.u2DH1w2B2JAcv4M+%perryh@pluto.rain.com> References: In-Reply-To: User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Mounting a partition from freebsd 6.2? 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: Mon, 12 Jan 2009 03:13:10 -0000 "mojo fms" wrote: > I was working on an upgrade to 6.3 from 6.2 and I lost power > during the install which hosed most of my system. Instead of > trying to really recover it I decided to just rebuild. I have a > backup of my /etc and /usr/local/etc on a different drive that > should be fine, it was just mounted under /mnt normally and used > for backups. My problem is that I installed 7.1 and was careful > not to erase any data on that drive, but my only options for a > partition to mount is /dev/ad2s1. When I try to mount that it > gives me "mount: /dev/ad2s1 : Operation not permitted", what can > I do to get the data off of it? I only really care about my /etc > information but it would be nice to get all of the information > off of it. Supposing ad2s1 is in fact the slice containing the filesystem in question, and the filesystem was originally made directly on that slice without partitioning it, it should be possible to run dump(8) against it and pipe the output to restore(8). This should work if the slice is readable, even if it cannot be mounted.