[arch-general] crypttab support for non-root devices with systemd

Dave Reisner d at falconindy.com
Sat Dec 8 15:21:39 EST 2012

On Sat, Dec 08, 2012 at 09:08:28PM +0100, Karol Babioch wrote:
> Hi,
> I've installed Arch on a system with a two "disk" setup, where the first
> disk is a SSD, which I'm booting from. The second disk is an encrypted
> software RAID with LVM on top.
> Now obviously I want the second "disk" to be unlocked and mounted
> automatically on boot. This was no problem in the past.
> Now with systemd it seems to be harder. At least I get asked for the
> password on boot. This will unlock the device, however afterwards I have
> to activate the LVM and mount it manually.
> Is this already supported out of the box? The wiki mentions something
> about scripts, which may be changed, but I would like to have something
> more solid than self made scripts, which may break with every update in
> the future.
> Best regards,
> Karol Babioch

In core/lvm2 there's an lvm-on-crypt.service which you can enable. In
testing/lvm2, you only need lvm-monitoring.service.

More information about the arch-general mailing list