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]
Stopping X windows / dropping to single-user mode
Installing the NVIDIA driver on Linux requires dropping to a command prompt without X windows running in the background.
Switch to root user:
Stop the window manager:
After this X windows will stop and a command prompt will be displayed. The option to enter the root password will be given. Enter it and then install the driver as root. To install the driver, do one of the following:
Option 1:
Option 2:
When done, start X windows again with:
/etc/init.d/gdm3 start