Page 1 of 1

XFCE + encrypted partition inside LVM

Posted: Tue Feb 28, 2012 2:27 am
by ^rooker
My plan was to mount an encrypted home partition, stored inside an LVM - on an external drive (On Xubuntu 11.10 Oneiric).

Install the package "lvm2" in order to the commandline tools needed:

Code: Select all

apt-get install lvm2
In order to access the LVMs with a file manager (e.g. Thunar), do the following:

Code: Select all

pvscan
vgscan
vgchange -a y
lvscan
Afterwards, the partitions appeared in my file manager.
When I tried to open an encrypted one, it asked me for my password and then stopped with the following error message:
Error starting job: Failed to execute child process "cryptsetup" (No such file or directory).
So I installed the package "cryptsetup" and then tried it again: It worked!