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.

  • a14o@feddit.org
    link
    fedilink
    arrow-up
    1
    ·
    13 hours ago

    Snapper assumes that your system is “formatted with btrfs or some other snapper compatible filesystem”. I’m pretty sure that this means that that your root directory is mounted from a btrfs subvolume.

    So all you need to do is setup btrfs at install time and then configure Snapper. You should consider mounting /home from its own subvolume. That way you can roll back the system but keep all your files.

    There are a lot of other things to consider when setting up btrfs, so make sure you read the docs. (A lot of the config can changed at a later point.)