Install Slackware with hard drive encryption
Hi folks,
I've got an extra PC that I can install Slackware onto, but I'd like to set up hard drive encryption (LUKS) before the installation so that the root filesystem is encrypted from the start, like what you see is possible with Debian. Can anyone here suggest a strategy for accomplishing this? Thanks. |
|
In addition, check there. As an aside, LUKS2 should be supported by GRUB soon, a patch set from Patrick Steinhardt is being reviewed for that, cf. its summary. For now it will allow the PBKDF2 key derival function only, hopefully Argon2i and/or Argon2id will follow suit.
As an aside, Daniel Kiper checks the patches very thoroughly, so expect no issue after this set will have been committed. |
Quote:
I am seeing a problem when following their steps: The kernel never asks for a password and it therefore never boots. I chose the "generic" kernel. |
Quote:
If you never get that password prompt, what is the exact "mkinitrd" command you used to generate your initrd? |
Quote:
mkinitrd -c -k 4.4.14-smp -m ext4 -f ext4 -r lukssdx2 -C /dev/sdx2 UPDATE I've gotten it to boot to the point that I can enter the password and unlock it. The key seems to have been to specify vmlinuz-generic as the kernel in lilo.conf. However bizarrely whereas I specified my encrypted partition be named "rooty" the boot system wants to call it lukssda2 and therefore won't continue. SOLUTION I fixed it by A) using the name they expected lukssda2. B) specifying vmlinuz-generic in lilo.conf, leaving out the kernel version number. |
Install Slackware with hard drive encryption
Edit : Do not pay attention
|
|
All times are GMT -5. The time now is 07:55 AM. |