lvm2 and cryptsetup packages.
dm-mod module.
#modprobe dm-mod
#cryptsetup luksOpen /dev/HARDDISK DEVICENAME
#lvmdiskscan
#vgchange -ay
# ls -l /dev/mapper
crw-rw---- 1 root root 10, 63 May 2 11:43 control
brw-rw---- 1 root disk 254, 0 May 2 11:50 DEVICENAME
brw-rw---- 1 root disk 254, 3 May 2 11:58 vgcrypt-lvhome
brw-rw---- 1 root disk 254, 1 May 2 11:58 vgcrypt-lvroot
brw-rw---- 1 root disk 254, 2 May 2 11:58 vgcrypt-lvscratch
#mount /dev/mapper/vgcrypt-lvroot /hda/root/
References
How to encrypt a diskdrive in (X)Ubuntu Feisty with dm-crypt and LUKS
How to mount a Logical Volume from another drive in LinuxDM-Crypt riseup labs
No comments:
Post a Comment