I have a LUKS encrypted hard drive consisting of one single partition for the whole hard drive and it's encrypted with LUKS, I was wondering if I wanted to decrypt the disk completely(remove the encryption scheme) but retain the data is that possible or do I have to back the data up first.
td;lr = decrypt a LUKS disk completely without losing data, possible? how? or do I need to back it up first.
You can either unlock the drive, copy all data to an external drive, reformat the encrypted drive and copy all your data back (I think this is what you mean by backup) or have your system enter your password at boot for you per this answer.
Add this at the end of the relevant line in
/etc/crypttab
:Create the file /root/lukspw
with the content (replacing "password" with your actual password):
And make it executable:
And update the initrd:
Drive is still encrypted but now no password is needed