luks encryption and boot
I have installed centos 6 and added an encrypted drive on a separate partition.
/dev/hda1 / ext4
/dev/hda2 /usr ext4
/dev/hda3 /user encrypted ext4
At boot time, the system hangs until the pass phrase for the encrypted partition is supplied.
I would like the system to boot without the /user file system, either after a timeout, or better yet boot without the partition so that there is no indication that the partition exists. I would then mount the disk manually when needed.
It might also be nice for the system to dismount the disk after some hours/days of inactivity on the file system, and require the user to re-enter the password.
Any ideas on how to do this?