Re: Encrypt disk at install time

Harry Hoffman <[email protected]>
Newsgroups gmane.linux.redhat.kickstart.general
Organization IPSolutions
Message-ID <[email protected]>
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
> [email protected]
> https://www.redhat.com/mailman/listinfo/kickstart-list
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.