dietpi_userdata on dm-crypt/LUKS USB drive possible?

If i format an external USB3 drive with dm-crypt/LUKS encryption mode, will i be able to move the dietpi_userdata folder to this drive?

What will happen if i reboot, since some of the dietpi-services will not be able to access their data until i manually decrypted/mounted the drive?

Thanks!

Hi,

yep you could encrypt an USB drive using dm-crypt/LUKS encryption. However moving dietpi_userdata will break your system.

Thanks for your reply Joulinar , i’ve added a feature request on github: https://github.com/MichaIng/DietPi/issues/3377