encrypted partition configuration on kickstart

dabicho tsukebumi at gmail.com
Mon Feb 21 05:12:53 UTC 2011


On Sun, Feb 20, 2011 at 4:30 PM, David Lehman <dlehman at redhat.com> wrote:
> On Wed, 2011-02-16 at 18:55 -0600, dabicho wrote:
>
> Of course. Once you have created your devices using parted, pvcreate,
> lvcreate, and/or mdadm you can encrypt them using cryptsetup. In F14 you
> must make sure to deactivate/close all of your newly created devices
> before exiting from the %pre script.
>
>>
>> Thank you.
>> any pointer is appreciated.
>
> http://docs.fedoraproject.org/en-US/Fedora/14/html/Installation_Guide/apcs02.html
>
> This is Appendix C from the Fedora 14 Installation Guide, entitled "Disk
> Encryption". There are several pages that explain concepts,
> best-practices, and actual example commands for setting up encrypted
> block devices.
>
> David
>
>

Thank you very much.
My doubts were more to the way Anaconda creates /etc/cryptotab and
/etc/fstab, but I guess if it will be the %pre script who prepares the
partitions, then I can also tell anaconda the right mapper device
names, and I will need to write the /etc/cryptotab file on the %post
script too.
Am I right?


More information about the users mailing list