Hello folks!

So I have installed gentoo a few times before so I am not completely new to it. But I am new to managing things like btrfs and or LVM manually.

So my plan is to install Gentoo with btrfs and snapper so that you can boot in to read only snapshots from grub and rollback once booted. This is what Opensuse Tumbleweed does.

I would like to know which btrfs layout and or LVM layout is required for such a setup. I have been able to find some info that I think requires the /boot subvolume to be on the root of the system. Also some say you need to make the .snapshot volume some say you dont and snapper does this. So their is a fair bit of conflicted info about it to get working right.

    • just_another_person@lemmy.world
      link
      fedilink
      arrow-up
      1
      arrow-down
      3
      ·
      edit-2
      10 hours ago

      Well BTRFS can go back to PiT snapshots and run from there, and snapper is an abstraction for BTRFS…so what’s your goal?

      • kylian0087@lemmy.dbzer0.comOP
        link
        fedilink
        arrow-up
        1
        ·
        10 hours ago

        Like I said in the post. To set it up just like Opensuse Tumbleweed. I find snapper quite easy to work with and use to rollback from those bootable snapshots. Also it making snapshots after updates is quite useful too

          • kylian0087@lemmy.dbzer0.comOP
            link
            fedilink
            arrow-up
            1
            arrow-down
            2
            ·
            9 hours ago

            I have read that page and this isnt really what i asked. this is about just snapper not how to setup btrfs to get it working as i explained above

            • Giloron@programming.dev
              link
              fedilink
              arrow-up
              1
              ·
              4 hours ago

              I’m not familiar with what Suse is doing, but that doc seems to imply that there is a fundamental difference in the configuration between Gentoo and Suse.

              I wonder if there is something in the Suse docs that describes how they get a rollback option into the grub menu.

              I agree that the Gentoo wiki pages around btrfs and snapper seem a bit lacking.

            • just_another_person@lemmy.world
              link
              fedilink
              arrow-up
              1
              arrow-down
              2
              ·
              7 hours ago

              Well the Gentoo community felt it was good enough and made the effort to write that doc for you. Unsure what you’ve asked here.

              This seems like one of those questions where the source of truth is telling you it’s not going to happen, but you want a world in which it exists and for help in making that happen.

              Maybe dig in and learn about snapshots and partitioning.