You are not logged in.
I am getting the following message when initscripts tries to open a LUKS volume:
/dev/sdb1 does not exist or access denied
No matter whether I set the password in /etc/crypttab to ASK or the actual password, it always fails pretty much immediately with that error. The strange thing is that if /dev/sdb1 is a non-encrypted volume, it prompts for the password, but if it is an encrypted volume it immediately fails like said before.
Here is how I created the volume:
wipe -TEo -C1024 | dd of=/dev/sdb bs=1M conv=notrunc
fdisk /dev/sdb << EOF
n
p
w
EOF
cryptsetup -c aes-xts-plain -y -s 512 luksFormat /dev/sdb1
cryptsetup luksOpen /dev/sdb1 sdb1
mkfs.ext4 /dev/mapper/sdb1
echo 'sdb1 /dev/sdb1 ASK' >> /etc/crypttab
echo '/dev/mapper/sdb1 /media/exthd1 ext4 defaults 0 1' >> /etc/fstab
/etc is on an unencrypted partition.
If I boot into Arch I can use luksOpen just fine on the volume:
[root@izm ~]# cryptsetup luksOpen /dev/sdb1 sdb1
Enter passphrase for /dev/sdb1:
[root@izm ~]# blkid /dev/mapper/sdb1
/dev/mapper/sdb1: UUID="b62a3c99-c3ac-488c-b014-28ba0f856aaf" TYPE="ext4"
Any ideas?
Offline