Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I dual boot windows and ubuntu 10.04. I accidentally did an rm -r * in my home directory and deleted a bunch of files and folders that I need to recover. How can I recover these files from my windows xp partition? If there's isn't a way to do this from windows, what's the best way to do it in ubuntu? I'd prefer a graphical interface if that's possible. I appreciate the help.

share|improve this question
    
If you can avoid booting into Ubuntu, do it. Ubuntu will start using diskspace marked now as "free" for newly created files (writing over your deleted files), so if you can do it from windows, or a live boot disk of Ubuntu, you have a better chance of restoring all your files. – Jarvin Jun 14 '10 at 18:04
up vote 0 down vote accepted

In Ubuntu you're pretty much screwed if you do a command line rm -r *. Had you done it via gnome graphical interface you could just restore from trash. If what you're saying is that you mounted an NTFS filesystem with Ubuntu and did the rm inside that directory, then you might have a chance. This URL might apply... http://superuser.com/questions/6810/best-undelete-tool-for-ntfs-fat

NOTE THE CAVEAT - you must not have used programs that write to the disk where the deleted files live.

GOOD LUCK - and make backups next time :-)

Hotei

share|improve this answer

You can try some of Recovery Tools from Hiren's BootCD.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .