Jump to content

Photo

crypttab and openRC

luks

4 replies to this topic

#1
erikr

erikr

    Member

  • Members
  • PipPip
  • 28 posts

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



#2
erikr

erikr

    Member

  • Members
  • PipPip
  • 28 posts

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



#3
Oleg Vinichenko

Oleg Vinichenko

    Staff

  • Moderators
  • 359 posts

it depends on what initramfs generator tool you using.


www.funtoo.org

#4
erikr

erikr

    Member

  • Members
  • PipPip
  • 28 posts

:)

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 ;)

 

 



#5
grondinm

grondinm

    Newbie

  • Members
  • Pip
  • 0 posts

I'll just share my experience here.

 

I use better initramfs https://github.com/s...etter-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.





Reply to this topic



  



Also tagged with one or more of these keywords: luks

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users