LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Loading encrypted partitions at boot (https://www.linuxquestions.org/questions/ubuntu-63/loading-encrypted-partitions-at-boot-596958/)

compu73rg33k 11-03-2007 07:59 PM

Loading encrypted partitions at boot
 
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
Code:

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?


All times are GMT -5. The time now is 07:40 PM.