Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • 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
Mason Loring Bliss
Mason Loring Bliss
@mason@partychickens.net replied  ·  activity timestamp 2 days ago

@mwl How I do it:

https://github.com/ChibaPet/install-debian-zfs-sysvinit

The essential trick is a metapackage to prevent installation a kernel for which I don't have a kmod built. Pretty straightforward.

I don't have boot environment automation but I've never found myself wanting it. That said, it could be done with fairly minimal initramfs hackery. /boot is on ext4 but it could be on a bootpool. I should probably migrate to that.

A nicer, more automated installer is in the works. And yes, FreeBSD is sleeker, but then I get remote unlock for free with dropbear-initramfs.

GitHub

GitHub - ChibaPet/install-debian-zfs-sysvinit: Install Debian on ZFS, with sysvinit, optionally encrypted.

Install Debian on ZFS, with sysvinit, optionally encrypted. - ChibaPet/install-debian-zfs-sysvinit
  • 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

BT Free Social

BT Free is a non-profit organization founded by @ozoned@btfree.social . It's goal is for digital privacy rights, advocacy and consulting. This goal will be attained by hosting open platforms to allow others to seamlessly join the Fediverse on moderated instances or by helping others join the Fediverse.

BT Free Social: About · Code of conduct · Privacy ·
Bonfire social · 1.0.1 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Code of Conduct