Re: tool to recover fat partition

2008-11-13 Thread Polytropon
On Wed, 12 Nov 2008 18:32:14 -0200, Gonzalo Nemmi [EMAIL PROTECTED] 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, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tool to recover fat partition

2008-11-13 Thread Polytropon
On Wed, 12 Nov 2008 18:32:14 -0200, Gonzalo Nemmi [EMAIL PROTECTED] 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, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tool to recover fat partition

2008-11-13 Thread Pieter de Goeje
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

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tool to recover fat partition

2008-11-13 Thread Pieter de Goeje
On Thursday 13 November 2008, Pieter de Goeje wrote:
 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.

Nevermind, didn't read the subject ;-). 
On topic, sysutils/fatback seems promising.

-- 
Pieter de Goeje

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tool to recover fat partition

2008-11-12 Thread Kevin Kinsey

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


Ouch, feel your pain.  I've used sysutils/ddrescue for recovery
from a FAT partition, but I'm not at all sure if it will help in
your situation.

Kevin Kinsey
--
Seems this guy showed up at a party, and all of his friends jumped for
Joy.  But she sidestepped, and they missed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tool to recover fat partition

2008-11-12 Thread Polytropon
On Wed, 12 Nov 2008 18:32:14 -0200, Gonzalo Nemmi [EMAIL PROTECTED] 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, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tool to recover fat partition

2008-11-12 Thread Wojciech Puchar
no idea. there are tools if your data was only jpeg images - 
ports/graphics/recoverjpeg


but there are such tools for DOS and windoze. you may use qemu to run them


On Wed, 12 Nov 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
--
Blessings
Gonzalo Nemmi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tool to recover fat partition

2008-11-12 Thread Peter Boosten
Wojciech Puchar wrote:
 no idea. there are tools if your data was only jpeg images -
 ports/graphics/recoverjpeg
 
 but there are such tools for DOS and windoze. you may use qemu to run them
 

Maybe you can reconstruct the partition with forensics software like
sleuthkit (in ports) or helix3 (http://www.e-fense.com/helix/)

Peter

-- 
http://www.boosten.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]