tool to recover fat partition

Pieter de Goeje pieter at
Thu Nov 13 05:57:53 PST 2008

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

More information about the freebsd-questions mailing list