So I've been playing with setting up Block Device Encryption in anaconda for 5.3, since it was announced that it is now supported in the System Admin Guide.

Despite the fact that the so-called Disk Encryption Guide in the RHEL 5.3 Installation Guide is supposed to have information on how to do this in Anaconda, it has no such thing. After much trial and error, I've got it to the point that I have created the partitions and set up the encryption in the %pre section, but I get stuck when I try to get anaconda to recognize the partition in the Disk partitioning stage. So my big questions How do I get the part command to recognize alternative locations (i.e. other than hda, sda, etc) for disk partitions?

So, for example, if I set up a dm-crypt partition at /dev/mapper/rootvol, how would I get anaconda to partition it? I have tried commands like:

part /   --noformat --size=17100 --onpart=/dev/mapper/rootvol
or
part /   --noformat --size=17100 --onpart=mapper/rootvol

and neither work. I'm hoping EL 5.4 will have the FC11 anaconda stuff in it. It looks like that has all of the hooks for dm-crypt already within it.
Thanks for any help you can give.


-jeremy

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to