Adding support for detached headers for crypto root #54
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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