GRUB os-prober error

Hey,

I ran grub-mkconfig and it shows an error, even though I think it’s probably ok… or is it ?

$ sudo grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found theme: /boot/grub/themes/EndeavourOS/theme.txt
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot:  initramfs-linux-zen-fallback.img
Found linux image: /boot/vmlinuz-linux-lts
Found initrd image: /boot/initramfs-linux-lts.img
Found fallback initrd image(s) in /boot:  initramfs-linux-lts-fallback.img
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 be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
/usr/lib/os-probes/50mounted-tests: line 72: 366628 Segmentation fault      (core dumped) grub-mount "$partition" "$tmpmnt" 2> /dev/null
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
Detecting snapshots ...

/usr/lib/os-probes/50mounted-tests: line 72: 366628 Segmentation fault (core dumped) grub-mount "$partition" "$tmpmnt" 2> /dev/null

Any idea ?

cheers

Well it seems you are not the only one:

1 Like

Thanks!!! I did search it the other day, but couldn’t find anything…

so I did downgrade for the moment (from pacman cache)

$ yay -U file:///var/cache/pacman/pkg/grub-2:2.12-2-x86_64.pkg.tar.zst

loading packages...
warning: downgrading package grub (2:2.12.r226.g56ccc5ed-1 => 2:2.12-2)
resolving dependencies...
looking for conflicting packages...

Packages (1) grub-2:2.12-2

indeed followed by (in my case)

$ sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=EndeavourOS-grub

and

sudo grub-mkconfig -o /boot/grub/grub.cfg

We’ll see if the bug is corrected mainstream (it’s been tracked) before using a workaround (and in my case it would probably be so much more convenient (and clever) to just get rid of os-prober)

Cheers !

1 Like

I didn’t have this issue updating grub on any of my dual boot hardware. But then again i may have os-prober disabled. Windows is already in my grub menu so no need to find it again.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.