On Sat, Sep 26, 2009 at 11:36:28AM +0100, Tim Waugh wrote:
I've now set up another encrypted drive (for backups), and want
to add
it to the system so that it is mounted automatically. It uses the same
encryption password.
I can't find how to do this though, and the things I've tried have
failed:
* adding it to /etc/fstab by LABEL
* adding it to /etc/fstab by UUID
I'm not clear on how the existing encrypted partitions get unlocked but
I think perhaps dracut does it? I get prompted for the encryption
password during boot.
You need to edit /etc/crypttab (man crypttab) to create a mapping for
unencrypting the partition and /etc/fstab to mount the unencrypted
volume.
Regards,
Till