<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">arch is usually a great resource for information. Even if it is not the same distro. I have found it usually gives me a great start to work from when something weird comes up.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 5, 2021 at 8:18 AM Sebastian via PLUG-discuss <<a href="mailto:plug-discuss@lists.phxlinux.org">plug-discuss@lists.phxlinux.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>Is anyone familiar with how to boot Ubuntu, and make grub use the
key-file on the USB that is plugged into it?<br>
I'm trying to not need to type in the password on the device when
it boots, but still have an encrypted root partition.<br>
If not, how do people keep drives encrypted in production
environments when using Ubuntu? (Could answer this as well, "if
so", since this is just my guess for what production environments
use)<br>
</p>
<p>(because this is what online searches bring)<br>
I do <b>not </b>mean: <br>
Boot from an encrypted USB.<br>
Decrypt and mount an encrypted volume at boot <b>AFTER</b> typing
in the decryption password for root once already.<br>
Encrypt boot partition as well as root.</p>
<p>Everything I found online was one of the above three things, or
is Arch and doesn't apply to Ubuntu.<br>
<br>
I thought "eh, just do it the same way as Arch in boot parameters,
as they both use grub, right?", but that didn't work...<br>
(cryptkey=devID:filesystem:fileLocation
cryptdevice=devID:decrypt_root root=/dev/mapper/decrypt_root =>
update-grub)<br>
</p>
</div>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer" target="_blank">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">A mouse trap, placed on top of your alarm clock, will prevent you from rolling over and going back to sleep after you hit the snooze button.<br><br>Stephen<br><br></div>