|
||||||||||||
|
|
1. Preparing the system1.1. Setting up the partition layoutYour hard disk (hda) should contain at least three partitions:
At this point, both hda1 and hda2 are unused. hda3 is where your Linux distribution is currently installed; /usr and /boot must not be separated from this partition. 1.2. Installing Linux-2.4.23There are two main projects which add strong crypto support in the kernel: CryptoAPI and loop-AES. This howto is based on loop-AES, since it has an extremely fast and highly optimized implementation of Rijndael in assembly language, and therefore provides maximum performance if you have an IA-32 (x86) CPU. First of all, download and unpack the loop-AES package:
Then you must download and patch the kernel source:
Setup the keyboard map:
Next, configure your kernel; make sure the following options are set:
Compile the kernel and install it:
If grub is your bootloader, update /boot/grub/menu.lst or /boot/grub/grub.conf:
Otherwise, update /etc/lilo.conf and run lilo:
You may now restart the system. 1.3. Installing util-linux-2.12The losetup program, which is part of the util-linux package, must be patched and recompiled in order to add strong cryptography support. Download, unpack and patch util-linux:
To use passwords that are less than 20 characters, enter:
If security is important, please do not enable passwords shorter than 20 characters. Security is not free, one has to 'pay' in form of long passwords. Compile losetup and install it as root:
| |||||||||||
|
|
|
Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account Document on this page is part of "Encrypted Root Filesystem HOWTO". See Index Page for more info about Authorship and Copyright. 1999-2008 Linuxinfor.com. No rights reserved. |