Mount encrypted harddrive

  • Hi all,

    I have a x64 Gerneric LibreElec machine that I use as a TVHeadend Server. It works great since years! So first of all thank you for that!

    Now I'd like to add a SSD as backup drive mounted via SMB, what should be easy. But I'd like to have the SSD encrypted. So everytime the LibreElec gets restarted or the SSD got's plugged off, it should need a password (e.g. via SSH). Since I'm a Linux beginner I could not figure out how to do that. Can anyone help me out with a step-by-step tutorial? This would be great!

  • sky42 maintains an LE image for x86_64 devices that includes support for encrypted drives (our default image intentionally does not support this). The drive needs to have a Linux filesystem, e.g. EXT4 and be locally mounted. You can then share the drive over SMB if desired but as it's already locally mounted there's no value (only pain) in trying to locally mount the drive a second time as a remote SMB share.

    Have a read of his thread LE 12 added lvm2, luks (dm-crypt, veracrypt, bitlocker), mdraid, ext4 encryption