DragonFly BSD
DragonFly users List (threaded) for 2010-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Encrypted root questions

From: Tim Darby <t+dfbsd@xxxxxxxxxxxx>
Date: Sun, 12 Dec 2010 23:24:27 -0700

I'm trying to set up an encrypted root filesystem with disk A containing /boot and swap and disk B containing the encrypted root.  Having never done this before, I figured I'd use /share/examples/rconfig/encrypted_root.sh as a guide.  However, I ran into a couple of snags, so maybe someone can tell me what I'm doing wrong.

First, this command appears to have a typo:

cryptsetup -y luksFormat /dev/${disk}s1 <== shouldn't this be "s1d"?

Second, in these lines for loader.conf:


This failed for me during boot right after it prompted me for the passphrase. Eventually, I realized that it was not able to find dm_target_crypt.ko at the point where it was trying to open the encrypted filesytem and I was only able to get the machine to successfully boot all the way by adding the line:


I'm also interested in encrypted swap. Is there anything tricky about setting that up?



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