Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Admin, DevOps, Security
  3. Self-Hosting
  4. Friday evening + homelab VM + bad ideas = RHEL 9.7 on ZFS root.

Friday evening + homelab VM + bad ideas = RHEL 9.7 on ZFS root.

Scheduled Pinned Locked Moved Self-Hosting
linuxrhelzfshomelabunsupported
5 Posts 3 Posters 29 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • larvitz@burningboard.netL This user is from outside of this forum
    larvitz@burningboard.netL This user is from outside of this forum
    larvitz@burningboard.net
    wrote last edited by larvitz@burningboard.net
    #1

    Friday evening + homelab VM + bad ideas = RHEL 9.7 on ZFS root.

    I patched convert2rhel until it stopped saying no.

    New blog post: https://blog.hofstede.it/rhel-on-zfs-root-an-unholy-experiment/

    #Linux #RHEL #ZFS #homelab #unsupported

    pinkopanterata@techhub.socialP vermaden@mastodon.bsd.cafeV 2 Replies Last reply
    1
    0
    • R relay@relay.an.exchange shared this topic
    • incentiveI incentive moved this topic from Uncategorized
    • larvitz@burningboard.netL larvitz@burningboard.net

      Friday evening + homelab VM + bad ideas = RHEL 9.7 on ZFS root.

      I patched convert2rhel until it stopped saying no.

      New blog post: https://blog.hofstede.it/rhel-on-zfs-root-an-unholy-experiment/

      #Linux #RHEL #ZFS #homelab #unsupported

      pinkopanterata@techhub.socialP This user is from outside of this forum
      pinkopanterata@techhub.socialP This user is from outside of this forum
      pinkopanterata@techhub.social
      wrote last edited by
      #2

      @Larvitz
      Thanks for great article! πŸ˜€

      larvitz@burningboard.netL 1 Reply Last reply
      0
      • pinkopanterata@techhub.socialP pinkopanterata@techhub.social

        @Larvitz
        Thanks for great article! πŸ˜€

        larvitz@burningboard.netL This user is from outside of this forum
        larvitz@burningboard.netL This user is from outside of this forum
        larvitz@burningboard.net
        wrote last edited by
        #3

        @pinkopanterata little less serious than my usual posts πŸ™‚

        1 Reply Last reply
        0
        • larvitz@burningboard.netL larvitz@burningboard.net

          Friday evening + homelab VM + bad ideas = RHEL 9.7 on ZFS root.

          I patched convert2rhel until it stopped saying no.

          New blog post: https://blog.hofstede.it/rhel-on-zfs-root-an-unholy-experiment/

          #Linux #RHEL #ZFS #homelab #unsupported

          vermaden@mastodon.bsd.cafeV This user is from outside of this forum
          vermaden@mastodon.bsd.cafeV This user is from outside of this forum
          vermaden@mastodon.bsd.cafe
          wrote last edited by
          #4

          @Larvitz

          Thank You for another interesting article - will definitely add it to next VN.

          ... and yes - ZFS on Linux mostly just works - even with root on ZFS.

          Its not hard to achieve that.

          The valuable ingredient that is missed most of the time is ZFS Boot Environments.

          Its little harder to add and integrate ZFSBootMenu - but that is also doable - a lot of guides exist out there.

          Another level is making that root on ZFS work with LUKS encryption ... but that leaves additional unencrypted /boot partition with EXT4 or XFS.

          That is the level of integration Linux is not able to reach - the FreeBSD level. FreeBSD does not need any additional UFS /boot partition to 'decrypt' the root on ZFS that is installed on GELI encryption - its all supported by the FreeBSD loader(8) - the loader(8) asks you for GELI password before boot - then after typing proper password you have decrypted GELI and root on ZFS with ZFS Boot Environments to use.

          What is more interesting - is that a Linux distribution that offers root on ZFS (with LUKS or not) with integrated ZFSBootMenu does not exist - there are only guides/howtos/... no single Linux installer does this ... which is strange because if you check these guides/howtos its relatively simple - you just need to type needed commands in particular order and its done.

          More like political problem then a technical one ...

          larvitz@burningboard.netL 1 Reply Last reply
          0
          • vermaden@mastodon.bsd.cafeV vermaden@mastodon.bsd.cafe

            @Larvitz

            Thank You for another interesting article - will definitely add it to next VN.

            ... and yes - ZFS on Linux mostly just works - even with root on ZFS.

            Its not hard to achieve that.

            The valuable ingredient that is missed most of the time is ZFS Boot Environments.

            Its little harder to add and integrate ZFSBootMenu - but that is also doable - a lot of guides exist out there.

            Another level is making that root on ZFS work with LUKS encryption ... but that leaves additional unencrypted /boot partition with EXT4 or XFS.

            That is the level of integration Linux is not able to reach - the FreeBSD level. FreeBSD does not need any additional UFS /boot partition to 'decrypt' the root on ZFS that is installed on GELI encryption - its all supported by the FreeBSD loader(8) - the loader(8) asks you for GELI password before boot - then after typing proper password you have decrypted GELI and root on ZFS with ZFS Boot Environments to use.

            What is more interesting - is that a Linux distribution that offers root on ZFS (with LUKS or not) with integrated ZFSBootMenu does not exist - there are only guides/howtos/... no single Linux installer does this ... which is strange because if you check these guides/howtos its relatively simple - you just need to type needed commands in particular order and its done.

            More like political problem then a technical one ...

            larvitz@burningboard.netL This user is from outside of this forum
            larvitz@burningboard.netL This user is from outside of this forum
            larvitz@burningboard.net
            wrote last edited by larvitz@burningboard.net
            #5

            @vermaden I ignored the political layer on purpose. I just had a couple of wines and wanted to see "what happens if I..." and then frankensteined a RHEL that boots with rEFInd on a ZFS root.. And (after patching serious parts of convert2rhel, removing sanity check functions), it did work and boot πŸ™‚ I still wouldn't trust my actual data to that system and my personal infrastructure runs ons FreeBSD (Server) and OpenBSD (Firewalls)

            1 Reply Last reply
            1
            0
            • R relay@relay.mycrowd.ca shared this topic
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups