[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to recovery disc partition table?



El 24/10/15 a las 00:37, Serkan KURT escribió:
Hi friends.
I have a 1TB disc.

    - My disc formatted ext4 before.
    - I accidentally created new partition table on my disk.
    - Unfortunately, I accidentally formatted ntfs.


Can I recovery my disc partition table and/or my directorys and files smoothly?

Yes, use your backup if you have one. *You must have a good backup schedule*; unless your data is worthless, it is not optional. But since you are asking, I suppose that you don't have backups.

Erasing the partition table is not a big problem as long as you do not modify the filesystems; if the filesystems were intact, you just would have to locate them and then reconstruct your partition table accordingly.

However, you mentioned that you formatted the new partition as NTFS; that likely has overridden some or all of the former filesystem. Recovering the partition will not be trivial and may be effectively impossible; it is unlikely to be "smooth". Avoid writing to the NTFS filesystem, do not mount it.

I recommend that you create an image of your entire hard disk and store a backup of it (so that you will have 2 copies plus the hard disk) *before* modifying the contents of that hard disk. That way there is less chance that you will lose the remaining data, and you will be able to attempt to recover more data later with a different procedure.

TestDisk <http://www.cgsecurity.org/wiki/TestDisk> will help you find your former partition. Beware that it is likely damaged; you will have to use fsck to try to repair it. Also attempt to recover individual files with <http://www.cgsecurity.org/wiki/PhotoRec>; that will generate some duplicates. You can use a hash tool like "sha1sum" to identify and discard duplicates. Don't continue using the restored ext4 filesystem (if you can restore it in the first place); instead copy all the information you recover and care for elsewhere, then make a *new* ext4 filesystem in your working hard disk and copy the information into it.

Do your own research. There is much information in the web.


Reply to: