So, I installed Manjaro with my bios in Legacy and installed Windows 10 with bios in UEFI
So, when I wanted to switch between OS I just changed the bios.
A few days ago I tried a new OS (PrimeOS) and had to install it in UEFI... But when I went to the bios and switched to Legacy, I couldn't boot Manjaro anymore
Picture of Grub Rescue
I'm on a Manjaro live USB right now, I tried tutorials from this forum and others, but can't install Grub.
Here's a Gparted screenshot (don't know if it's relevant though)
Manjaro is installed in /dev/sda5
It was without flags, so I tried with
"bios_grub", "boot & esp", "legacy_boot" and "msftdata" but none worked
What can I do to get grub to show up again?