-   Slackware (
-   -   LUKS on multiple drives causes kernel panic on boot (

watervaruna 01-22-2013 03:58 PM

LUKS on multiple drives causes kernel panic on boot
I recently bought a new laptop and it has a small solid state drive that I want to use for hibernation. However when I boot up my machine it asks for password on the drive for the / partition however then it tries to mount the sdd even though it hasn't asked for the password for it and kernel panics.

Another question from what I have seen people seem to use a swap file system for hibernation. is this even a good idea to have a ssd for swap seems like it would have a lot of writes.

comfree 01-22-2013 06:33 PM

Did you follow the README_CRYPT.TXT to install Slackware encrypted?

It sounds like something is wrong with your initrd.

watervaruna 01-22-2013 08:08 PM

Yes I followed it but it only covers how to do it with one disk I watch to do this with two

fgcl2k 01-23-2013 03:26 AM

Please post your configuration (/etc/fstab, /etc/crypttab, etc.)

T3slider 01-23-2013 09:54 PM

Could be an issue with your initrd. For multiple LUKS devices for the root partition, you need to specify each device that needs to be unlocked. See `man mkinitrd`, specifically the -C option.

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