Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.