I recently installed xubuntu with /home/ encryption on one of my partitions. I would like to know:

  1. Can files deleted normally be recovered?
  2. How can I safely overwrite already deleted files in /home/?

I tried testdisk, what gave me the normal "Directory unmounted to protect your files" message.


  • please could you elaborate on what you mean by safely overwrite already deleted files . Are you talking of similarly named files in /home/ ? – George Udosen Dec 10 '16 at 10:00
  • With "safely overwrite already deleted files" I mean, I can't use tools like wipe, because the file is already deleted "unsafely", I want it to be overwritten. – L. Wat Dec 10 '16 at 10:10
  • 1. Yes. 2. shred them maybe – grooveplex Dec 10 '16 at 13:14
  • look here – George Udosen Dec 10 '16 at 13:16
  • I cant find any tools that allow secure ereasing when the tool is alredy deleted. – L. Wat Dec 10 '16 at 15:23

Files that are deleted "normally" are actually just moved to a Trash folder. If you haven't emptied your trash folder, you can use tools like shred to wipe them. If you have already emptied your trash folder, then the remanents of those files could be anywhere on the disk partition that holds your home directory. You can use shred to wipe an entire disk partition, but that may not be practical if your home and root directories are on the same partition. If your /home directory is on a separate partition, you can probably boot into single user mode and then run shred on the entire partition where /home directories are (this will eliminate ALL data there, including your and other peoples home directories). Back it all up before trying this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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