[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Adding encrypted drive to encrypted system post installation



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

Attachment: pgptVqEiqGQak.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]