Skip to content

Error during installation or during grub menu creation #425

@quizilkend

Description

@quizilkend

Hi!

I'm experiencing issues with grub-btrfs and am not able to troubleshoot them by myself. I filed an issue because the README says so, if this should rather be a discussion I can close the issue.

  1. install
    I tried to install and get:
Installing manpages...
Installing systemd .service file
Installing docs...
Updating the GRUB menu...
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.12.74+deb13+1-amd64
Found initrd image: /boot/initrd.img-6.12.74+deb13+1-amd64
Found linux image: /boot/vmlinuz-6.12.73+deb13-amd64
Found initrd image: /boot/initrd.img-6.12.73+deb13-amd64
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
Detecting snapshots ...
make: *** [Makefile:55: install] Fehler 2
  1. The files are in place and it seems snapshots are found as well:
sudo /usr/bin/grub-btrfsd -v /.snapshots
Arguments:
Snapshot directories: /.snapshots
Timestift autodetection: false
Timeshift old: false
Logfile: 0
Recursive: false
grub-btrfsd starting up...
starting daemon watching /.snapshots...
Subdaemon function started, PID: 1952
1952: Entering infinite while for /.snapshots
1952: Snapshot dir watchtimeout: 0
1952: Watching /.snapshots for new snapshots...
Setting up watches.
Watches established.
/.snapshots/ CREATE,ISDIR 17
1952: Detected snapshot creation/ deletion, recreating Grub menu
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.12.74+deb13+1-amd64
Found initrd image: /boot/initrd.img-6.12.74+deb13+1-amd64
Found linux image: /boot/vmlinuz-6.12.73+deb13-amd64
Found initrd image: /boot/initrd.img-6.12.73+deb13-amd64
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
Detecting snapshots ...
[!] Error during grub menu creation (grub/ grub-btrfs error)
1952: Watching /.snapshots for new snapshots...
Setting up watches.
Watches established.
  1. My setup
  • GRUB_BTRFS_VERSION=4.13-yabsnap_info_support-2024-03-06T13:43:57+00:00
  • subvolume for snapshots on @snapshots, this subvolume is mounted to /.snapshots
  • debian trixie with snapper
  • /boot on btrfs with raid1 and everything else on btrfs fs with raid1

Thank you very much for your help!
If I can provide any more information I'm more than glad to do so!
Samuel

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