Talk:HOWTO Setup fully crypted Gentoo on EVMS

From Gentoo Linux Wiki

Jump to: navigation, search

[edit] Swap sizes

  • 256MB (see Con Kolivas: "How much swapspace should I allocate?" if you think that 256 MB is too little) You might want to consider that Con Kolivas releases own high responsiveness kernel patches, so he might know what he's talking about. --SatanClaus 14:34, 12 May 2007 (UTC)
  • Imho, this advice is very wrong. Don't heed it, but allocate 2x RAM for swap _at_least_. --anonymous

[edit] Problems since gentoo-sources-2.6.20-r7 (solved)

With these sources it seems that when starting your computer you aren't prompted for a passphrase as normally. Instead you just get an error-message that luks got the wrong password and are prompted to specify the luks root device...

You can temporarily solve this problem by entering "shell" (to get a terminal) and piping your password into the cryptsetup command (I know it's pretty dirty):

echo "mypass" | cryptsetup luksOpen /dev/evms/slash root
exit
q

The last q is for the prompt asking for the LUKS root partition... simply skip that step, as you already decrypted it ;).

Everything else should work fine.

It seems as if the script normally handling this isn't able to get your input from tty. If you do "cat /dev/tty" you'll see the prompt you didn't see before :-/

Problem was fixed by upgrading to cryptsetup-1.0.4-r3.

Also see this forum post (on how to do this): http://forums.gentoo.org/viewtopic-p-4053155.html

SatanClaus 13:55, 13 May 2007 (UTC)
Personal tools