Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 1
    You want an encrypted partition or an encrypted filesystem? Linux-only? Commented Mar 29, 2018 at 18:21
  • Reformatting the partition every time you boot up means nothing on that partition will be saved after shutting down. Have you considered just using a strong password with whole disk encryption and not using that password for anything else? Commented Mar 29, 2018 at 18:42
  • 2
    Have a look into dm-crypt, you can set up an encrypted partition to use, say /dev/urandom as a keyfile (Causing the partition to effectively be useless on reboot). However no matter what, you will need to format the partition during boot. Commented Mar 29, 2018 at 19:05
  • 1
    Yes, the idea is keeping data only while runnning without any possibility of recovering after reboot. Commented Mar 29, 2018 at 20:00