You are not logged in.

#1 2011-10-27 07:49:29

roina
Member
Registered: 2010-06-04
Posts: 25

[SOLVED] How to recover removed partition?

Hello.
I had 600 GB usb drive with a lot of information. It's structure was created via Palimpsest program in a such way:
1)Format drive
  1a)Scheme: Don't partiton. Click: Format.
  1b)Are you shure? Click: Format.
2)Format volume.
  2a)Type: Ext4.  Click: Format.
  2b)Are you shure? Click: Format.

So, it hasn't partitions as /dev/sdc1, /dev/sdc2 etc, but entire device partition /dev/sdc.
Accidentally, when I decided to format another 8 GB usb-stick in the same way, I applied steps 1-1a-1b on 600 GB usb drive. So the drive was cleaned. But the data is still on it, because this steps are concerning partition table (it takes some seconds), and not disk content.

Are any ways to return everything in original state?
I tried testdisk, bit it doesn't find any files.
Thanks for possible help.

Last edited by roina (2011-11-21 16:48:56)

Offline

#2 2011-10-27 10:28:23

JazzPotato
Member
Registered: 2011-10-22
Posts: 39

Re: [SOLVED] How to recover removed partition?

I doubt you can roina, sorry. However, sometimes when i have formatted a disc, it never returns to its original size, as if it still has the files on it. Try showing hidden files (ctrl+h in nautilus)


Tea, Earl Grey, hot

Offline

#3 2011-10-27 11:34:15

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,686

Re: [SOLVED] How to recover removed partition?

roina wrote:

Are any ways to return everything in original state?
I tried testdisk, bit it doesn't find any files.
Thanks for possible help.

Hello

My guess is that you are out of luck if TestDisk didn't work for you, but you could give Foremost a try just to see what happens:

http://foremost.sourceforge.net/


oz

Offline

#4 2011-10-28 04:13:21

thinmintaddict
Member
Registered: 2010-12-17
Posts: 4

Re: [SOLVED] How to recover removed partition?

I know for windows there is an awesome program called Recuva which would work nicely in this situation. I'm sure there has to be a linux program of this type, which can read the drive directly and look for files on missing partitions. Let me know if you find anything.

EDIT. Nevermind, thats what i get for posting without researching. TestDisk is such an application. If it doesnt find anything than I'm afraid you're probably out of options.

Last edited by thinmintaddict (2011-10-28 04:17:32)

Offline

#5 2011-11-21 16:38:01

roina
Member
Registered: 2010-06-04
Posts: 25

Re: [SOLVED] How to recover removed partition?

Nevertheless I solved this problem. Yes, testdisk didn't find any files on the drive, but it correctly determine the type of the previously deleted partition (ext4) and wrote the recipe for forthcoming actions "fsck.ext4 -p -b superblock -B blocksize device". I substituted my options:
fsck.ext4 -b 32768 -B 4096 /dev/sdd
and restored etherything. I checked this method on another USB-stick by comparison of md5sums bethore deletion and after restoration: they were identical.

During finding solution I also tested one program for windows which was also capable for undeliting in this situation, but it's free version undeleted only files less than 64kB. So the first described method works perfect.

Offline

Board footer

Powered by FluxBB