Adding encrypted drive to encrypted system post installation

Till Maas opensource at till.name
Sat Sep 26 18:02:03 UTC 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20090926/64aa1a53/attachment.bin 


More information about the devel mailing list