Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

With the default RHEL 6 installer, how can I choose the LUKS encryption?

Afaik if I prepare the disk like

cryptsetup luksFormat -c cast5-cbc-plain -s 128 /dev/$DEVICE

could be the "fastest" encryption, but the installer only prompts for password, then later, at the partitioning it recognizes it as "unknown" partition.

UPDATE: so in short, I just want to speed up io with using the mentioned faster encryption (? are there faster/but still ""secure""?) with the default install. How can I don it?

UPDATE#2: what would be the fastest encryption that can be still used in the default GUI install??

share|improve this question
I assume you mean RHEL 6? Redhat 6 was a circa 2001 release. I don't think LUKS existed back then. – Omnifarious Nov 21 '12 at 7:53
I'm talking about the newest 6.3 RHEL. ex.: Scientific Linux 6.3 – gasko peter Dec 17 '12 at 7:01
In case you are running this on recent hardware with AES-NI feature on your CPU, you should stick with AES - on common Intel Core processors this is offloaded and will reach 500+ MB/s easily. – gertvdijk Dec 17 '12 at 8:42
no, cpu doesn't has aes-ni :\ – gasko peter Dec 17 '12 at 9:35
access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/… Have you took a look at Red Hat site? – Len Dec 19 '12 at 13:47
up vote 2 down vote accepted

You might be stuck using a kickstart to define the partition with the encryption type instead of using the graphical install interface.

share|improve this answer

I think if you just tell it to format the 'unknown' partition that it will format it and leave the encryption just as you specified. So the strategy of using luksFormat to create a partition that uses a particular encryption scheme that you think will be faster will work.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.