Hey there i tryed to mount my dm_crypted device during boot, but it does not work.
This is my /var/log/bot with uncommented "set -x"(debug output) in " /lib/cryptsetup/cryptdisks.functions" and correct /etc/crypttab
This is my crypttab, everything gets unlocked expect from sdb1_crypt:
Code:
#<name> <device> <pass> <options>
sdb1_crypt /dev/sdb1 none luks,timeout=0
#Swap
sda2_crypt /dev/sda2 /dev/urandom cipher=aes-cbc-essiv:sha256,size=256,swap
#Root
sda3_crypt /dev/sda3 none luks,timeout=0
This is my fstab, again everything works, expect sdb1(because it does not get unlocked, so "/dev/mapper/sdb1_crypt" cannot be found):
Code:
#System
proc /proc proc defaults f 0 0
#Root
/dev/mapper/sda3_crypt / ext3 errors=remount-ro 0 1
#Boot
/dev/sda1 /boot ext3 defaults 0 2
#Swap
/dev/mapper/sda2_crypt none swap sw 0 0
#Data
/dev/mapper/sdb1_crypt /data0 ext3 defaults 0 2
The folloing steps happen on boot:
1. grub
2. initram
3. Debian asks for "/"-partition password
4. Debian SHOULD ask for sdb1-partition password
5. swap gets "mounted" with random passphrase
6. booting continues
What i did:
I ran update-"initramfs -u -k all -v"
I fixed my /etc/crypttab, a "#" was missing at the beginning
I can mount the device with cryptsetup / mount after boot.
I´m running debian 6.0.6
kernel 2.6.3.2-5-amd64 x86_64
Version of cryptsetup is 2:1.1.3-4squeeze2