Comment 4 for bug 1028668

Revision history for this message
rivode (bugs-launchpad-net-rivode) wrote :

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.