Sabayon / genkernel-next

An improved and modern remake of Gentoo genkernel (in: udev, plymouth; out: cross compiler support)
47 stars 45 forks source link

Adding support for detached headers for crypto root #54

Open gentoomaniac opened 7 years ago

gentoomaniac commented 7 years ago

I basically copied the code for the key and adapted it bit to do the headers. Working fine on my gentoo box. Looking something like this then in default/grub GRUB_CMDLINE_LINUX="crypt_roots=/dev/disk/by-id/ata-Samsung_SSD_850_EVO_250GB_S2R6NX0J363411N-part1 root_header=/luks-header root_headerdev=UUID=cadca53c-3a05-4ed2-84fe-f2d1d03e812e root_trim=yes dolvm quiet spalsh"

If used it will need more testing as I only have my one box where I'm running it.

Feel free to use or discard as you feel. If you have, feedback would be appreciated

AamerShareef commented 5 years ago

Hi, Thank you for this, I am just curious if these commits been merged in the main branch?

Thanks!