dietpi_userdata on dm-crypt/LUKS USB drive possible? Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
Indigo
Posts: 5
Joined: Wed Nov 27, 2019 3:52 pm

dietpi_userdata on dm-crypt/LUKS USB drive possible?

Post by Indigo »

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!
User avatar
Joulinar
Posts: 2020
Joined: Sat Nov 16, 2019 12:49 am

Re: dietpi_userdata on dm-crypt/LUKS USB drive possible?

Post by Joulinar »

Hi,

yep you could encrypt an USB drive using dm-crypt/LUKS encryption. However moving dietpi_userdata will break your system.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Indigo
Posts: 5
Joined: Wed Nov 27, 2019 3:52 pm

Re: dietpi_userdata on dm-crypt/LUKS USB drive possible?

Post by Indigo »

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