HOWTO use a keyfile for an encrypted swap partition

Christoph Korn c_korn at
Wed Jan 21 08:18:26 UTC 2009

I have used this HOWTO [1] to set up a keyfile for my encrypted home

This work very well.

Now, I tried the same HOWTO for setting up a keyfile for my
encrypted swap partition and that fails. I am still asked for the
passphrase of the swap partition. That may be because the swap
partition is mounted before the root partition. The keyfile is then
not available, yet.

This is my configuration [2].
("Verschlüsseltes Volume" means encrypted volume;
"primär" means primary)

I use jaunty alpha-3.

My /etc/crypttab: [3]

My /etc/fstab: [4]

Best regards
Christoph Korn


More information about the ubuntu-users mailing list