Saturday, January 30, 2021

Re: Installing across two SSDs, encrypted

Joe Nelson <joe@begriffs.com> writes:

> Second, how do I get the OS to prompt me during startup for a
> passphrase, and mount the encrypted drive? (It's not the primary drive
> with the OS on it, which seems nonstandard.)

Checkout rc(8), in particular rc.local.

I've used something like:

echo 'adding encrypted home partition'
bioctl -c C -l ENCRYPTED_UID.k softraid0 && \
fsck DECRYPTED_UID.a && \
mount /home

Could be improved with a loop to retry in case you misstype the
passphrase.

Best,

--
gjadi
PGP : AF26 E9C2 A1C8 8D32 A868 4386 1373 5477 2B65 1894

No comments:

Post a Comment