So I have 5 partitions. /boot, /, /usr, /swap, and /home. I've encrypted the latter 4 with luks encryption using cryptsetup. I've changed the fstabs to use the device /dev/mapper/device
and then setup my /etc/cryptttab to load them. However at boot it immediately asks the password for root. I put it in and then it continues to load up and then it fails when trying to mount /usr and /home complaining that the device /dev/mapper/device
isn't found. I then try to open the partition with the command
cryptsetup /dev/sda6 usr
and it complains about the shared cryptsetup library not being found. This makes sense because it's under /usr/lib, which apparently hasn't been mounted. However, why is the root partition opening up but not the rest? How is it working if the library isn't mounted? I did add dm-crypt to my list in /etc/modules so that is loaded. I confirmed this with lsmod. Anyone know why /dev/mapper/root is opening but not the rest?