Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Nov 2008 14:20:55 +0100
From:      Pieter de Goeje <pieter@degoeje.nl>
To:        freebsd-questions@freebsd.org
Cc:        Gonzalo Nemmi <gnemmi@gmail.com>
Subject:   Re: tool to recover fat partition
Message-ID:  <200811131420.56138.pieter@degoeje.nl>
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 Wednesday 12 November 2008, Gonzalo Nemmi 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 :)
>
> Regards

If the destroyed parition is an UFS partition, you could try fsck_ffs'ing it. 
Hopefully some superblock backups are still intact. Just to be extra safe, 
copy the entire partition to a file, create an md device from it and fsck the 
md device.

-- 
Pieter de Goeje




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