Kitaab

Decrypt you LUKS-LVM encrypted harddrive

cli linux tip

published 2022-05-27 23:23

updated 2022-05-27 23:23

Open

sudo cryptsetup luksOpen /dev/sd<yourEncryptedDiskId> <aNameThatwillBeCreatedIn:Dev/mapper>

Close

sudo vgchange -a n /dev/<device>
sudo cryptsetup luksClose <aNameThatwillBeCreatedIn:Dev/mapper>