Replies: 2 comments 1 reply
-
Thanks for that. We also had the same idea a while ago, see #138 (comment). |
Beta Was this translation helpful? Give feedback.
1 reply
-
I have updated this guide to note that grub-btrfsd now works for Debian users too (to auto update GRUB) so everyone should use that instead. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
8th April 2023 EDIT
grub-btrfsd got refactored and fixed (for Debian users) on the 5th April so this guide is no longer necessary. You are recommended to configure and use grub-btrfsd as described in the grub-btrfs README instead.
The current instructions in the grub-btrfs README to configure the grub-btrfsd service to update GRUB when you create or delete snapshots don't work for me under Debian 11 or 12 so instead I have configured systemd to update GRUB every time I reboot or power off like so:
Create
/etc/systemd/system/update-grub.service
Create a new shutdown script
/etc/rc6.d/K99update-grub.sh
to contain:Make sure that the path for both for grub-mkconfig and its config file are correct for your distro.
These paths should work for Debian and Ubuntu at least. Make the script executable:
Then run:
I've been having issues with the latest git version of grub-btrfs not finding my timeshift btrfs snapshots so instead of running that I'm using the the latest Kali linux .deb package from http://http.kali.org/pool/main/g/grub-btrfs/ , currently http://http.kali.org/pool/main/g/grub-btrfs/grub-btrfs_4.12-0kali1~jan+nur1_all.deb
Beta Was this translation helpful? Give feedback.
All reactions