From: Michael Chapman Subject: Re: Unable to boot with encrypted swap Date: Tue, 14 May 2013 17:47:57 +1000 (EST) Message-ID: References: <5191AA29.3010107@josephdwagner.info> <5191B539.9000705@josephdwagner.info> Mime-Version: 1.0 Return-path: In-Reply-To: Sender: initramfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: TEXT/PLAIN; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit To: "Joseph D. Wagner" Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org On Tue, 14 May 2013, Michael Chapman wrote: > And now that I look at that blkid output again, I can see that > /dev/ogopogo/swap (which should have that type) is completely missing. Why > would that be the case? OK, at least that wasn't difficult to find out. /dev/ogopogo/swap is a "plain" crypto device, not a LUKS device. That makes sense, because the whole point of encrypted swap is that it's ephemeral. It doesn't need the LUKS on-disk format. So really, I think the right approach here would be for Dracut to detect that a swap device like this is ephemeral and that it doesn't need activation during initramfs... or if this isn't possible, perhaps an fstab option so that Dracut can skip it (I don't want to use "noauto", of course, since I still want the swap to be activated on boot). - Michael