I've had a dual boot windows 10-Ubuntu for a couple of months, and yesterday out of nowhere i saw that i can't boot into my Windows. Grub is not detecting it.
Over this months i had similar problems, but running
sudo update-grub
and with help of boot repair, i was able to fix those problems. But now it is different, running boot repair, an error message appears saying:
LegacyWindows detected. Please enable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware, and use this software from a live-CD (or live-USB).
The thing is, when I installed ubuntu, I checked that it was with the same boot method as Windows (both on UEFI, i think). Otherwise, the dual boot would never have been able to work all of this time.
Here's a list of things that I already tried:
- Running sudo update-grub
- Running repair boot
- Check if fast boot and secure boot are disabled in my BIOS
- Disabling CSM in my BIOS
And nothing worked.
The folder /sys/firmware/efi/ exists in my Ubuntu, so I assume that now is on UEFI mode. Running sudo os-prober
returns nothing (even with all of the disks mounted).
I'm pretty noob with ubuntu, sorry if I said something dumb. Can Windows turn into Legacy boot out of nowhere?. I generated a paste bin from boot repair, in case that may help:
https://paste.ubuntu.com/p/Vq3HnH9xSS/