Include btrfs snapshots at boot options. (Grub menu)
This is a version 4.xx of grub-btrfs
Improves Grub by adding "btrfs snapshots" to the Grub menu.
You can start your system on a "snapshot" from the Grub menu.
Supports manual snapshots, snapper, timeshift ...
If you choose to do it,
/varmust be on a separate subvolume.
This project includes its own solution.
Refer to the documentation.
grub.cfgif you use the provided systemd service.
pacman -S grub-btrfs
make installor look into Makefile for instructions on where to put each file.
NOTE: Generate your Grub menu after installation for the changes to take effect.
On Arch Linux use
grub-mkconfig -o /boot/grub/grub.cfg.
You have the possibility to modify many parameters in
If you would like Grub to automatically update when a snapshot is made or deleted: * Use
systemctl start/enable grub-btrfs.path. *
grub.cfgwhen a modification appears in
/.snapshotsfolder (by default). * If your snapshots aren't mounted in
/.snapshots, you must modify the watch folder using
systemctl edit grub-btrfs.path.
Use `systemctl edit grub-btrfs.path`. Then wrote: ``` [Path] PathModified=/run/timeshift/backup/timeshift-btrfs/snapshots ``` and finally save. * You can view your change to `systemctl cat grub-btrfs.path`. * To revert change use `systemctl revert grub-btrfs.path`.
grub-mkconfigcommand is used.
grub2-mkconfigon some systems (Fedora ...).
/etc/default/grub-btrfs/configfile to reflect this.