RE: Encrypt disk at install time

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

 



Tom Brown wrote:
>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

Yes.  Wherever you have a "part" command in your kickstart, add
--encrypted and --password options.  In your case, 

part pv.100000 --size=1 --grow --ondisk=sda

would become (still on the one line)

part pv.100000 --size=1 --grow 
  --ondisk=sda --encrypted --password HelloWorld

See
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Instal
lation_Guide/ch-kickstart2.html

DO NOT forget the password!


Moray.
"To err is human.  To purr, feline"





_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list



[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux