Open a Luks encrypted file system

This post is just to remind me how to unlock my encrypted hard drive. It’s set to utilize the device mapper and mount to /home/matt/extra.

[root@mattcom1 ~]# cryptsetup luksOpen /dev/sda extra
Enter LUKS passphrase for /dev/sda:
key slot 0 unlocked.
Command successful.
You have new mail in /var/spool/mail/root
[root@mattcom1 ~]# mount -t ext4 /dev/mapper/extra /home/matt/extra

Written by mattb in: Linux | Tags: , , , , ,

No Comments »

RSS feed for comments on this post. TrackBack URL

Leave a comment