Mounting a lvm crypted device via the command line

On January 19, 2009, in Linux, by Chris Carey

#cryptsetup luksOpen /dev/HARDDISK DEVICENAME
#lvmdiskscan
#vgchange -ay
#ls -l /dev/mapper
#mkdir /media/crypt
#mount /dev/mapper/DEVICENAME /media/crypt

Tagged with:  

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>