[Bug 1028668] Re: bootwait option does not work for swap partitions (needed for encrypted swap)
rivode
1028668 at bugs.launchpad.net
Sun May 5 01:31:52 UTC 2013
My partitions look like this:
LUKS -> LVM -> ( ROOT, SWAP )
I'm asked for the passphrase for LUKS, but swap isn't activated at boot.
I edit /etc/init/mountall.conf from this:
exec mountall --daemon $force_fsck $fsck_fix
to this:
mountall -v $force_fsck $fsck_fix
swapon -a -v
exit
Swap is now active at boot, and the "Hibernate" option now appears in
the system menu (after enabling hibernate in polkit).
I'm running Raring, but I had to mess around during installation to get
encrypted root since the live cd installer doesn't seem to handle this
setup.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mountall in Ubuntu.
https://bugs.launchpad.net/bugs/1028668
Title:
bootwait option does not work for swap partitions (needed for
encrypted swap)
Status in “mountall” package in Ubuntu:
Triaged
Bug description:
I set up a fresh ubuntu with the alternate installer. I have a
separate /boot, an encrypted partition for LVM and an encrypted
partition for swap.
At boot, I'm asked my passphrase for the encrypted LVM partition. I
briefly see a prompt for a passphrase for my swap, but then lightdm
takes over and gives me a logon prompt.
If I manually setup the correct mapping for the swap partition, I can
(obviously) manually issue a swapon -a.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/1028668/+subscriptions
More information about the foundations-bugs
mailing list