Hi, i had a similar problem on my laptop: * I have 2 encrypted partitions: sda5 and sda6: /dev/sda5 -> swap partition /dev/sda6 -> mapped to /var (with binding /var/home -> /home) * Both partitions use the same password * I use uswsusp for hibernate/resume features * The initramfs step asks me for password at bootup: swap partition only * Later the init script ask me again for the password of the /var partition
I think it makes sense to decrypt all filesystem in /etc/crypttab at the initramfs step. Here is the patch I have tested on my laptop: * it decrypts all /etc/crypttab partitions at initramfs stage * it tries to unlock with same password all partitions. * it works both with usplash and with console bootup After doing the changes, execute "sudo update-initramfs -u" ** Attachment added: "patch-cryptroot-initramfs.diff" http://launchpadlibrarian.net/15102666/patch-cryptroot-initramfs.diff -- Should try given password for next partition https://bugs.launchpad.net/bugs/139057 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs