TrueCrypt 4.3 on FC6 : Build from Zero
This was modified for the instructions given for 4.2 from the (German) blog at http://fedorawiki.de/index.php/Truecrypt
Set up yum
# yum install rpm-build redhat-rpm-config unifdef
Install Kernel Sources
This install the sources from the rpm downloaded into the current directory. The rpm can be discarded afterwards.
# mkdir /usr/src/redhat # due to packaging problem, I guess
# rpm -ivh kernel-$(uname -r).src.rpm
# rpmbuild -bp –target $(uname -m) kernel-2.6.spec
Copy dm.h into the right place
Get and unpack truecrypt sources
Get truecrypt source.
Now, the kernel version is taken care of automatically – no need for a patch file.
Build truecrypt for real
(this is now painless)
# ./build.sh
Install truecrypt module
# ./install.sh
(just accept the defaults – but consider allowing regular users to use truecrypt)
Load truecrypt module
# /sbin/lsmod |grep truecrypt
truecrypt 163588 0
dm_mod 63449 3 truecrypt,dm_mirror,dm_multipath