XFCE + encrypted partition inside LVM

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1483
Joined: Fri Aug 29, 2003 8:39 pm

XFCE + encrypted partition inside LVM

Post 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!
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply