Hi,
When I installed rawhide-nearly-Fedora-12-Alpha a while back, I made sure to encrypt the entire system. Works a treat.
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.
How can I add another encrypted disk to this system so that it is unlocked at boot?
Tim. */
Hi.
On Sat, 26 Sep 2009 11:36:28 +0100, Tim Waugh wrote
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.
I have a similar, but slightly different question. I have used an encrypted partition for some time now (before anaconda grew support for this), containing /home (so / is not encrypted). I get prompted for the password on boot, but the 'prompt' mainly consists of plymouth switching back to a text console. I know that I am supposed to enter the passphrase at this point, and it all works, but from the quoted text above I suspect that there is a 'pretty' prompt for this, too.
What do I have to do to get this prompt?
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
On Sat, 2009-09-26 at 20:02 +0200, Till Maas wrote:
You need to edit /etc/crypttab (man crypttab) to create a mapping for unencrypting the partition and /etc/fstab to mount the unencrypted volume.
This was what I needed, thank you.
After adding that line, I just needed to add a line to /etc/fstab to mount the partition by label (i.e. "LABEL=...").
Tim. */