Announcement

Collapse
No announcement yet.

disk encryption working, but does not startup automatically

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    disk encryption working, but does not startup automatically

    Hello,

    I have encrypted my sda5 partition using luks - and that is working fine.
    The only problem is that i can not configure startup scripts to be asked for the password during reboot (and then automatically mounted).

    I have:

    root@arrakis:~# cat /etc/fstab | grep crypt
    /dev/mapper/crypt /mnt/crypt ext4 defaults 0 2
    root@arrakis:~# cat /etc/crypttab
    crypt /dev/sda5 auto luks


    But when i reboot i receive information that /mnt/crypt is not ready, and i can press S to continue (i am not asked for the password).

    I have read:
    http://laffers.net/blog/2010/10/25/i...sk-encryption/

    And followed that one - but it does not help. Initrd includes the correct dm-crypt module.

    I could see few articles using libpam-mount:
    http://pupeno.com/2007/06/10/encrypt...bian%E2%80%A6/

    But that looks like huge overhead and not nice solution. How to keep it simple ?

    In gentoo i just needed to add dm-crypt to boot profile. Here - i have tried (via sysv-rc-conf) to add cryptdisks and cryptdisks-early but does not help.

    Thanks,
Working...
X