erikr Posted June 26, 2017 Report Share Posted June 26, 2017 Hi, On one of my laptops I have gone encrypted along with syslinux. To get there I had to hack the initrd scripts a bit but well, I got it working. In some documentation I have come across (funtoo, gentoo, and arch linux) there are quite some references to /etc/crypttab that seems to be used along with systemd but are there any scripts making use of crypttab in if open RC is used? // Erik Link to comment Share on other sites More sharing options...
erikr Posted June 26, 2017 Author Report Share Posted June 26, 2017 And well, what is the role of /etc/config.d/dmcrypt in this case? Will it be included in the initramfs and deal with root and swap before root is mounted or will it execute after root is mounted and take care of the rest (swap, home etc)? None of the the guides I read mentioned this file :( // Erik Link to comment Share on other sites More sharing options...
Oleg Vinichenko Posted June 27, 2017 Report Share Posted June 27, 2017 it depends on what initramfs generator tool you using. Link to comment Share on other sites More sharing options...
erikr Posted July 1, 2017 Author Report Share Posted July 1, 2017 :) I stick with genkernel and the slightly modified scripts (my own modifications). Most guides refer to another initrd-script set but I prefer Funtoo original flavour - thats why I use Funtoo instead of Gentoo ;) Link to comment Share on other sites More sharing options...
grondinm Posted July 19, 2017 Report Share Posted July 19, 2017 I'll just share my experience here. I use better initramfs https://github.com/slashbeast/better-initramfsit takes care of the encrypted root partition and offers a ssh shell to do so remotely if required. then /etc/config.d/dmcrypt takes care of the rest. Link to comment Share on other sites More sharing options...
Recommended Posts