||12-31-2010 06:35 AM
"mkinitrd -C" Option works only with luksFormat'ed, not with cryptsetup'ed devices
I was looking for a way to encrypt a partition and to mount it at boot time.
What I tried first was something like:
cryptsetup crypted_home /dev/sda3
mkinitrd -c -k 188.8.131.52-smp -m ext4 -f ext4 -C /dev/sda3
... but it didnt work. :/ I remembered that the mkinitrd manual mentioned luks devices, so I did exactly the same, but for the first line:
cryptsetup luksFormat /dev/sda3
cryptsetup luksOpen /dev/sda3 crypted_home
.. now it works fine, BUT I would like it to work with plain dm-crypt, without luks. Is there a way to accomplish that?
Im using Slackware 12.2(1?).
Thanks in advance for any help.