Re: migrating crypttab to new way / luks swap problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxxxx> 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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux