Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jan 2009 19:13:54 -0800
From:      perryh@pluto.rain.com
To:        fbsdlilly@gmail.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Mounting a partition from freebsd 6.2?
Message-ID:  <496ab572.u2DH1w2B2JAcv4M%2B%perryh@pluto.rain.com>
In-Reply-To: <f151ba00901111006t6caf9d96mf269dc8a7a8eb071@mail.gmail.com>
References:  <f151ba00901111006t6caf9d96mf269dc8a7a8eb071@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"mojo fms" <fbsdlilly@gmail.com> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?496ab572.u2DH1w2B2JAcv4M%2B%perryh>