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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1028668

Title:
  bootwait option does not work for swap partitions (needed for
  encrypted swap)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/1028668/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to