I’ve updated today my manjaro KDE install (btrfs) and os-prober took 3:20 minutes to complete. Before today it took only few seconds. I have 2 more disks in my PC, one with a second manjaro install and the other with Windows 10. Is that normal?
It can take time depending on how many disks, partitions or subvolumes you have. Note that the os-prober will mount every partition or subvolume and search for boot files.
I run this:
time sudo update-grub &>/dev/null
Result:
sudo update-grub &> /dev/null 2.20s user 1.26s system 39% cpu 8.718 total
megavot is right. I have Manjaro, Garuda, Arch, and Xero installed and in each of them OS-Prober takes a while. I assumed it was cause it was because of everything it has to look at in each OS.