Mount encrypted volumes from command line

If you try to mount encrypted volume, you might get the error:
mount: unknown filesystem type 'LVM2_member'
mount: unknown filesystem type 'crypt-luks'
Here's what worked (/dev/sdb5 is the partition on my hard disk marked as crypt-luks):
udisksctl unlock -b /dev/sdb5
udisksctl mount -b /dev/mapper/fedora-root
After entering my encryption passphrase after being prompted on the the first step, I then ended up with:
Mounted /dev/dm-1 at /run/media/f8cf82c0-f0a3-41b3-ab28-1f9d23fcfa72
From there I can access the data.

Post a Comment

Featured Post

Updated Coupons / promo codes for Google Apps for Work / Business

To redeem: 1. Sign up for Google Apps   2. Go to your billing settings  3. Choose your payment plan  4. Enter your promo code ...