Mount encrypted QNAP disk (crypto_LUKS) on an external computer

To mount and read data from a disk encrypted with crypto_LUKS (for example from a QNAP backup), use cryptsetup as per the below:

Install cryptsetup if not already installed:

Unlock the disk (in this case /dev/sdb1 – adjust based on the device you wish to unlock). Select a good name for the unlocked disk. In this case we use “cryptodisk” but any name will work:

The disk will be listed under /dev/mapper/. In this case /dev/mapper/cryptodisk:

Now data can be accessed as normal via the mount point /home/user/mount/usb/

To unmount, do the following:

Finally lock the disk:
sudo cryptsetup luksClose cryptodisk[/code]

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.