GoGreen PC TuneUp™
Learn More

Insta-Install™
this is how we code sign our software and ssl encrypt our websites from our affiliate partner SSL.com

myBlog

myBlog Home

Back to Blog MTNCOMP


Encrypted LVM partition management notes to self

Published: Saturday, September 21, 2019 written by Drew Jackson
View Count: 68
Keywords: Ubuntu, cryptsetup, luksAddKey, luksRemoveKey



notes to self... with all the encryption management I am having to do, have to stop going back to my sent email folder for these notes...
 

First, you need to find out which is the encrypted LVM partition, it may be sda3, but it can also be sda5, sdX2, ...:

cat /etc/crypttab

Toadd a new password, use luksAddKey:

sudo cryptsetup luksAddKey /dev/sda3

Toremove an existing password, use luksRemoveKey:

sudo cryptsetup luksRemoveKey /dev/sda3

View currently used slots of the encrypted partition:

sudo cryptsetup luksDump /dev/sd3

https://askubuntu.com/questions/109898/how-to-change-the-password-of-an-encrypted-lvm-system-done-with-the-alternate-i

 


if you found this article helpful, consider contributing $10, 20 or so..to the author. more authors coming soon
FYI we use paypal or patreon, patreon has 3x the transaction fees, so we don't, not yet.

© 2019 myBlog™ v1.1 All rights reserved. We count views as reads, so let's not over think it.