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.
Well BTRFS can go back to PiT snapshots and run from there, and snapper is an abstraction for BTRFS…so what’s your goal?
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
Well if it’s just a preference thing, there is a Gentoo guide for using it: https://wiki.gentoo.org/wiki/Snapper
It describes the locations of what needs access to what in Gentoo to work properly.
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
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.
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.