LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 10-24-2011, 12:38 AM   #1
paruhang
Member
 
Registered: Aug 2011
Location: /home
Posts: 96

Rep: Reputation: Disabled
Unhappy how to recover data


hellow everybody,
today i have made a great mistake and i was so worried about my data. i remove all my data using rm -rvf /home/paruhang/Desktop/data

so how can i was able to recover all that data, is it possible recover myself because iam new to linux, any kinds of ideas suggestion are accepted. if somebody guide me right way i'll be greatful.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 10-24-2011, 01:28 AM   #2
countach74
Member
 
Registered: Feb 2011
Distribution: Ubuntu 10.04, Debian Squeeze
Posts: 46

Rep: Reputation: 8
It's going to be very difficult to recover that data. The only method I'm aware of is via scanning the raw disk for files or fragments of files. Unfortunately, if you didn't shutdown your computer right after deleting the data, there's a good chance that some of it has overwritten. Unless I'm very mistaken, I'm pretty sure there's not an easy solution to your problem. In Unix systems, the rm -rf command is a very dangerous one--the data is not sent to any sort of trash bin like in Windows: the filesystem drops its references to the data entirely.
 
Old 10-24-2011, 02:38 AM   #3
paruhang
Member
 
Registered: Aug 2011
Location: /home
Posts: 96

Original Poster
Rep: Reputation: Disabled
thankx countach74 for reply.
 
Old 10-24-2011, 04:09 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852Reputation: 4852
1. Start from a live-CD containing the photorec program, most rescue disks have that.
2. Use photorec for scanning the free space.
3. Make a backup of your important data and keep it up to date in future.
 
2 members found this post helpful.
  


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
[SOLVED] Recover data random guy Linux - Software 3 03-27-2010 10:42 PM
Recover data oddvar Ubuntu 2 02-19-2009 05:06 AM
help me to recover data ram_0887 Linux - Newbie 1 02-26-2008 02:57 AM
Recover data from CD neoAKiRAz Linux - Software 1 09-14-2007 12:45 AM
Software to acess and recover data on Fat32 data NeoSpawn Linux - Software 2 09-04-2005 12:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:15 AM.

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