LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 11-30-2005, 04:32 PM   #1
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 48
Ugent:help recovering deleted data


hello, I just did a very silly mistake. I had some important data on one of my partitions of the hard disk and by mistake I just delete the partition...Here is what I did exactly:

mount /dev/hda7 /mnt/test
rm -rf /mnt/test

Please help me. I need to recover the data. I am using a Debian system.


Last edited by kushalkoolwal; 11-30-2005 at 11:16 PM.
 
Old 11-30-2005, 11:12 PM   #2
lencinal
LQ Newbie
 
Registered: Oct 2004
Location: Buenos Aires, Argentina
Distribution: debian
Posts: 3

Rep: Reputation: 0
ext2 or ext3?

if you use ext2, you can recover your data with the command "recover /dev/hda?". If you use a ext3 you are in a big problem.
 
Old 11-30-2005, 11:18 PM   #3
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 48
Re: ext2 or ext3?

Quote:
Originally posted by lencinal
if you use ext2, you can recover your data with the command "recover /dev/hda?". If you use a ext3 you are in a big problem.
Yes I am using ext3..... does anyone knows about some propritary software which can help me?
 
Old 11-30-2005, 11:19 PM   #4
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
I ran "apt-cache search recover" and that returned a list of applications of which "e2undel" and "recover" seem to be useful for recovering data from ext2 filesystems and "testdisk" might be another useful program. Try "apt-cacche show e2undel", "apt-cache show recover" and "apt-cache show testdisk" to see if any of these utilities seem to fit for your purposes.

I have never myself tried to recover deleted data, so I don't know if this is possible or not. A google search for "recovering data" (maybe added with "Linux") or something similar might produce more useful information on the subject.

You should always backup all your important data. There's a new graphical backup utility, called "sbackup", available in testing and unstable, plus several command line backup tools.
 
Old 11-30-2005, 11:38 PM   #5
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 48
Thanks for your valuable suggestions. I appreciate it.

I will try to test those tools which you suggested. But if anyone else has any kind of first hand experience please let me know....
 
Old 12-01-2005, 03:15 PM   #6
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 48
WEll none of the tools available over the Internet which claims to recover data even from ext3 partitions work. Never ever use them if you happen to end up in situation like me (look the first post).

Guess I will never be able to recover my data. I should have been more careful.
 
Old 12-01-2005, 03:48 PM   #7
BillyGalbreath
Member
 
Registered: Nov 2005
Location: Houston Texas
Distribution: Debian Sid
Posts: 379

Rep: Reputation: 31
I dont think iyou can get any of the info back... but I do want to know something...

How do you accidentally type a pretty specific command into the shell?

rm -rf /mnt/test

Seems this would be a very very rare thing to type exactly that on accident...
 
Old 12-01-2005, 05:23 PM   #8
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 48
well I thought that my drive was not mounted so I wanted to clear the /mnt directory and after hitting that I realized that I had actually mounted it. It was a sheer ignorance.
 
Old 12-01-2005, 06:25 PM   #9
Bremsstrahlung
Member
 
Registered: Jul 2005
Location: Maine, USA
Distribution: Debian & Slackware
Posts: 77

Rep: Reputation: 15
There are tons of programs that can recover deleted data from hard drives, but as far as I know none of them are free or open-source, and I don't know how many would work with Linux. But I'm sure that it is possible, just as I'm sure that it's expensive, to do. If you took your data to a place that specializes in these things, they would do it for you, and probably charge a few hundred bucks.
 
Old 12-01-2005, 11:21 PM   #10
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 48
Quote:
Originally posted by Bremsstrahlung
There are tons of programs that can recover deleted data from hard drives, but as far as I know none of them are free or open-source, and I don't know how many would work with Linux. But I'm sure that it is possible, just as I'm sure that it's expensive, to do. If you took your data to a place that specializes in these things, they would do it for you, and probably charge a few hundred bucks.
Really??? can you please tell me if there is any commercial software which can do this thing. I have tried 4-5 evaluation version which are available but none of them even showed me the files(to be recovered, forget saving the files on another harddrive(which they claim to be available in full version))....I don;t mind spending few extra bucks to get my data back if I know for sure shot that the software will work.

thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Recovering deleted files?? DaFrEQ Linux - General 8 09-17-2005 12:28 PM
Recovering a deleted photo hongman Linux - Newbie 1 03-18-2005 12:46 PM
Recovering deleted Data in Redhat 9 linuxeagle Linux - Networking 0 05-29-2004 12:33 PM
Recovering Deleted Files Brian of Gep Linux - Newbie 1 03-02-2004 02:26 AM
Recovering deleted data Korff Linux - Software 13 06-23-2003 01:58 AM


All times are GMT -5. The time now is 08:57 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration