|
|
2. Creating the encrypted root filesystemFill the target partition with random data:
Setup the encrypted loopback device:
To prevent optimized dictionary attacks, it is recommended to add the -S xxxxxx option, where "xxxxxx" is your randomly chosen seed (for example, you might choose "gPk4lA"). Write down your seed on a piece of paper so that you don't loose it afterwards. Also, in order to avoid boot-time problems with the keyboard map, do not use non-ASCII characters (accents, etc.) in your password. The Diceware site offers a simple way to create strong, yet easy to remember, passphrases. Now create the ext3 filesystem:
Check that the password you entered is correct:
You can compare the encrypted and unencrypted data:
It's time to install your encrypted Linux system. If you use a GNU/Linux distribution (such as Debian, Slackware, Gentoo, Mandrake, RedHat/Fedora, SuSE, etc.), run the following command:
If you use the Linux From Scratch book, proceed as described in the manual, with the modifications below:
|