encrypted partition being skipped or booting too fast
Jason Paul Joines
jason at joines.org
Sat May 4 20:28:42 UTC 2013
I'm using Kubuntu 12.04.2 with encrypted root and swap partitions
along with an unencrypted boot partition.
Sometime within the past couple of weeks, hibernate functionality
disappeared. I'm not sure when because I usually use sleep and only use
hibernate occasionally. I figured a recent update had changed something
but had no idea what.
Then I noticed that my swap was not active. The "swapon -a" command
failed with the error, "swapon: /dev/mapper/sda2_crypt: stat failed: No
such file or directory". This was easily remedied with "cryptsetup
luksOpen /dev/sda2 sda2_crypt".
The next time I rebooted I was prompted for my password for the root
partition which functioned normally, then for the swap partition.
However, as soon as I typed the first character of the password for the
swap partition the machine booted and swap was not active. I rebooted
again and discovered that after prompting me for the swap partition
password, the machine would boot pretty quickly even if I typed nothing
at all. In each case I can activate swap manually but it doesn't get
activated at boot.
Any ideas?
Jason
===========
More information about the ubuntu-users
mailing list