I have installed Windows OS in UEFI and Ubuntu in Legacy.
After some time I got an error when I tried to boot in Ubuntu.
error: unknown filesystem. grub rescue> _ grub rescue>
I solved this issue - unknown filesystem, grub rescue
set root=(hd0,gpt7) set prefix=(hd0,gpt7)/boot/grub insmod normal normal
But when I tried to reinstall Grub using
sudo grub-install /dev/sda
Error : -
grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won’t be possible.
After that I created a partition using
parted /dev/sda set 1 bios_grub on
and installed grub using
And that's when the problem started. When I tried to boot into Windows in UEFI mode following error appears:
No boot device found press any key to reboot machine.
What should I do ?