-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatic grub-update only works on snapshots in parent folder found grub-btrfs.path #140
Comments
Hello,
This is the expected behavior of systemd.path.
When you invoke
This is very strange, and needs to be fixed. I'm thinking about mounting the root of btrfs as read-only, this makes sense because |
Oh ok! Interesting, I don't recall having that recursive folder issue when I was with Kubuntu. I guess it's not possible to include more than 1 folder in As for my /tmp issue it's probably related to somekind of crap-up from DKMS from an update on Sunday. I have to investigate or reinstall worst case. At least it's not related to grub-btrfs meaning it does not affect it from detecting my snapshots. Now I have to change my userid... let's see if I can. |
@Antynea , actually it seems many people are having that issue of / being mounted to /tmp/tmp.* Is there a conflict with some specific packages somewhere I don't know, but many people on the Garuda forum are having the same issue. I'm not sure how to check if I have a process opened for writing at the time of mount point. If there is, then it's most probably the same for us using Garuda. |
Confirmed. I downgraded from 4.8.1.1 to 4.7.2.1 and sudo update-grub now works. ╭─frank at Garuda in ⌁ Something is conflicting (or bugged?) with up to date Arch/Garuda packages when using grub-btrfs 4.8.1.1. I guess we should split this issue into another one of its own and close the one regarding non-recursive path. What do you think? |
Sure, just added a another
You can check if systemd has supported the additional parameter by :
Use the
Yes, please. |
Ok thank you I'll do that for grub-btgrfs.path, I didn't think it could be that easy. loll I am splitting to new issue for the /tmp thing. Closing this one. |
Hi there,
I migrated from Kubuntu to Arch lately (Garuda Linux) so my username has not been wisely chosen. loll
Garuda installs by default Timeshift and uses a modified path in
grub-btrfs.path
.I disabled Timeshift and edited the path for the standard
/.snapshots
so my grub-btrfs.path is a direct copy of the one found in github.I did reboot twice since that time.
I noticed
grub-btrfs.cfg
only updates automatically when I create a snapshot in the parent directory, which is /.snapshots.When snapshots are created in sub-dirs, like /.snapshots/ad-hoc, grub-btrfs.cfg does not update.
However if I run grubup (grub-mkconfig alias) no matter where the snapshots are located it does regenerate grub-btrfs.cfg.
journalctl -ru grub-btrfs.service is kinda strange, I have a umount error, was there before I rebooted but it wasn't there 2-3 days ago or I just never noticed. More on that below.
It says it's failing but it works, grub-btrfs.cfg is updated with all the snapshots' data. The one I tested here that was new is @snapshots/@test_2021-02-01_21H34
About that strange /tmp umount target busy, I think it's related to the ZRAM swap Garuda is using by default.
systemctl tells me grub-btrfs is active:
Not sure where to go from there...
The text was updated successfully, but these errors were encountered: