grub-btrfs
grub-btrfs copied to clipboard
Missing grub-btrfsd daemon
I've got an running version of grub-btrfs and it works so far. Now i wanted to Automatically update grub upon snapshot creation or deletion. If I want to do so with
sudo systemctl start grub-btrfsd
I get following output:
Failed to start grub-btrfsd.service: Unit grub-btrfsd.service not found.
Did I miss a something to install?
Probably yes, can you give some more info about how you installed grub-btrfs and what distro you are using? Maybe also the content of /usr/lib/systemd/system?
Im using ParrotOS 6.0 and installed grub-btrfs via command
sudo apt install grub-btrfs
Didn't do anything other than that configuration/installation wise. (As far as I remember)
Content of /usr/lib/systemd/system:
accounts-daemon.service alsa-restore.service alsa-state.service alsa-utils.service anacron.service anacron.timer anonsurfd.service apache2.service [email protected] apache-htcacheclean.service [email protected] apparmor.service apt-daily.service apt-daily.timer apt-daily-upgrade.service apt-daily-upgrade.timer arpwatch.service [email protected] [email protected] avahi-daemon.service avahi-daemon.socket basic.target basic.target.wants bettercap.service binfmt-support.service blk-availability.service [email protected] blueman-mechanism.service bluetooth.service bluetooth.target boot-complete.target colord.service [email protected] console-getty.service console-setup.service [email protected] cron.service cryptdisks-early.service cryptdisks.service cryptsetup-pre.target cryptsetup.target ctrl-alt-del.target cups-browsed.service cups.path cups.service cups.socket dbus-org.freedesktop.hostname1.service dbus-org.freedesktop.locale1.service dbus-org.freedesktop.login1.service dbus-org.freedesktop.timedate1.service dbus.service dbus.socket debug-shell.service default.target dev-hugepages.mount dev-mqueue.mount dm-event.service dm-event.socket dnsmasq.service [email protected] dpkg-db-backup.service dpkg-db-backup.timer e2scrub_all.service e2scrub_all.timer [email protected] e2scrub_reap.service [email protected] emergency.service emergency.target exim4-base.service exim4-base.timer exit.target factory-reset.target final.target first-boot-complete.target fprintd.service fstrim.service fstrim.timer geoclue.service getty-pre.target [email protected] getty-static.service getty.target getty.target.wants graphical.target graphical.target.wants grub-btrfs.path grub-btrfs.service halt.target halt.target.wants haveged.service hibernate.target hostapd.service [email protected] hv-fcopy-daemon.service hv-kvp-daemon.service hv-vss-daemon.service hwclock.service hybrid-sleep.target ifupdown-pre.service ifupdown-wait-online.service [email protected] iio-sensor-proxy.service initrd-cleanup.service initrd-fs.target initrd-parse-etc.service initrd-root-device.target initrd-root-device.target.wants initrd-root-fs.target initrd-root-fs.target.wants initrd-switch-root.service initrd-switch-root.target initrd-switch-root.target.wants initrd.target initrd.target.wants initrd-udevadm-cleanup-db.service initrd-usr-fs.target integritysetup-pre.target integritysetup.target iodined.service ipp-usb.service ipsec.service kexec.target kexec.target.wants keyboard-setup.service kmod.service kmod-static-nodes.service ldconfig.service lightdm.service lighttpd.service lm-sensors.service local-fs-pre.target local-fs.target logrotate.service logrotate.timer lvm2-lvmpolld.service lvm2-lvmpolld.socket lvm2-monitor.service lynis.service lynis.timer machine.slice man-db.service man-db.timer [email protected] mariadb.service [email protected] mariadb.socket [email protected] [email protected] [email protected] [email protected] mdadm.service mdadm-shutdown.service mdadm-waitidle.service mdcheck_continue.service mdcheck_continue.timer mdcheck_start.service mdcheck_start.timer mdmonitor-oneshot.service mdmonitor-oneshot.timer mdmonitor.service [email protected] miredo.service ModemManager.service [email protected] multi-user.target multi-user.target.wants mysqld.service mysql.service networking.service NetworkManager-dispatcher.service NetworkManager.service NetworkManager-wait-online.service network-online.target network-pre.target network.target nftables.service nginx.service nmbd.service nm-priv-helper.service nss-lookup.target nss-user-lookup.target ntpsec-rotate-stats.service ntpsec-rotate-stats.timer ntpsec.service ntpsec-systemd-netif.path ntpsec-systemd-netif.service ntpsec-wait.service opensnitch.service open-vm-tools.service open-vm-tools.service.d [email protected] [email protected] openvpn.service [email protected] pam_namespace.service paths.target pcscd.service pcscd.socket [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] phpsessionclean.service phpsessionclean.timer plymouth-halt.service plymouth-kexec.service plymouth-log.service plymouth-poweroff.service plymouth-quit.service plymouth-quit-wait.service plymouth-read-write.service plymouth-reboot.service plymouth.service plymouth-start.service plymouth-switch-root-initramfs.service plymouth-switch-root.service polkit.service postgresql.service [email protected] [email protected] poweroff.target poweroff.target.wants printer.target procps.service proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.mount pulseaudio-enable-autospawn.service qemu-guest-agent.service quotaon.service rc-local.service rc-local.service.d rc.service rcS.service reboot.target reboot.target.wants remote-cryptsetup.target remote-fs-pre.target remote-fs.target remote-veritysetup.target rescue.service rescue-ssh.target rescue.target rescue.target.wants rngd.service rpcbind.target rsync.service rtkit-daemon.service runlevel0.target runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target runlevel6.target 'run-vmblock\x2dfuse.mount' samba-ad-dc.service saned.service [email protected] saned.socket screen-cleanup.service selinux-autorelabel-mark.service selinux-autorelabel.service selinux-autorelabel.target [email protected] shutdown.target sigpwr.target sleep.target slices.target smartcard.target smartmontools.service smbd.service sockets.target sockets.target.wants soft-reboot.target sound.target sound.target.wants spice-vdagentd.service spice-vdagentd.socket spice-vdagent.service ssh.service ssh.socket sslh.service strongswan-starter.service [email protected] stunnel.target sudo.service suspend.target suspend-then-hibernate.target swap.target sys-fs-fuse-connections.mount sysinit.target sysinit.target.wants sys-kernel-config.mount sys-kernel-debug.mount sys-kernel-tracing.mount syslog.socket sysstat-collect.service sysstat-collect.timer sysstat.service sysstat-summary.service sysstat-summary.timer systemd-ask-password-console.path systemd-ask-password-console.service systemd-ask-password-plymouth.path systemd-ask-password-plymouth.service systemd-ask-password-wall.path systemd-ask-password-wall.service [email protected] systemd-battery-check.service systemd-binfmt.service systemd-boot-check-no-failures.service systemd-confext.service systemd-exit.service systemd-firstboot.service systemd-fsckd.service systemd-fsckd.socket systemd-fsck-root.service [email protected] systemd-growfs-root.service [email protected] systemd-halt.service systemd-hibernate.service systemd-hostnamed.service systemd-hwdb-update.service systemd-hybrid-sleep.service systemd-initctl.service systemd-initctl.socket systemd-journal-catalog-update.service systemd-journald-audit.socket systemd-journald-dev-log.socket systemd-journald.service [email protected] systemd-journald.socket [email protected] [email protected] systemd-journal-flush.service systemd-kexec.service systemd-localed.service systemd-localed.service.d systemd-logind.service systemd-machine-id-commit.service systemd-modules-load.service systemd-networkd.service systemd-networkd.socket systemd-networkd-wait-online.service [email protected] systemd-network-generator.service systemd-pcrfs-root.service [email protected] systemd-pcrmachine.service systemd-pcrphase-initrd.service systemd-pcrphase.service systemd-pcrphase-sysinit.service systemd-poweroff.service systemd-pstore.service systemd-quotacheck.service systemd-random-seed.service systemd-reboot.service systemd-remount-fs.service systemd-repart.service systemd-rfkill.service systemd-rfkill.socket systemd-soft-reboot.service systemd-suspend.service systemd-suspend-then-hibernate.service systemd-sysctl.service systemd-sysext.service systemd-sysupdate-reboot.service systemd-sysupdate-reboot.timer systemd-sysupdate.service systemd-sysupdate.timer systemd-sysusers.service systemd-timedated.service systemd-time-wait-sync.service systemd-tmpfiles-clean.service systemd-tmpfiles-clean.timer systemd-tmpfiles-setup-dev-early.service systemd-tmpfiles-setup-dev.service systemd-tmpfiles-setup.service systemd-udevd-control.socket systemd-udevd-kernel.socket systemd-udevd.service systemd-udevd.service.d systemd-udev-settle.service systemd-udev-trigger.service systemd-update-done.service systemd-update-utmp-runlevel.service systemd-update-utmp.service systemd-user-sessions.service systemd-volatile-root.service 'system-systemd\x2dcryptsetup.slice' 'system-systemd\x2dveritysetup.slice' system-update-cleanup.service system-update-pre.target system-update.target timers.target timers.target.wants time-set.target time-sync.target [email protected] tor.service [email protected] udev.service udisks2.service ufw.service umount.target upower.service usb-gadget.target [email protected] usbmuxd.service [email protected] [email protected] [email protected] [email protected] user.slice user-.slice.d uuidd.service uuidd.socket veritysetup-pre.target veritysetup.target vgauth.service virtualbox-guest-utils.service [email protected] [email protected] [email protected] wpa_supplicant.service [email protected] [email protected] x11-common.service xplico.service
Also I can't recover snapshots listed in grub. I'll open another issue for that, but thought it's worth mentioning here because its maybe related?
It seems like parrot OS is having an older version of grub-btrfs in their repository. This looks like 4.11, although I am not sure. So maybe refer to the README of this version on how to activate the service (https://github.com/Antynea/grub-btrfs/tree/79ae25ea5d35a9252ab399aee569d70c3a9f1ee2) or upgrade.