this post was submitted on 06 Mar 2025
7 points (81.8% liked)

Linux

51161 readers
1838 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] just_another_person@lemmy.world 0 points 3 days ago (1 children)

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.

[–] kylian0087@lemmy.dbzer0.com -1 points 3 days ago (2 children)

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 2 points 3 days 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 -1 points 3 days 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.