On Thu, Apr 29, 2010 at 5:43 PM, dhk <dhk...@optonline.net> wrote:
> While setting up a new disk I accidentally ran "mke2fs /dev/sda1"
> instead of "mke2fs /dev/hda1".  When I realized the mistake (about 2
> seconds later) I hit Ctrl-C before mke2fs was done.  Now I can't mount
> the drive.  Is there a way to read the drive to get the data off or is
> it unrecoverable?

Before attempting anything I would clone the drive to a spare and then
attempt recovery on the clone. (because sometimes trying to fix it can
just make things worse).

You can try something like testdisk, and of course try fsck first. Or
one of many commercial programs such as those listed here which
probably do the same thing as testdisk:

http://unformat-ext2.qarchive.org/

There's no simple "unformat" command or anything that I know of,
though. Sorry :(

Reply via email to