Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #159715 > unrolled thread

How to recovery disc partition table?

Started bySerkan KURT <ssserkkk@yahoo.com>
First post2015-10-24 07:40 +0200
Last post2015-10-24 16:40 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.debian.user

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  How to recovery disc partition table? Serkan KURT <ssserkkk@yahoo.com> - 2015-10-24 07:40 +0200
    Re: How to recovery disc partition table? Mario Castelán Castro  <marioxcc.MT@yandex.com> - 2015-10-24 16:30 +0200
      Re: How to recovery disc partition table? Mario Castelán Castro  <marioxcc.MT@yandex.com> - 2015-10-24 16:40 +0200

#159715 — How to recovery disc partition table?

FromSerkan KURT <ssserkkk@yahoo.com>
Date2015-10-24 07:40 +0200
SubjectHow to recovery disc partition table?
Message-ID<qmZIB-7NK-7@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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?

[toc] | [next] | [standalone]


#159726

FromMario Castelán Castro <marioxcc.MT@yandex.com>
Date2015-10-24 16:30 +0200
Message-ID<qn7Zw-2Se-11@gated-at.bofh.it>
In reply to#159715
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.

[toc] | [prev] | [next] | [standalone]


#159728

FromMario Castelán Castro <marioxcc.MT@yandex.com>
Date2015-10-24 16:40 +0200
Message-ID<qn89c-341-9@gated-at.bofh.it>
In reply to#159726
This <http://www.dedoimedo.com/computers/linux-data-recovery.html> is a 
summary of using TestDisk, it doesn't describe the same procedure I 
described, and it misses some important information that I included. 
Again, do your own research.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web