Dual-booting with Linux on ZFS

Hi,

I have a laptop I've been running FreeBSD on for a few months. I set it up with geli+zfs. I am looking to set up a dual-boot with linux for things that aren't as well supported on FreeBSD yet (such as gaming). It would be neat if I could use a subvolume on the existing zfs pool for my linux root, so I wouldn't be stuck with a fixed partition size I might regret later.

I understand that geli is FreeBSD-specific, but if I were to reinstall FreeBSD without it (maybe with zfs native encryption instead), would this be possible?

Thanks in advance.
 
Assuming you were going to redo the install, theres's this guide from 2020 by user (forme user? Haven't seen them in a long time) patovm04. It is based on the premise that you have a Linux install and are going to add a ZFS FreeBSD install. I actually plan to do this when I get around to it, and then I can say if it still works or not.


I know it used to work because I have multiboot laptop with it (Linux plus a FreeBSD zfs install)
 
Thanks, though I'm not sure this is what I was looking for. I ended up trying my idea on a testbench machine and I was able to get it working, though without any encryption enabled. Does FreeBSD support prompting the user for a zfs passphrase on bootup or am I going to be stuck without encryption if I go down this route?
 
No problem doing that, you just need to make sure to not activate ZFS features that the other OS doesn't have when you create it from one OS.
 
Back
Top