Antynea / grub-btrfs

Include btrfs snapshots at boot options. (Grub menu)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No such file or directory

venoom27 opened this issue · comments

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

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.