EDIT: Problem solved, i updated from Debian 6.0.6 to 7.0.0, everything works now!I have a complex problem at booting. Basically, I have a debian apache box, as a music server in my home network. The root, swap and data hard drives are dm_crypted. The booting should look like this:GRUBAsk root pass phraseSetup swap fs(gets random pw at boot)Booting continuesAsk data passphraseBooting finishesServer is accessible via http & SSHSome logs:fstabcrypttabupdate-initramfs/var/log/bootuname -a returns the following:Linux linux-server 2.6.32-5-amd64 #1 SMP Sun Sep 23 10:07:46 UTC 2012 x86_64 GNU/Linuxdebian version: 6.0.6Version of cryptsetup: 2:1.1.3-4squeeze2What I did:I ran update-initramfs -u -k all -vI can mount the device with cryptsetup / mount after boot.  I think the problem is that the external hard drive is not available to the system between step 4 & 5, so cryptsetup fails, mount fails, fschk fails and the boot process switches into emergency mode.Any help would be appreciated!EDIT: Problem solved, i updated from Debian 6.0.6 to 7.0.0, everything works now!
How can I mount a dm_crypt device during boot, it fails all the time
linux;debian;boot;encryption;dm crypt