Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Michael W Lucas :flan_on_fire:
Michael W Lucas :flan_on_fire:
@mwl@io.mwl.io  ·  activity timestamp 2 days ago

It appears Linux root-on-ZFS is a mess. No standard way to do it. Kernel updates require recompiling ZFS. Boot environments are a cornucopia of constantly evolving hacks.

If you're actually using #ZFS on root, on #Debian, what's your preferred hack to make that happen? #sysadmin

I suspect #openzfsmastery might need to assume root on extFS and data on ZFS, leaving root-on-ZFS for the advanced user or a terminal chapter. flan_disappointed

  • Copy link
  • Flag this post
  • Block
Michael W Lucas :flan_on_fire:
Michael W Lucas :flan_on_fire:
@mwl@io.mwl.io replied  ·  activity timestamp yesterday

well, ⬆️ sparked discussion.

There are linuxes that integrate ZFS into the installer, like Alpine and Chimera, and support ZFS on root. Good for them!

In general, though, more most linuxes, ZFS on root is an edge case that requires above average expertise with the boot loader. (If you have that expertise you think it's not much, but for many folks it IS a big deal.) Properly covering ZFS on root on Linux would require I write a book on initrd, UEFI, and more. I don't want to write that book. The workarounds various folks use evolve constantly, and by the time the book comes out they would have changed.

Looks like Linux ZFS root with ZFSBootMenu will be relegated a final chapter for the advanced user. flan_shrug

  • Copy link
  • Flag this comment
  • Block
Jens
Jens
@jens_d@bsd.network replied  ·  activity timestamp yesterday

@mwl I wouldn't use zfs on root with most Linux distros. Because it is too easy mess it up, when updating the machine

  • Copy link
  • Flag this comment
  • Block
Michael Dexter
Michael Dexter
@dexter@bsd.network replied  ·  activity timestamp 21 hours ago

@jens_d @mwl We discussed this on yesterday’s OpenZFS call and yeah, consensus was to keep your boot media simple and save ZFS for you storage array. I’m sure they have great disk mirroring.

Um, not expecting much.

  • Copy link
  • Flag this comment
  • Block
Stefano Marinelli
Stefano Marinelli
@stefano@mastodon.bsd.cafe replied  ·  activity timestamp 2 days ago

@mwl not on Debian but on Void Linux: https://it-notes.dragas.net/2025/12/22/void-linux-zfs-hibernation-guide/

IT Notes

Installing Void Linux on ZFS with Hibernation Support

A practical guide to installing Void Linux on an encrypted ZFS root with LUKS-encrypted swap and working hibernation support.
⁂
More from
Stefano Marinelli
  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.2-alpha.7 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct