Antynea / grub-btrfs

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

No such file or directory #292

Closed venoom27 closed 1 year ago

venoom27 commented 1 year ago

When I run etc/grub.d/41_snapshots-btrfs I get /etc/grub.d/41_snapshots-btrfs: line 565: /efi/grub/grub-btrfs.new: No such file or directory

When I look in the /etc/default/grub-btrfs/config I do not have a GRUB_BTRFS_GRUB_DIRNAME= named so it should default to /boot/grub which it does not.

I have also added GRUB_BTRFS_GRUB_DIRNAME="/boot/grub" to /etc/default/grub-btrfs/config and it still gives /etc/grub.d/41_snapshots-btrfs: line 565: /efi/grub/grub-btrfs.new: No such file or directory.

What am I doing wrong? I am on Arch and running Version 4.12.

Thanks

venoom27 commented 1 year ago

I made it work I had to edit the /etc/grub.d/41_snapshots-btrfs and put the /boot/efi in it since it was not passing through the /etc/default/grub-btrfs/config.