Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 1
    Just copy the header in its own partition on the usb device rather on a file in a filesystem on a partition: you don't have to consider the filesystem layer anymore. Commented Aug 14, 2021 at 23:25
  • Also your question doesn't include proper context: if the goal is to boot a LUKS-encrypted system with no interaction from the user, by having the LUKS header and the LUKS passphrase on the USB device, please tell so. Please also provide the content of your current /etc/crypttab file. Even if that's not about having no interaction (ie: no passphrase on the USB device), please still provide your current /etc/crypttab file. Commented Aug 15, 2021 at 17:19
  • Well @A.B that's a pretty straightforward solution that I absolutely didn't even think of. Thanks a lot ! That solve my problem. For the rest I don't consider putting the passphrase on the USB and for my crypttab if it's still a concern sda4_crypt [UUID] none luks,discard Commented Aug 17, 2021 at 16:46