Skip to content

Could not find the proper path in Fedora 43. #419

@DK-DARKmatter

Description

@DK-DARKmatter

Hi there, in my Fedora 43, the default script does not work properly with error:

Installing manpages...

Installing systemd .service file

Installing docs...

Updating the GRUB menu...

Generating grub configuration file ...

Adding boot menu entry for UEFI Firmware Settings ...

Detecting snapshots ...

/etc/grub.d/41_snapshots-btrfs: line 655: /boot/grub/grub-btrfs.new: No such file or directory

make: *** [Makefile:56: install] Error 1

And

Found 1 snapshot(s)

/etc/grub.d/41_snapshots-btrfs: line 693: /usr/bin/grub-script-check: No such file or directory

Syntax errors were detected in generated /boot/grub/grub-btrfs.new file. The old grub-btrfs.cfg file (if present) have been restored.

If you think an error has occurred, please file a bug report at "https://github.com/Antynea/grub-btrfs"

Unmount /tmp/grub-btrfs.sLiWueu6ht .. Success

done

It turns out that in Fedora, the grub is grub2 actually.
So I do:

ln -s /boot/grub2 /boot/grub
ln -s /usr/bin/grub2-script-check /usr/bin/grub-script-check

Then everything works fine.

It seems that this problem has been fixed before. I'm not sure if this is a real problem. Please let me know if it is and maybe we can fix this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions