LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-08-2009, 03:03 PM   #1
joulaei
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
How to recover deleted directory in Ubuntu 8.04?


Dear friends,
I deleted a directory in Ubuntu 8.04 by rm -rf command. Now I need to recover it and I don't know how to do that.

Please if any one knows how to do that let me know. This is the directory of my PhD thesis which need to be prepared soon and no backup is available. Please help me.

Thanks
 
Old 02-08-2009, 03:27 PM   #2
pentode
Member
 
Registered: Dec 2005
Location: Oregon
Distribution: Debian Testing
Posts: 488

Rep: Reputation: 38
Yikes!

Since you really need this data - I would not screw around - buy a copy of Spinrite and try that. There maybe other ways, but this generally seems to always be mentioned as the gold standard of data recovery from hard drives.

http://www.grc.com/sr/spinrite.htm

Someone else with more experience may be along to give you some better ideas, but that is where I would start.
 
Old 02-08-2009, 03:28 PM   #3
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Hi!
What kind of files were in that directory,txt or something else?
 
Old 02-08-2009, 03:44 PM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
If you really intend to recover this, unmount the involved partition as soon as possible.

Each second that passes by with the drive being mounted as read/write your chance to recover anything decreases.

After that, I suggest to make a backup or the whole device using dd.

And after that, you can start to experiment with any tool(s) of your choice without fear of destroying anything. However there's absolutely no way to warrant that you are being able to recover any -meaningful- thing. Even if you buy the most expensive software in the world. If the data has been overwritten by anything else you can say bye.

I think that it doesn't need to be said by now, but next time if you value something, do backups and save them in a different physical location.

Last edited by i92guboj; 02-08-2009 at 03:51 PM.
 
  


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
Any application to recover deleted files in Ubuntu 8.10 vibinlakshman Linux - Software 4 12-13-2008 01:43 AM
I have deleted rc.d from /etc. How can I recover it? rupeshukla Linux - Newbie 5 07-01-2008 05:21 AM
is it possible to recover deleted files under Ubuntu vansch76 Linux - Newbie 8 12-11-2007 07:51 PM
Deleted a directory! Can I recover it? 360 Linux - General 2 02-11-2003 12:23 PM
Deleted Directory, how to Recover ?? GT I.N.C Linux - General 5 11-19-2002 09:20 AM


All times are GMT -5. The time now is 08:33 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration