Hacker News new | ask | show | jobs
by LeoPanthera 3044 days ago
I'm surprised there isn't a one-click way for the user to build their own kernel with ZFS inside it.

As long as I don't distribute the resulting binary there should be no legal implications.

2 comments

There is (at least on Debian) - enable contrib and use apt.

The problem is that neither your install or recover CD won't have it enabled by default, so if you have a problem, your hard-drive won't mount.

So extend the script to build you a recovery ISO or USB image too, and then insist that you reboot and test the recovery image.
For those interested, it appears the current generation of "running system to live image" is:

https://github.com/Tomas-M/linux-live

While the current generation of "make me a magic shiny debian image" is:

https://github.com/larswirzenius/vmdb2/

(I went looking for some tool I've used in the past, which may, or may not, have been "live-build").

In general though, just pulling down a dkms zfs module into any working recovery image via apt should work.

But not if you don't have net access [ed: or a lan apt mirror..].

Or install ZFS from your live recovery instance and load the mod. Not a big problem.
DigitalOcean[1] has a one–click option to compile FreeBSD kernel with ZFS configured (for what its worth).

edit: including my referral link here will probably result in negative karma, but i'm desperate for points!

[1]: https://m.do.co/c/8c882a721944

FreeBSD isnt GPL licensed but BSD and therfor has no licensing issues.
FreeBSD supports ZFS by default. FreeBSD is not the problem.
Freebsd already has ZFS enabled by default?