so this is quite a long story, but I will try and keep it short.
Firstly I have a dual boot setup with Windows on one drive and Manjaro on another drive. I was using grub as boot manager and to switch between the systems
My Windows installation was essentially broken, so I did a fresh install. Everything went well, I was able to start Windows.
Installing Windows ofc breaks grub, so I reinstalled grub following the usual guide. Again everything went well, but after restarting and selecting Windows in grub, I got a BSOD. After a bit of reseach I found out that I somehow installed Windows in UEFI mode, but that Manjaro was installed in Legacy mode.
I tried to reinstall Windows in Legacy mode, but failed due to some issue I couldn’t solve. So instead I decided to switch Manjaro from Legacy to UEFI following this guide. Ofc I had to change the partition table of the drive Manjaro was installed on, but that didn’t cause any trouble.
Now after installing grub, there should have been the option to select it in the BIOS, but that was not the case.
So I installed refind (see this issue) and I am able to select refind in my BIOS, but it seems like refind is not able to detect Manjaro. I can boot into Windows using refind just fine.
I hope guys can help me with this. If you need the output of a tool, please let me know.
but it was in legacy mode before you messed up things?
boot into manjaro live iso and provide: lsblk -f sudo parted -l test -d /sys/firmware/efi && echo efi || echo bios
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.15-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.10-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.10-x86_64.img
Found initrd fallback image: /boot/initramfs-5.10-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.4-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.4-x86_64.img
Found initrd fallback image: /boot/initramfs-5.4-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.15-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.15-x86_64.img
Found initrd fallback image: /boot/initramfs-5.15-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.10-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.10-x86_64.img
Found initrd fallback image: /boot/initramfs-5.10-x86_64-fallback.img
Found linux image: /boot/vmlinuz-5.4-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.4-x86_64.img
Found initrd fallback image: /boot/initramfs-5.4-x86_64-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.
ERROR: mkdir /var/lock/dmraid
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.
Adding boot menu entry for UEFI Firmware Settings ...
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
the mkinit command should be run after you reinstalled grub not before…
so if you start your pc into what os does it boot?
also you said that you installed windows and windows worked normally, so did you disabled fastboot in windows?