Error when trying to remove duplicate grub entries

I received this error when using ujust regenerate-grub or ujust configure-grub:
Generating grub configuration file ...
mount: /var/lib/os-prober/mount: fsconfig system call failed: No such  file or directory.
dmesg(1) may have more information after failed mount system call.
Found Windows Boot Manager on /dev/nvme0n1p1@/efi/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
done

Any ways to solve this issue?
Was this page helpful?