[dm-crypt] question

Matthias Schniedermeyer ms at citd.de
Thu Dec 11 23:04:53 CET 2014


On 11.12.2014 18:30, Sayler, Craig A. (AFRC-MI)[InuTeq, LLC] wrote:
> Is there a way to decrypt a drive permanently with out reinstalling?

Yes.

But the much safer way is:
Backup, make a new filesystem on the previous backing-device & Restore 
from backup.


The unsafe(!) 'inplace' method (that as an advantage doesn't need 
additional storage):
Just open the container normally, 'dd' the mapped container over the 
backing device and pray that process isn't interruped. Because it will 
be a huge PITA if it gets interruped.


But don't risk it, Backup & Restore is the way this should be done.




-- 

Matthias


More information about the dm-crypt mailing list