I need some help with my dual boot. It shows a black screen with error: invalid EFI file path
when I try to boot Windows from the grub menu. Though the invalid EFI file path is a common problem, I couldn't solve it. I'm currently using Windows 10 Home which is in legacy BIOS mode. All the disks are in MBR partition.
I started to do an online programming course that required me to dual boot Ubuntu, so I tried to install Ubuntu. I have a separate SSD for Windows and Ubuntu, both in MBR partition. After installing Ubuntu I couldn't find Windows in the grub menu. Then I searched online and tried to install Boot-Repair in Ubuntu, but an error occurred and asked me to install manually (dpkg was interrupted).
Then I again booted from the Ubuntu live USB and selected Try Ubuntu and then ran Boot-Repair. It worked and now I can see the Windows 10 option in the grub menu, but then this error comes up - error: invalid EFI file path
.
Another thing is that Ubuntu SSD went from MBR to GPT partition after installation. My guess is that Ubuntu is now installed in UEFI mode. Is there any way to do the whole thing in Legacy BIOS mode? My BIOS has 2 options related to legacy mode and UEFI.
- Storage Boot Option Control (which is set to Legacy in the below BIOS screen)
- Other PCI devices (which is set to UEFI)
BIOS:
error: invalid EFI file path:
sudo update-grub
, this should add Windows to Ubuntu's boot menu. When booting the Ubuntu drive you will be given a choice to boot Ubuntu or Windows.