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

Geert Hendrickx geert at hendrickx.be
Wed Aug 1 07:23:21 EDT 2012


On Wed, Aug 01, 2012 at 07:09:37 -0400, Genes MailLists wrote:
> On 08/01/2012 02:00 AM, Aurko Roy wrote:
> >If you do man crypttab, there's an example for swap at the bottom. It is
> >
> >  swap /dev/sda7 /dev/urandom swap
> >
> 
> 
>    Thanks, I am aware of that, but I have luks on my swap partition
> so that won't work. I want to be prompted for a password. luks is
> also required if you want to hibernate - the /dev/urandom way cannot
> be used to hibernate (for obvious reasons).


The "swap" example reinitializes the encrypted block device at boot and
does mkswap on that.  You want neither, just use "luks" as for your other
partition.


	Geert


-- 
geert.hendrickx.be :: geert at hendrickx.be :: PGP: 0xC4BB9E9F
This e-mail was composed using 100% recycled spam messages!


More information about the arch-general mailing list