This week I deleted my Manjaro partition using Windows (the /) and now I can’t boot to EndeavourOS, using Manjaro’s GRUB nor EndeavourOS’ GRUB. I can only boot to Windows. GRUB says “Filesystem unknown”. Any ideas on how to solve this?
[root@archiso /]# os-prober
/dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
[root@archiso /]# grub-mkconfig -o /boot/grub/grub.cfg
/usr/bin/grub-mkconfig: line 248: /boot/grub/grub.cfg.new: No such file or directory
[root@archiso /]#
Did you arch-chroot first and mount the proper drives?
Edit: You have to boot on the live ISO and follow the instructions in the first one to arch-chroot and mount the drives on the installed system then follow the UEFI instructions to reinstall grub.
Well that’s up to you but this will teach you how to repair your system when this happens or something else that you need to arch-chroot to be able to install something. It would be a good exercise for learning.