Antynea / grub-btrfs

Include btrfs snapshots at boot options. (Grub menu)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

line 569: /boot/grub/grub-btrfs.new: No such file or directory

InvisibleRasta opened this issue · comments

I am running fedora 37. I just installed grub-btrfs and as the Usage guide says I run sudo grub2-mkconfig -o /boot/grub2/grub.cfg
but it fails. It seems that it should be /boot/grub2/... and not just /boot/grub/
Detecting snapshots ...
/etc/grub.d/41_snapshots-btrfs: line 569: /boot/grub/grub-btrfs.new: No such file or directory

You can set this param in this file :

/etc/default/grub-btrfs/config

Update these params:
GRUB_BTRFS_GRUB_DIRNAME="/boot/grub2"
GRUB_BTRFS_GBTRFS_DIRNAME="/boot/grub2"
GRUB_BTRFS_MKCONFIG=/usr/bin/grub2-mkconfig

And run this command: sudo grub2-mkconfig /boot/grub2/grub.cfg

After, normally works well :)