# Configuring BTRFS Assistant

**URL:** <https://forum.endeavouros.com/t/configuring-btrfs-assistant/58379>\
**Category:** Newbie\
**Created:** [July 23, 2024, 11:29am UTC](https://forum.endeavouros.com/t/configuring-btrfs-assistant/58379 "2024-07-23T11:29:10Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![BluishHumility](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/bluishhumility/32/70412_2.png) [@BluishHumility](https://forum.endeavouros.com/u/BluishHumility)\
**Post date:** [July 23, 2024, 12:35pm UTC](https://forum.endeavouros.com/t/configuring-btrfs-assistant/58379/4 "2024-07-23T12:35:40Z")

</div>

> [@limotux](#):
>
> have snapshot before any update or installation of any software

Install `snap-pac`.

```auto
sudo pacman -S snap-pac

```

> [@limotux](#):
>
> Avoid snapshotting my /home folder so not to have these issues discussed

Put `/home` in a separate subvolume. If you are using the default subvolume layout, this should already be done for you.

> [@limotux](#):
>
> Be able to boot from Grub to previous snapshots. (should I install something for this? grub-btrfs if I remember correctly?)

Install `grub-btrfs` and `inotify-tools`.

```auto
sudo pacman -S grub-btrfs inotify-tools

```

Enable the `grub-btrfs` daemon so new snapshots are automatically added to the Grub menu.

```auto
sudo systemctl enable --now grub-btrfsd

```

Regenerate the Grub configuration file.

```auto
sudo grub-mkconfig -o /boot/grub/grub.cfg

```

You may wish to add `GRUB_BTRFS_SNAPSHOT_KERNEL_PARAMETERS="rd.live.overlay.overlayfs=1"` to `/etc/default/grub-btrfs/config` for booting snapshots read only. See here for more information about that: [https://github.com/Antynea/grub-btrfs/blob/master/initramfs/readme.md#dracut-based-distros](https://github.com/Antynea/grub-btrfs/blob/master/initramfs/readme.md#dracut-based-distros)

Afterward, regenerate a new snapshot submenu.

```auto
sudo /etc/grub.d/41_snapshots-btrfs

```

Reboot and test that you are able to boot to a snapshot from Grub.

---

_[View the full topic](https://forum.endeavouros.com/t/configuring-btrfs-assistant/58379)._
