December 16, 2015

FYI Lab 10 module activation step is missing CentOS7 cryptsetup

After trying to mount my encrypted partition for hours and looking through the solutions, it does not state anywhere that you need to load the module :S

Went through emergency mode one too many times.

For those who are having the same problem, you will need to check if the module is loaded upon boot by doing:

lsmod | grep dm_crypt

if nothing comes back it, you will need to create a script at /etc/sysconfig/modules/dm_crypt.modules

with the following:
modprobe dm_crypt

Give it permissions: chmod 755 dm_crypt.modules

Click Here!