You are not logged in.

#1 2013-05-28 08:13:45

arcon
Member
Registered: 2013-05-27
Posts: 128

How to recover deleted data.(Help)

Hi!!

My stupidity reached the mountains when i idiotily deleted my whole disk with important data, please somebody tell me how to do it.

Actually i used linux live cd on my window machine and accidently deleted my whole drive (NTFS).

But i somehow used testdisk to recover the data and it was perfecty recovered until i rebooted the system which left my system with no os(do't know what happened actually).

So now i installed Arch on the same system and now test disk shows every partitions of the NTFS disk to recover but the one i needed.

It's the images what i needed and no success with photorec.

Please somebody tell me how can i get those images. sad


The short cuts are only short because they don't actually go anywhere. -- Trilby
Nothing feels better than being understood -- awayand
A pathetic dreamer smile

Offline

#2 2013-05-28 08:14:36

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: How to recover deleted data.(Help)

Moving to Newbie Corner...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-05-28 17:07:33

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: How to recover deleted data.(Help)

arcon wrote:

...accidently deleted my whole drive (NTFS).

Your drive DATA was deleted by which command / program ?

Last edited by teateawhy (2013-05-28 17:08:05)

Offline

#4 2013-05-28 17:47:14

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: How to recover deleted data.(Help)

Have you read the wiki page for data recovery? https://wiki.archlinux.org/index.php/File_Recovery

(It's the same advice I just posted here: https://bbs.archlinux.org/viewtopic.php?id=164160)

Offline

#5 2013-05-29 07:02:14

arcon
Member
Registered: 2013-05-27
Posts: 128

Re: How to recover deleted data.(Help)

Actually i did recover the data using testdisk but after restarting i got an bios error "couldn't find any system on disk"
(And again that data was lost, I think testdisk put some MBR code, done some stupid job)


And now,  when i am running testdisk every other deleted partion is showing up but the one i previously recovered.

Here,  i want to know what i am doing wrong or what i did wrong.

Last edited by arcon (2013-05-29 07:05:27)


The short cuts are only short because they don't actually go anywhere. -- Trilby
Nothing feels better than being understood -- awayand
A pathetic dreamer smile

Offline

#6 2013-05-29 13:41:13

Arctus
Member
Registered: 2012-07-14
Posts: 99

Re: How to recover deleted data.(Help)

Where did you install Arch?

Offline

#7 2013-05-29 15:20:45

arcon
Member
Registered: 2013-05-27
Posts: 128

Re: How to recover deleted data.(Help)

That deleted partition was /dev/sda1.

I installed arch on /dev/sda5.

But i got some problem with grub and executed dd if=/dev/zero of=/dev/sda bs=512 count=1

After this /dev/sda1 was gone, and i installed arch on a new primary partition.

Here i think my new arch installation was written on the same partition that i needed and all the data was overwritten by arch.

The thing is testdisk is not showing that particular drive after a deep search but all other(deleted partitions). Why??

And is there any method to recover overwritten data.


The short cuts are only short because they don't actually go anywhere. -- Trilby
Nothing feels better than being understood -- awayand
A pathetic dreamer smile

Offline

#8 2013-05-29 20:32:42

Arctus
Member
Registered: 2012-07-14
Posts: 99

Re: How to recover deleted data.(Help)

Your dd command probably replaced the start of the partition, so I would guess, that if you remade the partition in the same way as it was, it would be possible to recover the data.
However, I'm in no way an expert, so I would do some research on the subject before doing anything.

Offline

#9 2013-05-29 20:40:43

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: How to recover deleted data.(Help)

I think you might be hosed at this point.  In the future, if you want to recover data from a situation like this, the last thing you want to do is write anything to the disk.  You went and installed a whole operating system on it.

This will probably do you no good now, but next time this happens (which hopefully it won't), get another disk of the same size or larger and dd the entire disk to recover onto the new disk.  Then work off the new disk to try to recover the data.  Do not touch the messed up disk.  Ideally it should not even be left in the machine for longer than is needed to dd it to another disk.

Offline

#10 2013-05-30 08:34:12

arcon
Member
Registered: 2013-05-27
Posts: 128

Re: How to recover deleted data.(Help)

Thanks guys for your suggestions smile
I think i just made a sacrifice to get arch on my system.

Now i am arched and i learn a little about my stupidity as well as some non-stupid things.

Though i heard somewhere "data never dies" so it must be somewhere there, but for now i don't have enough info/resources to get them out.


The short cuts are only short because they don't actually go anywhere. -- Trilby
Nothing feels better than being understood -- awayand
A pathetic dreamer smile

Offline

#11 2013-05-30 08:36:13

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: How to recover deleted data.(Help)

arcon wrote:

Though i heard somewhere "data never dies" so it must be somewhere there, but for now i don't have enough info/resources to get them out.


Data always dies: that is why you always have backups...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#12 2013-05-30 08:51:10

arcon
Member
Registered: 2013-05-27
Posts: 128

Re: How to recover deleted data.(Help)

jasonwryan wrote:

Data always dies: that is why you always have backups...

Thanks for replying admin
i was trying to be positive with that quote but as you say
i don't want to met with another problem like that anymore, but i fall again in such a situation i am surely be ready with all the backups and cloning.


The short cuts are only short because they don't actually go anywhere. -- Trilby
Nothing feels better than being understood -- awayand
A pathetic dreamer smile

Offline

Board footer

Powered by FluxBB