I just installed Ubuntu 12.04 on my notebook having kept an old luks encrypted partition on my drive. This partition shows up in the file manager an can be mounted from there into /media/[UUID]. Now I would like to mount this partition during system boot. For that I added
/dev/mapper/cryptohome /home xfs errors=remount-ro 0 2
to my /etc/fstab and
cryptohome UUID=[...] none luks
to my /etc/crypttab
During boot I am asked for the luks password upon which the /dev/mapper/cryptohome is ready.
While I enter the password the mount command seems to be executed concurrently. This leads to a failed mount. I am able to mount /dev/mapper/cryptohome manually shortly after the automatic mount failes.
How can I make mount aware that it needs to wait until the luks password is entered successfully?
Thanks, Philipp