Mount Cryptsetup Disk
In this section, the guide shows you how to mount/unlock an encrypted disk.
Unlock Encrypted Disk
Unlock Encrypted Disk
To unlock disk, you simply use luksOpen argument followed by the encrypted disk and the LUKS mounting name. The syntax is as follows:
$ cryptsetup luksOpen /dev/<device name> <mounting name>
Example:
$ cryptsetup luksOpen /dev/sda sda_crypt
Verify Unlock Outcome
Verify Unlock Outcome
Once mounted, you should see a new device inside the mapper section with the mounting name, such that:
/dev/mapper/<mounting name>
If we follows the example above, it is:
/dev/mapper/sda_crypt
That's all for cryptsetup disk mounting.