O
O
ObehanProger2020-03-10 11:26:36
GRUB
ObehanProger, 2020-03-10 11:26:36

Why doesn't GRUB find Windows?

Xubuntu (disk partition contains uefi partition) and Windows 10 (with non-UEFI MBR partition) are installed on two separate physical disks. When you enter the command sudo update-grub does not find windows. Windows OS was found in grub Customizer after editing /etc/grub.d/custom_40 file:

menuentry "Windows 10" {
insmod ntfs
set root='(hd1,XXXXXXXXX)'
search --no-floppy --fs-uuid --set XXXXXXXXX
chainloader +1
}

The OS selection menu appears on boot, but when Windows is selected, it says:
Ошибка: invalid efi file path
sudo os-prober does not help.
It used to be possible to find both OSes with sudo update-grub when Ubuntu was installed without a uefi partition. How to fix this situation safely without reinstalling systems?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Gasai, 2020-03-10
@gasaichan

Both OSes must boot either through EFI or without, otherwise GRUB will not see Windows.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question