On 1/29/21 9:37 PM, Joe Nelson wrote:
I'd like to install obsd on a laptop that has one built-in 128GB SSD,
and a 1TB SATA SSD added in a separate bay. Was thinking of putting the
system files on the small drive, and /home, /var, /tmp, and /usr/local
on the big one. I'd like to use full-disk encryption for the big drive.
Two questions. First, will the installer set up the partitions across
the drives for me, or do I need to do a custom procedure with disklabel?
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.)
Thanks for any help.
It takes less than 15 minutes to do an OpenBSD install, far less time than
it takes to give detailed answers to questions like this. So, please, do
your own testing, and do it over and over until you understand how it works.
The installer won't magically read your mind and set things up on multiple
drives as you want them, but you can easily guide it along the way, or you
can come back and adjust things later as you wish. And really, you should
spend an hour or two finding out how this is done -- it's really easy.
As for how the secondary encrypted drive is handled, again, JUST TRY IT.
If you have questions about what you see and how it happens, THEN come back
and ask those specific questions.
For what it's worth, 120G is still huge to OpenBSD, so I'd put everything
on that, and only use the second drive for whatever it that's so big that
you need a second drive (i.e., /var/www, maybe /home/music, etc.). And
don't allocate all of that 1T disk unless you actually need most of it.
Biggest mistake I see people making is allocating all of their disk,
"because I have it, I must allocate it, right?" WRONG.
Nick.