-
Notifications
You must be signed in to change notification settings - Fork 29
Grub BTRFS
Cardiac edited this page Mar 10, 2024
·
5 revisions
yay -S timeshift grub-btrfs timeshift-autosnap
This command installs the packages timeshift
, grub-btrfs
, and timeshift-autosnap
using the yay
AUR package manager.
sudo systemctl enable --now cronie.service
This command enables and starts the cronie
service, which is a cron service for scheduling tasks.
sudo systemctl enable --now grub-btrfsd
This command enables and starts the grub-btrfsd
service. This service is likely related to Btrfs snapshots and GRUB integration.
sudo sed -i 's|ExecStart=/usr/bin/grub-btrfsd --syslog /.snapshots|ExecStart=/usr/bin/grub-btrfsd --syslog --timeshift-auto|' /usr/lib/systemd/system/grub-btrfsd.service
This command uses sed
to modify the configuration of the grub-btrfsd
service. It adds the --timeshift-auto
option to the ExecStart
line, indicating that Timeshift auto-snapshots are enabled.