Antynea / grub-btrfs

Include btrfs snapshots at boot options. (Grub menu)
GNU General Public License v3.0
688 stars 73 forks source link

Can't enable grub-btrfs.service #281

Closed Schievel1 closed 1 year ago

Schievel1 commented 1 year ago

Discussed in https://github.com/Antynea/grub-btrfs/discussions/280

Originally posted by **tav9122** April 26, 2023 As the title says, when I run `systemctl enable grub-btrfs.path` I got the output `Unit btrfs.path does not exist`

IMG_20230428_201527.jpg

I couldn't find snapshots menu in the grub boot so I checked with the systemctl status, do you have any idea what cause this

Schievel1 commented 1 year ago

Try running grub-btrfsd with verbose flag and/or manually. It will give you more info what is wrong. See: https://github.com/Antynea/grub-btrfs#running-grub-btrfsd-in-verbose-mode

If you are running grub-btrfsd as a daemon, the output will be printed to syslog. On Arch you can use journalctl -f to watch the syslog.

tav1229 commented 1 year ago

Try running grub-btrfsd with verbose flag and/or manually. It will give you more info what is wrong. See: https://github.com/Antynea/grub-btrfs#running-grub-btrfsd-in-verbose-mode

If you are running grub-btrfsd as a daemon, the output will be printed to syslog. On Arch you can use journalctl -f to watch the syslog.

turned out I was missing the inotify-tools, I added the packeage now but still no snapshots menu in grub, below is the output of systemctl status grub-btrfsd IMG_20230429_093154.jpg

tav1229 commented 1 year ago

Try running grub-btrfsd with verbose flag and/or manually. It will give you more info what is wrong. See: https://github.com/Antynea/grub-btrfs#running-grub-btrfsd-in-verbose-mode

If you are running grub-btrfsd as a daemon, the output will be printed to syslog. On Arch you can use journalctl -f to watch the syslog.

turned out I was missing the inotify-tools, I added the packeage now but still no snapshots menu in grub, below is the output of systemctl status grub-btrfsd IMG_20230429_093154.jpg

turned out I need to run grub-mkconfig -o /etc/grub/grub.cfg at least once

Schievel1 commented 1 year ago

So this can be closed?

tav1229 commented 1 year ago

So this can be closed?

Yup, sorry couldn't find the close button on my phone