[arch-general] migrating crypttab to new way / luks swap problem

Aurko Roy roy.aurko at gmail.com
Wed Aug 1 02:00:56 EDT 2012


If you do man crypttab, there's an example for swap at the bottom. It is

 swap /dev/sda7 /dev/urandom swap

HTH

On Wed, Aug 1, 2012 at 10:14 AM, Genes MailLists <lists at sapience.com> wrote:
>
>   I am fully up to date on testing repo. I have a laptop with encrypted
> /home and swap. Both are luks. When I convert /etc/cryptab /home works fine
> but swap fails at boot time with
>
>   Unlocking of swap failed.
>
> Legacy /etc/cryptab (works but get legacy warnings)
>
> home           /dev/sda5               ASK
> swap            /dev/sda7               ASK
>
> New /etc/cryttab (swap fails)
>
> home           /dev/sda5               none            luks,timeout=0
> swap           /dev/sda7               none            swap,luks
>
> Can anyone suggest how I can fix my swap line?
>
> thanks!
>
> gene



-- 
Aurko Roy
GPG key: 0x20C5BC31
Fingerprint:76B4 9677 15BE 731D 1949  85BA 2A31 B442 20C5 BC31


More information about the arch-general mailing list