Encrypt disk at install time

Harry Hoffman hhoffman at ip-solutions.net
Mon Sep 20 10:59:26 UTC 2010


Here's the output from a anaconda generated kickstart file after
install:

# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
#clearpart --all --initlabel
#part /boot --fstype ext3 --size=250 --ondisk=sda --asprimary
#part swap --encrypted --size=1024 --ondisk=sda --asprimary
#part pv.100000 --size=1 --grow --ondisk=sda
#volgroup internal_hd --pesize=32768 pv.100000
#logvol / --fstype ext3 --encrypted --name=slash --vgname=internal_hd
--size=75008

I guess you just need to specify how/where to set the encryption key.

HTH,
Harry


On Mon, 2010-09-20 at 11:05 +0100, Tom Brown wrote:
> Hi
> 
> Apart from /boot is it possible to encrypt a disk at install time? It
> would be a huge win if we can do this but i cant see anything about
> how i may achieve it.
> 
> This would be on RHEL 5.x
> 
> thanks
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list
> 





More information about the Kickstart-list mailing list