I would like to have a DietPI as a server for luks encrypted shares (or similar) being exposed by dietpi as a server.
I saw there are future plans to load encrypted remotes shares by means of dietpi-drive_manager. see here
Seems there is no current support, but anyway I would like to validate the following plan:
I can make a normal debian install (to be converted later to Dietpi using your script) to prepare a partition using luks (to store data) and mounting it at /etc/fstab as a /dev/mapper device
In fact I can mount that partition manually after dietpi boots, but I want that partition be mounted and used by dietpi to serve nfs or smb shares.
Is it necessary to make some startup scripts to unlock that partition and then be used by DietPI?
Thanks in advance for your advice and guidance to make some progress.
I do not want a “BIG” linux install just for a NFS+SMB Server
First complete the DietPi install. Once done you can create the luks encrypted partition. Doing the other way around might not going to work, because out install script will remove all packages not part of DietPi initially
for testing and to exclude something related to disc encryption, change NFS server export to something on local storage like /mnt and try to mount on your slackware system.