[Encrypted] Re: Swap Space Not Activated On Boot

Graham Watkins shellycat.gw at ntlworld.com
Thu Jul 3 18:31:17 UTC 2014


On 03/07/14 02:01, NoOp wrote:
>>
>>
>> Hi Nils,
>>
>> Thanks for your response.
>>
>> I think that's fixed it.  However, sudo swapon -a produces the following
>> response:
>>
>> Still, at least I now have a fully functioning swap partition. Thanks again.
>
> You may not after reboot... especially if you boot with external usb
> drives attached:
>

I have but it's not the encrypted one referred to in my fstab.

> <https://bugs.launchpad.net/ubuntu/+source/ecryptfs-utils/+bug/953875>
> (Encrypted swap no longer mounted at bootup)
>
> I finally gave up and just use an unencrypted swap (that and switch to
> fully encrypted distro environments instead of ecryptfs). The wasted
> time & effort mucking about with this simply isn't worth it & it seems
> that Dustin has gone 'walkabout' so who knows when/if it will ever be
> fixed in Ubuntu?
>
Mine is also unencrypted.

> My recommendation is to comment out '/dev/mapper/cryptswap1 none swap sw
> 0 0' in your /etc/fstab & just move on.
>
> and if you keep trying to use encrypted swap you'll likely encounter:
>
> <https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1153661>
> (The disk drive for /dev/mapper/cryptswap1 is not ready yet or not present)
>
> Good luck...
>
>
Yes I've seen something like that on boot up. Didn't know what it was 
all about.  As you suggest, I'll comment it out. Does this mean my home 
partition isn't encrypted?

Cheers.

Graham





More information about the ubuntu-users mailing list