LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Running cryptsetup in initramfs with blackbox segmentation fault (https://www.linuxquestions.org/questions/linux-kernel-70/running-cryptsetup-in-initramfs-with-blackbox-segmentation-fault-694636/)

3rdtreenz 01-03-2009 02:52 AM

Running cryptsetup in initramfs with blackbox segmentation fault
 
I'm trying to boot with an encrypted root partition using an initramfs as described in:
http://en.gentoo-wiki.com/wiki/Initramfs#DM-Crypt .
In the initramfs, the "cryptsetup luksOpen /dev/sda1 crypt_volume" command gives a segmentation fault, yet once booted the cryptsetup program
works normally running the same command. How can I find the cause of this, are there any possible solutions?
The cryptsetup program is 1.5.0

3rdtreenz 01-03-2009 03:11 AM

Oops! problem was with dm-crypt being a module rather than in the kernel. Is it reasonable to copy the module into the initramfs and load it from there?


All times are GMT -5. The time now is 02:43 AM.