Antynea / grub-btrfs

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

grub-mkconfig terminates at "Detecting snapshots..." #338

Open MykeHalk opened 2 weeks ago

MykeHalk commented 2 weeks ago

I've installed grub-btrfs and timeshift. On a fresh install when I'm chroot in the live environment of arch linux, whenever I do grub-mkconfig -o /boot/grub/grub.cfg it seems to crash or terminate building the grub.cfg file. The only way i was able to make the config file was to disable grub-btrfs in /etc/default/grub-btrfs/config. I've gone ahead and just left it disabled so I can boot into the system and try to fix it from there. I've tried everything, I've searched through old issues and google and I can't find anything. I using LVM and I formatted the root logical volume with BTRFS and then made 3 BTRFS subvolumes from that, @, @home, and @.snapshots. Idk if this matters but I'm booting in BIOS mode. BIOS/GPT layout because my system does not support UEFI.

[User@Arch ~]$ sudo grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot:  initramfs-linux-fallback.img
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 ...
[User@Arch ~]$

I'm very sad :c

I've tried messing with the config and manually creating a snapshot to see if that will fix it but at this moment I'm getting close to not knowing what I'm doing so I'm asking for help.