Hello,
I am checking out FreeBSD and its documentation as I am preparing to make a switch to it on my daily laptop and a few home devices. I made two test installations, one with ZFS and one with UFS and I noticed that the boot and decryption process looks a bit differently between those two filesystem options.
What I like about the ZFS guided partitioning with encryption enabled is that on surface it works comparatively to the way I have setup my OpenBSD box - it asks me for a passphrase immediately before seemingly loading anything. Under the UFS setup that I followed looking over at some videos on YouTube [1] [2] as well as some websites with similar walkthroughs, the process is slightly different - it first show Beastie and starts echoing some loading messages, only to ask me for a passphrase after a while, which also happens to be a bit untidy as it also prints a number of messages *after* already having asked for the passphrase and then hangs with just a underscore prompt waiting for password.
I suppose my question is if anyone managed to set up the UFS disk encryption the way it is for a ZFS setup - with the decryption happening early and not after Beastie? Is that possible? I was thinking of taking a look at installer scripts to perhaps see what is being done for ZFS and then trying to tune it to work with UFS, but I figured I'd ask first here before I start messing with a live device.
[1]
View: https://www.youtube.com/watch?v=FmRgCXlhHds
[2]
View: https://www.youtube.com/watch?v=lfIXnmI_2UA
I am checking out FreeBSD and its documentation as I am preparing to make a switch to it on my daily laptop and a few home devices. I made two test installations, one with ZFS and one with UFS and I noticed that the boot and decryption process looks a bit differently between those two filesystem options.
What I like about the ZFS guided partitioning with encryption enabled is that on surface it works comparatively to the way I have setup my OpenBSD box - it asks me for a passphrase immediately before seemingly loading anything. Under the UFS setup that I followed looking over at some videos on YouTube [1] [2] as well as some websites with similar walkthroughs, the process is slightly different - it first show Beastie and starts echoing some loading messages, only to ask me for a passphrase after a while, which also happens to be a bit untidy as it also prints a number of messages *after* already having asked for the passphrase and then hangs with just a underscore prompt waiting for password.
I suppose my question is if anyone managed to set up the UFS disk encryption the way it is for a ZFS setup - with the decryption happening early and not after Beastie? Is that possible? I was thinking of taking a look at installer scripts to perhaps see what is being done for ZFS and then trying to tune it to work with UFS, but I figured I'd ask first here before I start messing with a live device.
[1]
[2]