Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Nov 2008 10:46:16 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Gonzalo Nemmi <gnemmi@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: tool to recover fat partition
Message-ID:  <20081113104616.a8dee951.freebsd@edvax.de>
In-Reply-To: <200811121832.14105.gnemmi@gmail.com>
References:  <200811121832.14105.gnemmi@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 12 Nov 2008 18:32:14 -0200, Gonzalo Nemmi <gnemmi@gmail.com> wrote:
> So ...
> 
> newfs_msdos /dev/insert_typo_in_here
> 
> .. new filesystem succesfully created ... lost partition on the wrong 
> drive ...
> 
> Is there a tool to recover the files on said partition in FreeBSD (7 release)?
> 
> Thanks for you help :)

It seems my problems can at least be helpful to someone else. :-)

There are many good tools for recovering data from MSDOS partitions,
but you'll have to check which one serves your particular needs best,
depending on the amount of damage done to the file system.

>From the ports, there's magicrescue in the first place for file
recovery. To scan and repair disk partitions, you can use testdisk.
If everything else fails, go use the basics: The Sleuth Kit with
its dls, dls or ils tools. There's helpful documentation installed
that gives informations not mentioned in the manpages.

I would recommend you do first do a dd copy of the drive, just in
order to do no harm to the partition where your important files
are located. Then, do all operations on the dd image, it's mich
more safe. If dd is not possible, use dd_rescue or ddrescue. For
most operations, it's good to use mdconfig to "put" the dd file
onto a md device which is then used by the particular program.

I can imagine how you feel about data loss, so good luck!



-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081113104616.a8dee951.freebsd>